* MODULES.html.sh: Add copy-file-range.
* lib/copy-file-range.c, m4/copy-file-range.m4:
* modules/copy-file-range: New files.
* lib/unistd.in.h (copy_file_range): Declare.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS):
Set up GNULIB_COPY_FILE_RANGE and HAVE_COPY_FILE_RANGE.
* modules/unistd (unistd.h): S
* lib/copy-file.c: Do not include xalloc.h.
(qcopy_file_preserving): Allocate a buffer only if
copy_file_range does not suffice. If the allocation fails
don't give up; just use a small stack-based buffer.
Prefer copy_file_range if it works.
* modules/copy-file (Depends-on): Add copy-file-range.
Re
Hi guys!
> Le 25 mai 2019 à 09:36, Akim Demaille a écrit :
>
> commit de38c305491dfd68e48cc29ffedb88bf526d51bf
> Author: Akim Demaille
> Date: Tue Apr 30 08:01:14 2019 +0200
>
>argmatch: add support to generate the usage message
>
>* lib/argmatch.c: Move some #includes and gettext s
From: Nikita Ermakov
- Update comments to correspond closed glibc bug #21542.
- In case of failed _SC_NPROCESSORS_CONF use the maximum between
nprocs_current and nprocs to meet the requirements of
num_processors (NPROC_ALL) >= num_processors (NPROC_CURRENT).
---
lib/nproc.c | 22 +++
- Update comments to correspond closed glibc bug #21542.
- In case of failed _SC_NPROCESSORS_CONF use the maximum between
nprocs_current and nprocs to meet the requirements of
num_processors (NPROC_ALL) >= num_processors (NPROC_CURRENT).
---
lib/nproc.c | 22 +++---
1 file cha