|
c66dba9b
|
2018-04-28T16:37:50
|
|
bootstrap: Avoid gnulib operations if not needed
* build-aux/bootstrap: Remove unused variable gnulib_mk.
Set $gnulib_extra_files early so it can be overridden in .conf.
Remove redundant --import flag from $gnulib_tool_options.
Set $use_gnulib to false if no gnulib modules or files are needed.
If $use_gnulib is false, don't do anything related to gnulib.
A lot of this is just whitespace (indentation) changes.
|
|
36999acc
|
2018-04-27T22:29:48
|
|
manywarnings: port to GCC 8.0
* build-aux/gcc-warning.spec: Add -Wcatch-value,
-Wclass-memaccess, -Wdo-subscript, -Wextra-semi. Adjust to the
fact that the GCC help message now mentions operands for
-Warray-bounds, -Wformat, -Wformat-overflow, -Wformat-truncation,
-Wimplicit-fallthrough, -Wplacement-new, -Wshift-overflow,
-Wstrict-aliasing, -Wstrict-overflow, -Wstringop-overflow,
and -Wunused-const-variable.
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Add -Wattribute-alias,
-Wcast-align=strict, -Wcast-function-type, -Wif-not-aligned,
-Wmissing-attributes, -Wmultistatement-macros,
-Wpacked-not-aligned, -Wsizeof-pointer-div, -Wstringop-truncation,
-Wsuggest-attribute=cold, -Wsuggest-attribute=malloc.
|
|
37efd1c5
|
2018-04-24T20:04:05
|
|
sys_socket: Make SO_REUSEPORT available across platforms.
Reported by Tom G. Christensen <tgc@jupiterrise.com>.
* lib/sys_socket.in.h (SO_REUSEPORT): New macro.
* doc/posix-headers/sys_socket.texi: Mention the issue.
* tests/test-poll.c (SO_REUSEPORT): Remove.
* tests/test-select.h: Include <sys/socket.h>.
(SO_REUSEPORT): Remove.
* modules/select-tests (Depends-on): Add 'sys_socket'.
|
|
652a68a1
|
2018-04-24T08:09:57
|
|
autoupdate
|
|
214bf852
|
2018-04-21T11:08:08
|
|
localcharset: short-circuit the search for an alias on a Mac
* lib/localcharset.c (get_charset_aliases): Add a tautological
UTF-8 entry to speed up the search for this case.
Most machines default to a UTF-8 locale nowadays, so begin the
list of aliases with a dummy UTF-8 entry so it will be found
immediately and a time-consuming search through the rest of
the list is avoided.
|
|
ba54e151
|
2018-04-16T08:20:53
|
|
autoupdate
|
|
1b47cef6
|
2018-04-11T16:27:03
|
|
fts: add comment
* lib/fts.c (fts_build): Explain why ==, not >.
See remark by Bernhard Voelker in:
https://lists.gnu.org/r/bug-gnulib/2018-04/msg00041.html
|
|
81b8c0d3
|
2018-04-11T12:50:35
|
|
fts: fix bug in find across filesystems
This fixes a bug I introduced last summer.
Problem reported by Kamil Dudka in:
https://lists.gnu.org/r/bug-gnulib/2018-04/msg00033.html
* lib/fts.c (filesystem_type, dirent_inode_sort_may_be_useful)
(leaf_optimization):
New arg for file descriptor. All callers changed.
(fts_build): Check for whether inodes should be sorted
before closing the directory.
|
|
5cebd865
|
2018-04-07T19:36:33
|
|
Fix last ChangeLog entry.
|
|
8f9b7b4f
|
2018-04-07T19:32:31
|
|
unicase/u*-context: Fix link errors with libunistring <= 0.9.9.
Reported by Genki Sky <sky@genki.is>.
* modules/unicase/u8-prefix-context (configure.ac): Require libunistring
version 0.9.10 or newer.
* modules/unicase/u8-suffix-context (configure.ac): Likewise.
* modules/unicase/u16-prefix-context (configure.ac): Likewise.
* modules/unicase/u16-suffix-context (configure.ac): Likewise.
* modules/unicase/u32-prefix-context (configure.ac): Likewise.
|
|
5ffa632b
|
2018-04-07T19:18:59
|
|
execute: Update comment.
* lib/execute.h (execute): Refer to spawn-pipe.h, not pipe.h.
|
|
2e53df54
|
2018-04-05T08:48:01
|
|
fts: treat CIFS like NFS
Problem reported by Kamil Dudka in:
https://lists.gnu.org/r/bug-gnulib/2018-04/msg00015.html
* lib/fts.c (S_MAGIC_CIFS): New macro.
(dirent_inode_sort_may_be_useful, leaf_optimization):
Treat CIFS like NFS.
|
|
b665c3e2
|
2018-03-28T22:43:04
|
|
c-stack: Fix possible build failure on some platforms.
* lib/c-stack.c (die): Define whenever this function is referenced.
|
|
ad52c652
|
2018-03-28T12:45:45
|
|
time_rz: fix workaround for Mac OS X 10.6 infloop
Problems reported by Charles A. Roelli (Bug#27736#117).
* m4/time_rz.m4 (gl_TIME_RZ): Use a slightly different timestamp.
Also, discard output, which clutters the 'configure' log.
|
|
f5f067f8
|
2018-03-27T18:20:18
|
|
havelib: port to Solaris 10 /bin/sh
* m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Use 'test ! EXPR'
instead of '! test EXPR'.
|
|
96caee5e
|
2018-03-26T19:23:33
|
|
time_rz: work around Mac OS X 10.6 infloop
* doc/posix-functions/localtime.texi:
* doc/posix-functions/localtime_r.texi: Mention the bug.
* lib/time_rz.c (localtime_rz): Work around the bug. It’d be
better to fix localtime and localtime_r instead, but that would be
more work and is not needed to fix the Emacs problem.
* m4/time_rz.m4 (gl_TIME_RZ): Detect the bug.
|
|
8326a2e5
|
2018-03-24T09:48:47
|
|
test-version-etc.sh: don't use diff directly: use init.sh's compare
We'd rather not sacrifice readable "diff -u" output even for
"diff -c" output (not supported by busybox) or for even less
readable ed-style "diff" output. So use init.sh's compare function
* tests/test-version-etc.sh: Source init.sh and add "." to path.
Remove "./" from invocation of test-version-etc, so we use path.
And s/diff/compare/.
* modules/version-etc-tests (Depends-on): Add test-framework-sh,
to get init.sh.
Prompted by Eric Blake's comments in
https://lists.gnu.org/r/sed-devel/2018-03/msg00015.html
|
|
8e33103c
|
2018-03-24T13:16:21
|
|
javacomp-script, javacomp: Add support for Java 10.
* m4/javacomp.m4 (gt_JAVACOMP): Accept source-version 10 and
target-version 10.
* lib/javaversion.h: Update comments.
* lib/javacomp.c (default_target_version, SOURCE_VERSION_BOUND,
source_version_index, get_goodcode_snippet, get_failcode_snippet,
TARGET_VERSION_BOUND, target_version_index,
corresponding_classfile_version): Accept source_version 10 and
target_version 10.
* lib/javacomp.h: Update comments accordingly.
|
|
e6cf0b30
|
2018-03-24T12:55:42
|
|
javacomp-script, javacomp: Update comments.
* m4/javacomp.m4: Update comments regarding gcj.
* lib/javacomp.h: Likewise.
|
|
2d3dd35c
|
2018-03-24T12:54:42
|
|
javacomp-script, javacomp: Fix support for Java 7, 8, 9.
* lib/javaversion.h: Update comments.
* lib/javacomp.h: Likewise.
* lib/javacomp.c (default_target_version, source_version_index,
get_goodcode_snippet, get_failcode_snippet): Recognize "9" instead of
"1.9".
(TARGET_VERSION_BOUND): Bump to 9.
(target_version_index, corresponding_classfile_version): Recognize "9"
instead of "1.9".
(get_source_version_for_javac): New function.
(is_envjavac_nongcj_usable, is_javac_usable): Add
source_version_for_javac argument.
(compile_java_class): Determine and pass source_version_for_javac.
* m4/javacomp.m4: Recognize version '9' instead of '1.9'. When invoking
$JAVAC or javac, pass '-source 1.6' instead of '-source 1.5' when
appropriate.
|
|
70a913d7
|
2018-03-23T16:46:13
|
|
test-version-etc.sh: port to diff without -c
* tests/test-version-etc.sh: Don't use diff's -c option.
This caused spurious test failure on Alpine Linux, which
uses busybox's diff. Reported by Assaf Gordon in
https://lists.gnu.org/r/sed-devel/2018-03/msg00013.html
|
|
db07e5d2
|
2018-03-23T11:26:15
|
|
c-stack: port to recent GCC build
Problem reported by The Fireplace (Bug#30913).
* lib/c-stack.c (die): Define only if used.
|
|
66ae2f35
|
2018-03-20T08:37:44
|
|
euidaccess: Port to native Windows.
* lib/euidaccess.c (euidaccess): On native Windows, just use _access().
* posix-modules (exclude_for_mingw): Remove 'euidaccess'.
|
|
206a83e4
|
2018-03-20T00:39:01
|
|
javacomp: Add support for Java 7, 8, 9.
* lib/javacomp.c (default_target_version, SOURCE_VERSION_BOUND,
source_version_index, get_goodcode_snippet, get_failcode_snippet,
corresponding_classfile_version): Accept source_version 1,7, 1.8, 1.9
and target_version 1,7, 1.8, 1.9.
* lib/javacomp.h: Update comments accordingly.
|
|
aec2f3c6
|
2018-03-20T00:33:19
|
|
javacomp-script: Add support for Java 9.
* m4/javacomp.m4 (gt_JAVACOMP): Accept source-version 1.9 and
target-version 1.9.
|
|
4c1bdbf9
|
2018-03-17T21:07:51
|
|
Spelling fix
|
|
a96f69a5
|
2018-03-16T16:25:02
|
|
glob: Don't compile replacements on recent glibc systems.
* lib/glob.in.h: Use the usual idiom for the double-inclusion guard. If
REPLACE_GLOB is 0, include the system's <glob.h> and use
_GL_CXXALIAS_SYS.
* m4/glob.m4 (gl_GLOB): Set REPLACE_GLOB instead of GLOB_H. Accept
_GNU_GLOB_INTERFACE_VERSION 2 as well. Delete the file conf$$-globtest
inside the AC_RUN_IFELSE block. Remove GL_GENERATE_GLOB_H conditional.
* modules/glob (Dependencies): Test REPLACE_GLOB instead of GLOB_H.
Remove snippet/warn-on-use.
(configure.ac): Test REPLACE_GLOB instead of GLOB_H.
(Makefile.am): Create glob.h always. Update list of substitutions in
glob.h. Don't depend on $(WARN_ON_USE_H).
|
|
e9866b99
|
2018-03-16T14:05:42
|
|
glob: Fix link error on native Windows.
* modules/glob (Depends-on): Add 'lstat'.
|
|
74bc3e8b
|
2018-03-15T23:56:03
|
|
glob: Fix compilation error in C++ mode.
* lib/glob.in.h (_Restrict_): Define, like in regex.h and spawn.in.h.
|
|
67c6415e
|
2018-03-15T22:26:09
|
|
host-cpu-c-abi: Support for RISC-V CPU.
* m4/host-cpu-c-abi.m4 (gl_HOST_CPU_C_ABI): Recognize the various
riscv32 and riscv64 ABIs.
References:
https://github.com/riscv/riscv-toolchain-conventions
https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/RISC-V-Options.html
https://gnu-mcu-eclipse.github.io/toolchain/riscv/
|
|
1808863c
|
2018-03-13T08:53:44
|
|
autoupdate
|
|
b2e6ae46
|
2018-03-12T13:40:45
|
|
autoupdate
|
|
d6397dde
|
2018-03-11T19:01:28
|
|
autoupdate
|
|
727f544e
|
2018-03-11T14:42:07
|
|
autoupdate
|
|
74d9d6a2
|
2018-03-08T16:42:45
|
|
fflush: be more paranoid about libio.h change
Suggested by Eli Zaretskii in:
https://lists.gnu.org/r/emacs-devel/2018-03/msg00270.html
* lib/fbufmode.c (fbufmode):
* lib/fflush.c (clear_ungetc_buffer_preserving_position)
(disable_seek_optimization, rpl_fflush):
* lib/fpending.c (__fpending):
* lib/fpurge.c (fpurge):
* lib/freadable.c (freadable):
* lib/freadahead.c (freadahead):
* lib/freading.c (freading):
* lib/freadptr.c (freadptr):
* lib/freadseek.c (freadptrinc):
* lib/fseeko.c (fseeko):
* lib/fseterr.c (fseterr):
* lib/fwritable.c (fwritable):
* lib/fwriting.c (fwriting):
Look at _IO_ftrylockfile as well as at _IO_EOF_SEEN.
|
|
53b73d9e
|
2018-03-07T17:26:25
|
|
autoupdate
|
|
8f0766eb
|
2018-03-07T16:44:58
|
|
autoupdate
|
|
cd1f102c
|
2018-03-07T11:45:17
|
|
autoupdate
|
|
db0b059a
|
2018-03-07T00:29:38
|
|
maint: write-file-hooks -> before-save-hook
write-file-hooks is obsolete since Emacs 22.1 (released June 2007) and
it's time to use the recommended replacement.
Problem reported by Glenn Morris in:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00008.html
* build-aux/announce-gen, build-aux/bootstrap:
* build-aux/do-release-commit-and-tag, build-aux/gendocs.sh:
* build-aux/git-version-gen, build-aux/gitlog-to-changelog:
* build-aux/gnu-web-doc-update, build-aux/gnupload:
* build-aux/move-if-change, build-aux/prefix-gnulib-mk:
* build-aux/update-copyright, build-aux/useless-if-before-free:
* build-aux/vc-list-files:
Update hook usage for files where Gnulib is the canonical source.
|
|
b98b09e2
|
2018-03-06T20:29:14
|
|
autoupdate
|
|
59e59d99
|
2018-03-05T15:30:56
|
|
binary-io: pacify gcc -Wunused-parameter
Problem reported by Reuben Thomas in:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00005.html
* lib/binary-io.h (__gl_setmode, __gl_setmode_check):
Use _GL_UNUSED where appropriate.
|
|
4af4a4a7
|
2018-03-05T10:56:29
|
|
fflush: adjust to glibc 2.28 libio.h removal
Problem reported by Daniel P. Berrangé in:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html
* lib/fbufmode.c (fbufmode):
* lib/fflush.c (clear_ungetc_buffer_preserving_position)
(disable_seek_optimization, rpl_fflush):
* lib/fpending.c (__fpending):
* lib/fpurge.c (fpurge):
* lib/freadable.c (freadable):
* lib/freadahead.c (freadahead):
* lib/freading.c (freading):
* lib/freadptr.c (freadptr):
* lib/freadseek.c (freadptrinc):
* lib/fseeko.c (fseeko):
* lib/fseterr.c (fseterr):
* lib/fwritable.c (fwritable):
* lib/fwriting.c (fwriting):
Check _IO_EOF_SEEN instead of _IO_ftrylockfile.
* lib/stdio-impl.h (_IO_IN_BACKUP) [_IO_EOF_SEEN]:
Define if not already defined.
|
|
0404c9ae
|
2018-03-01T08:26:50
|
|
autoupdate
|
|
46124937
|
2018-02-28T11:09:30
|
|
autoupdate
|
|
e6aa5786
|
2018-02-27T09:04:42
|
|
environ: fix link error on 32-bit Cygwin
Problem reported for GNU Emacs by Ken Brown in:
https://lists.gnu.org/r/emacs-devel/2018-02/msg00765.html
* lib/unistd.in.h (environ) [__i386__]: Do not redeclare.
|
|
0bec5d56
|
2018-02-26T08:32:38
|
|
autoupdate
|
|
613ab49e
|
2018-02-25T01:56:35
|
|
mbrtowc tests: Fix regression on glibc.
Reported by Bernhard Voelker.
* tests/test-mbrtowc.c (main): Fix expected value of wc.
|
|
ce83a514
|
2018-02-24T08:55:16
|
|
autoupdate
|
|
4ce79717
|
2018-02-24T15:21:11
|
|
striconveha, uniconv/*: Avoid test failures on musl libc.
* tests/iconvsupport.c: New file.
* tests/test-striconveha.c (main): Skip autodetect_jp tests if iconv()
does not support the ISO-2022-JP-2 encoding.
* tests/uniconv/test-u8-conv-from-enc.c (main): Likewise.
* tests/uniconv/test-u8-strconv-from-enc.c (main): Likewise.
* tests/uniconv/test-u16-conv-from-enc.c (main): Likewise.
* tests/uniconv/test-u16-strconv-from-enc.c (main): Likewise.
* tests/uniconv/test-u32-conv-from-enc.c (main): Likewise.
* tests/uniconv/test-u32-strconv-from-enc.c (main): Likewise.
* modules/striconveha-tests (Files): Add tests/iconvsupport.c.
(Makefile.am): Link test-striconveha with iconvsupport.o.
* modules/uniconv/u8-conv-from-enc-tests (Files): Add
tests/iconvsupport.c.
(Makefile.am): Link test-u8-conv-from-enc with iconvsupport.o.
* modules/uniconv/u8-strconv-from-enc-tests (Files): Add
tests/iconvsupport.c.
(Makefile.am): Link test-u8-strconv-from-enc with iconvsupport.o.
* modules/uniconv/u16-conv-from-enc-tests (Files): Add
tests/iconvsupport.c.
(Makefile.am): Link test-u16-conv-from-enc with iconvsupport.o.
* modules/uniconv/u16-strconv-from-enc-tests (Files): Add
tests/iconvsupport.c.
(Makefile.am): Link test-u16-strconv-from-enc with iconvsupport.o.
* modules/uniconv/u32-conv-from-enc-tests (Files): Add
tests/iconvsupport.c.
(Makefile.am): Link test-u32-conv-from-enc with iconvsupport.o.
* modules/uniconv/u32-strconv-from-enc-tests (Files): Add
tests/iconvsupport.c.
(Makefile.am): Link test-u32-strconv-from-enc with iconvsupport.o.
|
|
ddd23eb8
|
2018-02-24T12:59:59
|
|
localename: Add support for musl libc.
* m4/localename.m4 (gl_LOCALENAME): Check for <langinfo.h>.
* lib/localename.c (gl_locale_name_thread_unsafe): Use NL_LOCALE_NAME
on Linux platforms which define NL_LOCALE_NAME.
|
|
d9ff660d
|
2018-02-24T12:01:30
|
|
mbrtowc tests: Don't make assumptions about the charset the C locale.
* tests/test-mbrtowc.c (main): For bytes >= 0x80, don't assume a
particular mapping in the C locale.
|
|
26298129
|
2018-02-24T10:53:24
|
|
ptsname_r: Don't expect that this function sets errno.
* tests/test-ptsname_r.c (test_errors): Don't test errno after return
from ptsname_r().
* doc/glibc-functions/ptsname_r.texi: Mention the issue.
|
|
9ce5bc49
|
2018-02-24T01:33:35
|
|
xmalloca: pacify gcc -Wbad-function-cast
* lib/xmalloca.h (xmalloca): Insert intermediate cast here as well.
|
|
88cfbe67
|
2018-02-23T13:15:24
|
|
nl_langinfo: pacify gcc -Wunused-function
* lib/nl_langinfo.c (ctype_codeset): Do not define if
REPLACE_NL_LANGINFO && !GNULIB_defined_CODESET, as it is unused in
this case. Without this change, I got a diagnostic when building
coreutils on Fedora 27 with gcc 7.3.1 20180130.
|
|
1c488d9f
|
2018-02-23T12:52:42
|
|
same: pacify gcc -Wunused-variable
* lib/same.c (same_nameat) [!CHECK_TRUNCATION]:
Omit unused variable.
|
|
af6bc384
|
2018-02-23T12:47:38
|
|
malloca: pacify gcc -Wbad-function-cast
* lib/malloca.h (malloca): Pacify gcc -Wbad-function-cast
diagnostic that I got on Fedora 27 with gcc 7.3.1 20180130.
To pacify GCC, I had to cast alloca’s result to some type other
than void * before casting that to uintptr_t.
|
|
4d5f908f
|
2018-02-22T07:43:48
|
|
autoupdate
|
|
a4d64c00
|
2018-02-20T09:06:51
|
|
utimecmp: new function utimecmpat
* lib/utimecmp.c: Include fcntl.h, sys/stat.h and dirname.h.
Do not include utimens.h.
(utimecmpat): New function, generalizing utimecmp.
(utimecmp): Now a thin layer around utimecmpat.
* modules/utimecmp (Depends-on): Depend on dirname-lgpl, fstatat,
utimensat instead of on lstat and utimens.
|
|
d50980dd
|
2018-02-20T09:05:48
|
|
same: new function same_nameat
* lib/same.c: Include fcntl.h.
* lib/same.c (same_nameat): New function, generalizing same_name.
(same_name): Now a thin layer around same_nameat.
* m4/same.m4 (gl_SAME): Check for fpathconf, not pathconf.
* modules/same (Depends-on): Depend on fstatat, openat.
|
|
2f494b70
|
2018-02-18T15:41:09
|
|
warnings: Add support for Objective C.
* m4/warnings.m4 (gl_UNKNOWN_WARNINGS_ARE_ERRORS(Objective C)): New
macro.
|
|
3b1e0bcd
|
2018-02-17T10:23:35
|
|
lock: Fix test-once1 crash on FreeBSD11.
* lib/glthread/lock.h: On FreeBSD, test the weak value of the symbol
'pthread_create', not 'pthread_cancel'.
|
|
a798733d
|
2018-02-17T10:05:01
|
|
lock: Add test of gl_once.
* tests/test-once.c: New file.
* modules/lock-tests (Files): Add it.
(Makefile.am): Build and test programs 'test-once1' and 'test-once2'.
|
|
67489d76
|
2018-02-17T09:55:43
|
|
thread: Fix compilation error on IRIX.
* lib/glthread/thread.h: Include <unistd.h>. Include <signal.h> when
needed; include it outside the C++ extern "C" {} block.
* doc/posix-headers/pthread.texi: Mention the problem with
pthread_atfork on IRIX.
|
|
646a44e1
|
2018-02-04T11:00:38
|
|
nl_langinfo: Override the system's nl_langinfo() when needed.
Reported by Jim Meyering.
* m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): Set REPLACE_NL_LANGINFO=1
also when HAVE_LANGINFO_T_FMT_AMPM or HAVE_LANGINFO_ALTMON is 0.
|
|
d9f3d91f
|
2018-02-04T10:42:45
|
|
signal-h, monetary, strings: Fix build failure in some cases.
Reported by Tim Rühsen <tim.ruehsen@gmx.de>.
* modules/signal-h (Makefile.am): In the GNULIB_* substitutions, use '/'
as delimiter in sed command, not '|'.
* modules/monetary (Makefile.am): Likewise.
* modules/strings (Makefile.am): Likewise.
|
|
67f682f1
|
2018-02-03T16:57:36
|
|
maint.mk: exempt "/proc/filesystems" from "file system" syntax check
* top/maint.mk (sc_file_system): Don't complain about
"/proc/filesystems".
|
|
ab4b1f3d
|
2018-02-03T14:05:45
|
|
stdlib: Fix compilation error on OpenIndiana.
* lib/stdlib.in.h: Before including <sys/loadavg.h>, include
<sys/time.h>.
* m4/stdlib_h.m4 (gl_STDLIB_H): Likewise.
* m4/getloadavg.m4 (gl_GETLOADAVG): Likewise.
|
|
e0178711
|
2018-02-03T12:50:17
|
|
host-cpu-c-abi: Avoid use of 'grep -E' on OpenIndiana.
* m4/asm-underscore.m4 (gl_ASM_SYMBOL_PREFIX): Require AC_PROG_EGREP,
and use $EGREP instead of 'grep -E'.
* m4/host-cpu-c-abi.m4 (gl_HOST_CPU_C_ABI): Use 'grep' instead of
'grep -E'.
|
|
d6a3b8f0
|
2018-02-03T00:47:15
|
|
malloca: Add a compile-time verification.
* lib/malloca.c (small_t): Verify that it is wide enough.
* modules/malloca (Depends-on): Add verify.
|
|
f0dc63fc
|
2018-02-03T00:32:41
|
|
malloca: Add an argument check.
Suggested by Paul Eggert.
* lib/malloca.c (freea): Check against an invalid argument.
|
|
1cbad88a
|
2018-02-02T21:34:14
|
|
localename: Add support for OpenIndiana.
* lib/localename.c (gl_locale_name_thread_unsafe): Add code for
Solaris 11 variants with uselocale() but without getlocalename_l().
|
|
8a4aa2ec
|
2018-02-02T19:32:02
|
|
malloca, xmalloca: Make multithread-safe.
Reported by Florian Weimer <fweimer@redhat.com>.
Implements an idea by Ondřej Bílka <neleai@seznam.cz>.
* lib/malloca.h (malloca): In the stack allocation case, return a
pointer that is a multiple of 2 * sa_alignment_max.
(sa_increment): Remove enum item.
* lib/xmalloca.h (xmalloca): In the stack allocation case, return
a pointer that is a multiple of 2 * sa_alignment_max.
* lib/malloca.c (NO_SANITIZE_MEMORY): Remove macro.
(MAGIC_NUMBER, MAGIC_SIZE, preliminary_header, HEADER_SIZE, header,
HASH_TABLE_SIZE, mmalloca_results): Remove.
(small_t): New type.
(mmalloca, free): Rewritten.
* lib/malloca.valgrind: Remove file.
* modules/malloca (Files): Remove it.
(Depends-on): Remove verify.
|
|
cf56f8f6
|
2018-01-31T09:04:52
|
|
environ: Fix link error on 64-bit Cygwin.
* lib/unistd.in.h (environ): On Cygwin, redeclare with the
__declspec(dllimport) attribute.
* doc/posix-functions/environ.texi: Mention the Cygwin problem.
|
|
5724e22f
|
2018-01-30T09:05:57
|
|
get-rusage-data: Add support for Minix 3.
* lib/get-rusage-data.c (get_rusage_data): Return 0 on Minix.
|
|
51e57627
|
2018-01-30T09:02:46
|
|
vma-iter: Add support for Minix 3.
* lib/vma-iter.h (VMA_ITERATE_SUPPORTED): Define on Minix.
* lib/vma-iter.c: On Minix, read /proc/<pid>/map.
|
|
d4f6a210
|
2018-01-27T10:57:59
|
|
Fix malfunction of socket functions on HP-UX in 64-bit mode.
* m4/socketlib.m4 (gl_SOCKETLIB): Add comment.
* m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Define
_HPUX_ALT_XOPEN_SOCKET_API.
* modules/accept (Depends-on): Add 'extensions'.
* modules/getpeername (Depends-on): Likewise.
* modules/getsockname (Depends-on): Likewise.
* modules/getsockopt (Depends-on): Likewise.
* modules/recvfrom (Depends-on): Likewise.
* doc/posix-functions/accept.texi: Mention the HP-UX socklen_t problem.
* doc/posix-functions/getpeername.texi: Likewise.
* doc/posix-functions/getsockname.texi: Likewise.
* doc/posix-functions/getsockopt.texi: Likewise.
* doc/posix-functions/recvfrom.texi: Likewise.
|
|
46e7ff4a
|
2018-01-27T08:52:31
|
|
getsockname tests: More tests.
* tests/test-getsockname.c (open_server_socket): New function, mostly
copied from test-poll.c.
(main): Check that getsockname fills in addr.
* modules/getsockname-tests (Depends-on): Add the necessary
dependencies.
(test_getsockname_LDADD): Link with $(INET_PTON_LIB).
|
|
2a7e33d3
|
2018-01-26T18:08:36
|
|
manywarnings: fix maintainer comment
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Fix comment so that
it does not mistakenly think that ‘-1)’ is an option.
|
|
d5b37743
|
2018-01-26T08:52:43
|
|
autoupdate
|
|
703dcf1d
|
2018-01-26T05:51:55
|
|
langinfo: Fix last commit.
Reported by Tim Rühsen <tim.ruehsen@gmx.de>.
* modules/langinfo (Makefile.am): Substitute HAVE_LANGINFO_ALTMON.
|
|
b5d31754
|
2018-01-24T10:02:17
|
|
langinfo, nl_langinfo: Add support for alternative month names.
* m4/langinfo_h.m4 (gl_LANGINFO_H): Define HAVE_LANGINFO_ALTMON.
* lib/langinfo.in.h (ALTMON_1...ALTMON_12): New macros.
* lib/nl_langinfo.c (rpl_nl_langinfo): Treat ALTMON_i like MON_i.
* tests/test-nl_langinfo.c (main): Test ALTMON_*.
* doc/posix-headers/langinfo.texi: Document support of ALTMON_*.
* doc/posix-functions/nl_langinfo.texi: Likewise.
|
|
4a236f16
|
2018-01-23T00:42:04
|
|
Merge strftime.c changes from glibc
This incorporates:
2017-11-14 [BZ #10871] Implement alternative month names
2017-11-14 [BZ #10871] Abbreviated alternative month names (%Ob)
2017-06-20 Use locale_t, not __locale_t, throughout glibc
* lib/nstrftime.c (ABALTMON_1) [!COMPILE_WIDE]: New macro.
(LOCALE_PARAM) [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL]:
Use locale_t, not __locale_t.
(a_altmonth, f_altmonth, aam_len) [_NL_CURRENT]: New macros.
(__strftime_internal): Add support for alternate months.
|
|
d2d6b604
|
2018-01-23T09:15:49
|
|
Fix typo in comment.
* lib/glthread/thread.h: Fix typo.
|
|
c989777f
|
2018-01-23T09:13:13
|
|
doc: Mention another prerequisite for using Gnulib.
Reported at <https://stackoverflow.com/questions/48378214/>.
* doc/gnulib-tool.texi (Initial import): Mention requirement to use
AC_CONFIG_HEADERS.
|
|
7eba4a9a
|
2018-01-22T22:14:55
|
|
build: GuixSD doesn't have /bin/bash
* Makefile (SHELL): Search 'bash' in the PATH environment variable.
|
|
8ed24a18
|
2018-01-22T05:01:48
|
|
Avoid test failures on Microsoft Windows Subsystem for Linux.
* tests/test-fcntl.c (main): Allow a different errno.
* tests/test-rename.h (test_rename): Likewise.
* tests/test-renameat.c (main): Likewise.
* tests/test-renameat2.c (main): Likewise.
|
|
73b4150c
|
2018-01-17T15:09:59
|
|
canonicalize-lgpl: fix typo
Problem reported by Reuben Thomas.
|
|
cf8a0e99
|
2018-01-17T10:09:24
|
|
autoupdate
|
|
68e5abce
|
2018-01-16T09:08:02
|
|
autoupdate
|
|
95d5c272
|
2018-01-15T09:52:48
|
|
autoupdate
|
|
935bf3f7
|
2018-01-14T13:27:20
|
|
filenamecat: make base a suffix of result
* lib/filenamecat-lgpl.c (longest_relative_suffix): Remove.
(mfile_name_concat): Always make BASE a suffix of the result, as
cp expects this. To implement this, separate with '.' instead of
'/' in some rare cases. Clarify spec to say ./BASE not BASE.
* tests/test-filenamecat.c (main): Adjust tests to match
current behavior. Check that BASE_IN_RESULT points to
a copy of BASE and is a suffix of the resultk, and that DIR
is a prefix of the result that is no longer than the prefix
indicated by BASE_IN_RESULT.
|
|
081f5456
|
2018-01-14T09:51:15
|
|
autoupdate
|
|
c43dfcc0
|
2018-01-13T09:04:47
|
|
autoupdate
|
|
2cc990c0
|
2018-01-11T09:05:03
|
|
autoupdate
|
|
84ef6e12
|
2018-01-10T11:03:49
|
|
autoupdate
|
|
16fc1cdc
|
2018-01-05T22:08:14
|
|
maint: Add encoding marker for Emacs to non-ASCII sources.
Similar to commit f406941a8a2ec5fbf3eacc386b9be09d6593d53b
from Paul Eggert <eggert@cs.ucla.edu> 2015-09-24.
To determine the file list that need the marker, I used the command:
for f in `find . -type f | grep -v '^\./\.git/' | grep -v '^\./tests/'`; do
if iconv -f ASCII -t ASCII < $f > /dev/null 2>&1 ; then : ; else
if iconv -f UTF-8 -t UTF-8 < $f > /dev/null 2>&1 ; then
if grep 'The GNU C Library is' $f > /dev/null; then :; else
if grep 'coding: utf-8' $f > /dev/null; then :; else
echo $f
fi
fi
fi
fi
done | LC_ALL=C sort
|
|
c3827a91
|
2018-01-04T15:59:04
|
|
update-copyright: Handle use of ©
* build-aux/update-copyright ($circle_c_re): Update regex to
handle use of © in headers.
|
|
603289ea
|
2018-01-05T09:36:34
|
|
autoupdate
|
|
29c98faf
|
2018-01-03T11:50:07
|
|
Fix -Wundef warning in user-included header lib/cdefs.h.
* lib/cdefs.h: Check if defined before using __USE_FORTIFY_LEVEL.
|
|
b8ecba3a
|
2018-01-04T10:42:21
|
|
pthread_sigmask: Avoid compilation error on mingw.
Reported by Tim Rühsen <tim.ruehsen@gmx.de>.
* lib/signal.in.h (pthread_sigmask): Don't declare it it's defined as a
macro.
|