[PATCH 00/24] Many patches

Alejandro Colomar
2020-09-10T21:15:11Z

Hi Michael,

I have a lot of patches here.
Some of them are trivial, and some of them are not.
I have them sorted by their contents more or less, but if you
prefer completely unrelated email threads for completely unrelated
patches, please tell me.

Cheers,

Alex

Alejandro Colomar (24):
* printf():
inet_net_pton.3: Use 'PRIx32' rather than "%x" when printing
'uint32_t' values
endian.3: Use 'PRIx32' rather than "%x" when printing 'uint32_t'
values
timerfd_create.2: Use 'PRIxN' macros when printing C99 fixed-width
integer types
eventfd.2: Use 'PRIxN' macros when printing C99 fixed-width integer
types
offsetof.3: Use "%zu" rather than "%zd" when printing 'size_t' values
timer_create.2: Cast to 'unsigned long' rathen than 'long' when
printing with "%lx"
request_key.2: Cast to 'unsigned long' rather than 'long' when
printing with "%lx"
add_key.2: Cast to 'unsigned long' rather than 'long' when printing
with "%lx"
* casts:
clock_getcpuclockid.3: Remove unneeded cast
ioctl_ns.2: Remove unneeded cast
stat.2: Remove unneeded cast
* sizeof():
getgrent_r.3: Use sizeof() to get buffer size (instead of hardcoding
macro name)
getpwent_r.3: Use sizeof() to get buffer size (instead of hardcoding
macro name)
fread.3: Move ARRAY_SIZE logic into macro
unix.7: Use sizeof() to get buffer size (instead of hardcoding macro
name)
* types:
getpwent_r.3: Declare variables with different types in different
lines
get_phys_pages.3: Write 'long' instead of 'long int'
core.5: Use adequate type
* trivial patches
pthread_setname_np.3: ffix
loop.4: ffix
* other:
aio.7: Use perror() directly
membarrier.2: Note that glibc does not provide a wrapper
select_tut.2: Use MAX(a, b) from <sys/param.h>
bpf.2: Add missing headers

man2/add_key.2 | 2 +-
man2/bpf.2 | 12 ++++++++++++
man2/eventfd.2 | 4 ++--
man2/ioctl_ns.2 | 10 ++++------
man2/membarrier.2 | 9 +++++++++
man2/request_key.2 | 2 +-
man2/select_tut.2 | 10 ++++------
man2/stat.2 | 4 ++--
man2/timer_create.2 | 4 ++--
man2/timerfd_create.2 | 5 ++---
man3/clock_getcpuclockid.3 | 2 +-
man3/endian.3 | 7 ++++---
man3/fread.3 | 6 +++---
man3/get_phys_pages.3 | 4 ++--
man3/getgrent_r.3 | 2 +-
man3/getpwent_r.3 | 5 +++--
man3/inet_net_pton.3 | 3 ++-
man3/offsetof.3 | 4 ++--
man3/pthread_setname_np.3 | 5 +++--
man4/loop.4 | 2 +-
man5/core.5 | 5 ++---
man7/aio.7 | 6 ++----
man7/unix.7 | 14 +++++++-------
23 files changed, 72 insertions(+), 55 deletions(-)

--
2.28.0