|
a42187c9
|
2017-09-25T18:14:01
|
|
sys_types: update URL
* m4/sys_types_h.m4: Use https: URL.
|
|
4499147b
|
2017-09-25T18:12:06
|
|
parse-datetime: fix dependency
* modules/parse-datetime (Depends-on): Depend
on nstrftime, not strftime.
|
|
619700e1
|
2017-09-25T18:11:25
|
|
parse-datetime, posixtm: avoid uninit access
* lib/parse-datetime.y (parse_datetime2):
* lib/posixtm.c (posixtime):
Do not access uninitialized storage, even though the resulting
value is never used.
|
|
ad8ece88
|
2017-09-25T21:31:25
|
|
vma-iter: Improvements for BSD platforms.
- Add support for GNU/kFreeBSD.
- Make it work on FreeBSD and NetBSD even when /proc is not mounted.
- Speed up on OpenBSD.
* lib/vma-iter.c (struct rofile, rof*): Define also on GNU/kFreeBSD.
(vma_iterate_bsd): New function.
(vma_iterate): Use it as fallback on FreeBSD and NetBSD. Use it as
first choice on OpenBSD. Treat GNU/kFreeBSD like Linux.
* lib/vma-iter.h (VMA_ITERATE_SUPPORTED): Define also on GNU/kFreeBSD.
* modules/vma-iter (configure.ac): Require AC_C_INLINE.
|
|
f969dd52
|
2017-09-24T09:20:14
|
|
autoupdate
|
|
19882ec1
|
2017-09-23T12:22:17
|
|
strfmon_l: New module.
* modules/strfmon_l: New file.
* lib/strfmon_l.c: New file.
* m4/strfmon_l.m4: New file.
* doc/posix-functions/strfmon_l.texi: Mention the new module.
* modules/strfmon_l-tests: New file.
* tests/test-strfmon_l.c: New file.
|
|
b2fc4a43
|
2017-09-23T09:26:48
|
|
monetary: New module.
* modules/monetary: New file.
* lib/monetary.in.h: New file.
* m4/monetary_h.m4: New file.
* doc/posix-headers/monetary.texi: Mention the new module.
* modules/monetary-tests: New file.
* tests/test-monetary.c: New file.
* modules/monetary-c++-tests: New file.
* tests/test-monetary-c++.cc: New file.
* modules/duplocale-tests (configure.ac): Use AC_CHECK_HEADERS_ONCE.
|
|
96335dc0
|
2017-09-23T16:01:33
|
|
duplocale tests: Fix test crash on Linux/x86.
* tests/test-duplocale.c (test_with_uselocale): Disconnect the mixed2
locale from the current thread before freeing it.
|
|
eb128f64
|
2017-09-22T16:10:23
|
|
autoupdate
|
|
afc5fb6e
|
2017-09-21T21:39:59
|
|
mktime: port to OpenVMS
Problem reported by John E. Malmberg in:
https://lists.gnu.org/archive/html/bug-gnulib/2017-09/msg00100.html
* m4/mktime.m4 (TIME_T_IS_SIGNED): Default to 0.
|
|
5b5d60e4
|
2017-09-21T06:57:16
|
|
autoupdate
|
|
29443e0b
|
2017-09-20T16:12:51
|
|
autoupdate
|
|
b86cc86a
|
2017-09-19T01:17:50
|
|
* build-aux/bootstrap: fix HTTPS typo in comment
|
|
8d99d5d1
|
2017-09-17T12:09:34
|
|
m4/manywarnings.m4: fix comment typo: s/reqirs/requires/
|
|
e277cd7c
|
2017-09-16T23:21:43
|
|
manywarnings: port to GCC on 64-bit MS-Windows
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Work better if
LONG_MAX < PTRDIFF_MAX. Problem reported by Richard Copley in:
https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00392.html
|
|
25ca8d5f
|
2017-09-16T17:53:10
|
|
autoupdate
|
|
0c14dac5
|
2017-09-14T13:37:36
|
|
autoupdate
|
|
03eac9d3
|
2017-09-14T00:35:56
|
|
all: Replace many more http URLs by https URLs. Update stale URLs.
* users.txt: Remove mention of 'newts'.
* lib/localename.c: Update comment about LANG_SOTHO.
|
|
b7773f3f
|
2017-09-13T13:27:36
|
|
autoupdate
|
|
ca35d468
|
2017-09-13T00:48:18
|
|
all: prefer https: URLs
|
|
9dd86e23
|
2017-09-13T03:17:45
|
|
doc: Prefer https URLs where possible.
* doc/**/*.texi: Use https URLs instead of http URLs where possible.
* doc/ld-output-def.texi: Remove unavailable URL.
|
|
aab4ea7a
|
2017-09-12T16:36:27
|
|
maintainer-makefile: FTP -> HTTPS
* top/maint.mk (url_dir_list, ftp-gnu): Use HTTPS protocol instead
of FTP, which is planned to be decommissioned on 2017-11-01.
|
|
9d3e8e18
|
2017-09-12T14:27:24
|
|
libc-config: Fix __GNUC_PREREQ macro.
* lib/libc-config.h (__GNUC_PREREQ): Use __GNUC_MINOR__, not
__GNUC_MINOR.
|
|
07a187be
|
2017-09-09T14:40:10
|
|
gnulib-tool.py: follow gnulib-tool changes, part 14
Follow gnulib-tool change
2015-08-20 Daiki Ueno <ueno@gnu.org>
gnulib-tool: don't transform binary files with sed
|
|
2f0f4bea
|
2017-09-09T14:18:56
|
|
gnulib-tool.py: follow gnulib-tool changes, part 13
Follow gnulib-tool change
2015-06-01 Pádraig Brady <P@draigBrady.com>
gnulib-tool: concatenate lib_SOURCES to a single line
|
|
b880b7c9
|
2017-09-09T14:16:35
|
|
gnulib-tool.py: Keep substitution order like in gnulib-tool.
This should be a no-op change. Just for easier parallel maintenance
with gnulib-tool.
|
|
0f23f389
|
2017-09-09T12:48:58
|
|
gnulib-tool.py: Define and use two new global functions.
* pygnulib/constants.py (remove_backslash_newline, combine_lines): New
functions.
|
|
d568af95
|
2017-09-09T12:27:40
|
|
gnulib-tool.py: Remove unused function nlcount.
|
|
5aa8b0d4
|
2017-09-09T12:01:28
|
|
gnulib-tool.py: Fix subend function.
Make subend('a','b','Laura') return 'Laurb' instead of 'bL'.
|
|
08369d22
|
2017-09-09T01:36:16
|
|
gnulib-tool.py: follow gnulib-tool changes, part 10
Follow gnulib-tool change
2014-09-05 Mathieu Anquetin <mathieu@anquetin.eu>
gnulib-tool: Use same options as build-aux/bootstrap to download PO files.
|
|
48c442f3
|
2017-09-09T01:26:20
|
|
gnulib-tool.py: follow gnulib-tool changes, part 9
Follow gnulib-tool change
2014-09-05 Mathieu Anquetin <mathieu@anquetin.eu>
Fallback to wget when rsync of PO files fails.
|
|
46301570
|
2017-09-09T01:16:46
|
|
gnulib-tool.py: follow gnulib-tool changes, part 8
Follow gnulib-tool change
2014-05-27 Sylvain Beucler <beuc@beuc.net>.
gnulib-tool: wget translations using --no-verbose rather than --quiet
|
|
e321e9c3
|
2017-09-09T10:25:09
|
|
gnulib-tool.py: follow gnulib-tool changes, part 12
Follow gnulib-tool change
2015-02-03 Pádraig Brady <P@draigBrady.com>
gnulib-tool: fix handling of patch(1) diagnostics
|
|
17e4d799
|
2017-09-09T10:21:00
|
|
gnulib-tool.py: follow gnulib-tool changes, part 11
Follow gnulib-tool change
2014-12-02 KO Myung-Hun <komh78@gmail.com>
gnulib-tool: recognize x:* as an absolute path
|
|
9f23e10d
|
2017-09-09T01:09:45
|
|
gnulib-tool.py: follow gnulib-tool changes, part 7
Follow gnulib-tool change
2014-05-27 Sylvain Beucler <beuc@beuc.net>
gnulib-tool: adjust translation wget to avoid a https redirection
|
|
2eb61725
|
2017-09-09T01:06:34
|
|
gnulib-tool.py: follow gnulib-tool changes, part 6
Follow gnulib-tool change
2013-05-10 Stefano Lattarini <stefano.lattarini@gmail.com>
deps: require Automake >= 1.9.6 in generated Makefile fragments
|
|
6c81a581
|
2017-09-09T01:04:08
|
|
gnulib-tool.py: follow gnulib-tool changes, part 5
Follow gnulib-tool change
2013-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
Assume gnulib is checked out from Git, not CVS
|
|
cdd7bf2e
|
2017-09-09T00:49:56
|
|
gnulib-tool.py: follow gnulib-tool changes, part 4
Follow gnulib-tool change
2013-01-05 Paul Eggert <eggert@cs.ucla.edu>
gnulib-tool: fix incompatibility with autopoint 0.18.2
|
|
f0e4c4b6
|
2017-09-09T00:32:50
|
|
gnulib-tool.py: follow gnulib-tool changes, part 3
Follow gnulib-tool change
2012-08-26 Bruno Haible <bruno@clisp.org>
gnulib-tool: Remove no-op option --no-changelog.
* pygnulib/constants.py: Remove FILES dictionary.
* pygnulib/*: Update.
|
|
fc4e57bb
|
2017-09-09T00:03:44
|
|
gnulib-tool.py: follow gnulib-tool changes, part 2
Follow gnulib-tool change
2012-08-13 Bruno Haible <bruno@clisp.org>
gnulib-tool: Fix persistence of --witness-c-macro option.
|
|
f49155d4
|
2017-09-08T23:59:29
|
|
gnulib-tool.py: follow gnulib-tool changes, part 1
Follow gnulib-tool change
2012-06-21 Bruno Haible <bruno@clisp.org>
gnulib-tool: --create-[mega]testdir, --[mega]test implies --with-tests.
|
|
0626a499
|
2017-09-09T01:21:26
|
|
gnulib-tool.py: Fix typo in rsync invocation.
|
|
574e518a
|
2017-09-09T01:31:54
|
|
gnulib-tool.py: Fix typo in wget invocation.
|
|
6095a05f
|
2017-09-09T00:38:56
|
|
gnulib-tool.py: Bump copyright years up to 2017.
|
|
5cb51bde
|
2017-09-08T23:45:39
|
|
gnulib-tool.py: Accept option --dir instead of --destdir.
|
|
a44f2a11
|
2017-09-09T14:34:53
|
|
gnulib-tool: Simplify commit from 2015-08-20.
* gnulib-tool (func_add_or_update): Remove local variable
is_binary_file.
|
|
80ad545e
|
2017-09-08T09:35:53
|
|
* lib/fts.c: Fix XFS comments.
|
|
21c52a82
|
2017-09-08T18:34:58
|
|
[pygnulib] autopep8 (fixing indentation, style, etc.)
|
|
4be624be
|
2017-09-05T23:33:50
|
|
gnulib-tool.py: fix exception handling
|
|
3df66605
|
2017-09-05T10:04:18
|
|
gnulib-tool.py: fix errors on building wget2; use UTF-8 in subprocess
|
|
1fdadd2c
|
2017-08-21T21:40:46
|
|
[pygnulib] .gitignore
|
|
02a1f93e
|
2017-08-20T11:17:58
|
|
[pygnulib] initial merge (including some small bug fixes)
|
|
3ba4dbae
|
2017-09-08T10:02:47
|
|
stddef: Avoid conflict with system-defined max_align_t.
The configure-determined HAVE_MAX_ALIGN_T may not always be accurate.
Reported by Werner Lemberg <wl@gnu.org> in
<https://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00185.html>.
* lib/stddef.in.h (rpl_max_align_t): Renamed from max_align_t.
(max_align_t): Define as a macro.
(GNULIB_defined_max_align_t): New macro. Guards against multiple
definitions of rpl_max_align_t in different copies of gnulib-generated
<stddef.h>.
|
|
2890b021
|
2017-09-05T23:32:59
|
|
libc-config: port to MSVC
Problems reported by Gisle Vanem in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-09/msg00016.html
* lib/libc-config.h (__inline): Don't define if HAVE___INLINE.
(libc_hidden_proto): Stick to Standard C syntax for varargs macro.
* m4/__inline.m4: New file.
* modules/libc-config (Files): Add it.
(Depends-on): Use it.
|
|
8ffefc19
|
2017-09-05T21:14:51
|
|
glob: Use enum for __glob_pattern_type result
From a patch proposed by Adhemerval Zanella in:
https://sourceware.org/ml/libc-alpha/2017-09/msg00212.html
* lib/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
(GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
* lib/glob_internal.h (__glob_pattern_type):
* lib/glob.c (glob):
* lib/glob_pattern_p.c (__glob_pattern_p):
Use them.
|
|
ef5de276
|
2017-09-05T18:58:50
|
|
glob: fix for use in glibc
Problem reported by Adhemerval Zanella in:
https://sourceware.org/ml/libc-alpha/2017-09/msg00213.html
* lib/glob.c (DT_UNKNOWN, DT_DIR, DT_LINK):
Do not redefine if _LIBC.
|
|
064df0b0
|
2017-09-02T15:39:16
|
|
glob: fix bugs with long login names
Problem reported by Adhemerval Zanella in:
https://sourceware.org/ml/libc-alpha/2017-08/msg00455.html
* lib/glob.c (GET_LOGIN_NAME_MAX): Remove.
(glob): Use the same scratch buffer for both getlogin_r and
getpwnam_r. Don’t require preallocation of the login name. This
simplifies storage allocation, and corrects the handling of
long login names.
|
|
5f7d5f2b
|
2017-09-02T13:14:00
|
|
dirent: Update doc.
* doc/posix-headers/dirent.texi: More concrete list of platforms.
|
|
5db93013
|
2017-09-02T03:56:06
|
|
glob: fix getpwnam_r errno typo
* lib/glob.c (glob): Fix longstanding misuse of errno after
getpwnam_r, which returns an error number rather than setting
errno.
|
|
ae55644a
|
2017-09-02T03:37:46
|
|
glob: fix typo in recent change
* lib/glob.c (glob) [!HAVE_GETPWNAM_R && !_LIBC]:
Fix recently-introduced typo.
|
|
8ac17a6a
|
2017-09-02T02:05:09
|
|
glob: don't save and restore errno unnecessarily
* lib/glob.c (glob): Don't save and restore errno
merely because we have getpwnam_r.
|
|
742b1c14
|
2017-09-02T02:00:40
|
|
glob: don't assume getpwnam_r
* lib/glob.c (glob): Port recent patches to platforms
lacking getpwnam_r.
|
|
dca11d0f
|
2017-09-02T01:21:03
|
|
scratch_buffer: don’t use private glibc API
Suggested by Florian Weimer in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-09/msg00004.html
* lib/scratch_buffer.h: Rename to lib/malloc/scratch_buffer.h.
* lib/scratch_buffer_grow.c: Rename to
lib/malloc/scratch_buffer_grow.c.
* lib/scratch_buffer_grow_preserve.c: Rename to
lib/malloc/scratch_buffer_grow_preserve.c.
* lib/scratch_buffer_set_array_size.c: Rename to
lib/malloc/scratch_buffer_set_array_size.c.
* lib/scratch_buffer.h: New file.
* modules/scratch_buffer (Files, Makefile.am):
Adjust to source-file renaming.
|
|
e1e84205
|
2017-09-01T15:41:45
|
|
glob: use scratch_buffer instead of extend_alloca
Much of the lib/glob.c part of this patch comes from a glibc patch
proposed by Adhemerval Zanella in:
https://sourceware.org/ml/libc-alpha/2017-08/msg00456.html
* lib/glob.c: Do not include <config.h>, since <libc-config.h>,
included via glob.h, does this for us now.
(__set_errno): Remove, as libc-config does this for us now.
Include <scratch_buffer.h>.
(GETPW_R_SIZE_MAX): Remove.
(glob): Use struct scratch_buffer instead of extend_alloca.
* lib/glob.in.h: Include libc-config.h rather than
including <sys/cdefs.h> conditionally.
(__BEGIN_DECLS, __END_DECLS, __THROW, __THROWNL, attribute_hidden)
(__glibc_unlikely, __restrict, weak_alias):
Remove, as libc-config does this for us now.
* m4/glob.m4 (gl_PREREQ_GLOB):
Remove sys/cdefs.h tests; no longer needed.
* modules/glob (Depends-on): Add libc-config, scratch_buffer.
(glob.h): Do not replace HAVE_SYS_CDEFS_H.
|
|
3866ef61
|
2017-09-01T14:42:53
|
|
scratch_buffer: new module
* lib/scratch_buffer.h, lib/scratch_buffer_grow.c:
* lib/scratch_buffer_grow_preserve.c:
* lib/scratch_buffer_set_array_size.c:
New files, copied from glibc with very minor changes that can be
copied back.
* modules/scratch_buffer: New file.
|
|
38885c86
|
2017-09-01T14:40:58
|
|
libc-config: new module
* MODULES.html.sh: Add libc-config.
* lib/cdefs.h: New file, copied from the GNU C Library with very
minor changes that can be copied back.
* lib/libc-config.h, modules/libc-config: New files.
|
|
fd1daf4e
|
2017-08-31T14:34:25
|
|
glob: match dangling symlinks
This fixes a bug I inadvertently introduced to Gnulib when I
merged glibc glob back into gnulib on 2007-10-16. This fix is
inspired by a patch proposed for glibc by Adhemerval Zanella in:
https://sourceware.org/ml/libc-alpha/2017-08/msg00446.html
* doc/posix-functions/glob.texi: Update list of affected platforms.
* lib/glob.c (__lstat64): New macro.
(is_dir): New function.
(glob, glob_in_dir): Match symlinks even if they are dangling.
(link_stat, link_exists_p): Remove. All uses removed.
* lib/glob.in.h (__attribute_noinline__): Remove; no longer used.
* m4/glob.m4 (gl_PREREQ_GLOB): Do not check for fstatat.
* modules/glob (Depends-on): Remove dirfd.
* modules/glob-tests (Depends-on): Add symlink.
* tests/test-glob.c: Include errno.h, unistd.h.
(BASE): New macro.
(main): Test dangling symlinks, if symlinks are supported.
|
|
c8e57c1a
|
2017-08-31T14:34:24
|
|
glob, backupfile: inode 0 is a valid inode number
* doc/posix-functions/readdir.texi (readdir):
* doc/posix-headers/dirent.texi (dirent.h):
Document more readdir portability issues.
* lib/backupfile.c (REAL_DIR_ENTRY): Remove.
(numbered_backup): Don’t treat inode 0 any differently from
other inode values.
* lib/glob.c (struct readdir_result): Remove skip_entry member.
(readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
All uses removed.
* modules/glob (Depends-on): Remove d-ino.
|
|
b5ec983e
|
2017-08-31T14:34:24
|
|
glob: simplify symlink detection
* lib/glob.c (dirent_type): New type. Use uint_fast8_t not
uint8_t, as C99 does not require uint8_t.
(DT_UNKNOWN, DT_DIR, DT_LNK) [!HAVE_STRUCT_DIRENT_D_TYPE]:
New macros.
(struct readdir_result): Use dirent_type. Do not define skip_entry
unless it is needed; this saves a byte on platforms lacking d_ino.
(readdir_result_type, readdir_result_skip_entry):
New functions, replacing ...
(readdir_result_might_be_symlink, readdir_result_might_be_dir):
... these functions, which were removed. This makes the callers
easier to read. All callers changed.
(D_INO_TO_RESULT): Now empty if there is no d_ino.
|
|
a20922f1
|
2017-08-30T22:32:23
|
|
fts-tests: tag as a longrunning-test so not included by default
* modules/fts-tests: This test takes about 20s on current systems,
and uses about 285M of space on ext4.
|
|
58c0514f
|
2017-08-30T00:16:39
|
|
renameat2: fix compilation on alpine linux
* m4/renameat.m4: Check for <linux/fs.h> presence.
* lib/renameat2.h: Only include <linux/fs.h> if present.
Reported by Assaf Gordon on Alpine Linux.
|
|
8d116e3f
|
2017-08-24T23:51:07
|
|
glob: try to port recent changes to MS-Windows
Problem reported by Bruno Haible in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00170.html
* lib/glob.c (__glob_pattern_p) [!_LIBC]: Move from here ...
* lib/glob.in.h (__glob_pattern_p): ... to here.
|
|
fa96a188
|
2017-08-24T20:28:52
|
|
warnings: fix compilation with old autoconf
Autoconf older than 2.63b (such as what ships on CentOS 6) had
a bug that any AC_DEFUN'd macro name that includes shell meta-
characters causes failure due to missing shell quoting during
aclocal's use of autom4te. We can work around the problem by
using m4_defun instead (same semantics in autom4te, but no
longer traced by aclocal, so no longer tickles the shell
quoting bug).
* m4/warnings.m4 (gl_UNKNOWN_WARNINGS_ARE_ERRORS(C))
(gl_UNKNOWN_WARNINGS_ARE_ERRORS(C++)): Use m4_defun rather than
AC_DEFUN.
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC(C))
(gl_MANYWARN_ALL_GCC(C++)): Likewise.
Reported-by: Erik Skultety <eskultet@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
|
|
a103699d
|
2017-08-24T23:49:08
|
|
* doc/gnulib-intro.texi: Add comment regarding IRIX.
|
|
6c12411d
|
2017-08-24T08:10:28
|
|
autoupdate
|
|
8e0845e2
|
2017-08-24T12:12:31
|
|
glob: Fix compilation error on NetBSD 7.0 and OpenBSD 6.0.
* modules/glob (Depends-on): Add c99.
|
|
47c634c0
|
2017-08-24T00:46:49
|
|
glob: fix typo that broke platforms lacking d_ino
This typo also hurt performance on GNU/Linux and similar hosts.
* lib/glob.c (D_INO_TO_RESULT): Fix typo (reversed ifdef)
in previous change.
|
|
d93b573b
|
2017-08-23T14:45:58
|
|
flexmember: fix typo in previous patch
* lib/flexmember.h: Fix comment typo.
|
|
32107c10
|
2017-08-23T10:45:42
|
|
glob: merge from glibc with Zanella glob changes
Merge glob from glibc, with changes for glob proposed
by Adhemerval Zanella in the thread starting here:
https://sourceware.org/ml/libc-alpha/2017-08/msg01079.html
plus some fixes for this merge.
* lib/flexmember.h: Change license wording to something that
works unchanged in Glibc, since this code might be used in
Glibc and this will minimize 'diff' output.
* lib/glob_internal.h, lib/glob_pattern_p.c, lib/globfree.c:
New files, ported from glibc.
* lib/glob_pattern_p.c, lib/globfree.c, lib/glob.c [!_LIBC]:
Include <config.h> first.
* lib/glob-libc.h (_Restrict_): Remove. All uses replaced
with __restrict.
(__size_t): Remove. All uses replaced by size_t.
(size_t): Define by defining __need_size_t and including <stddef.h>.
This should work even in non-glibc platforms, where any name
pollution is OK.
Use __USE_MISC instead of __USE_BSD || __USE_GNU.
(struct stat64): Don’t worry about __GLOB_GNULIB.
(glob, globfree, glob_pattern_p): Remove macros for
__USE_FILE_OFFSET64 && __GNUC__ < 2 && !defined __GLOB_GNULIB
case. Remove _GL_ARG_NONNULL as GNU behavior is to accept NULL
but set errno.
* lib/glob.c (_GL_ARG_NONNULL) [!_LIBC]: Remove. All uses
removed since the glibc behavior works on null pointers.
Do not include stdio.h; old SunOS is irrelevant now.
Do not worry about GLOB_ONLY_P as we now mimic glibc here.
Include glob_internal.h.
(D_INO_TO_RESULT): Depend on (_LIBC || D_INO_IN_DIRENT), not
((POSIX || WINDOWS32) && !__GNU_LIBRARY__). The latter probably
worked only coincidentally.
(attribute_hidden, __attribute_noinline__, __glibc_unlikely):
Remove macros; now done in glob.in.h.
(size_add_wrapv): Do not use __builtin_add_overflow if __ICC.
(glob): Properly initialize glob structure with
GLOB_BRACE|GLOB_DOOFFS (bug 20707).
Remove old code using SHELL since Bash no longer
uses this.
(glob, prefix_array): Separate MS code better.
(glob, glob_in_dir): Use C99 decls before statements when glibc
does.
(glob_in_dir): Remove old Amiga and VMS code.
(globfree, __glob_pattern_type, __glob_pattern_p): Move to
separate files.
* lib/glob.in.h (attribute_hidden, __attribute_noinline__)
(__glibc_unlikely):
Move here from glob.c.
(__restrict): New macro here, replacing the _Restrict_ in glob.c.
(weak_alias): New macro.
(__size_t): Remove. All uses replaced by size_t.
* modules/d-ino (License): Now LGPLv2+, for compatibility with glob.
* modules/flexmember (License): Now LGPLv2+, which it should have
been anyway since flexmember.h is not unlimited-license.
* modules/glob (Files): Add +lib/glob_internal.h,
lib/glob_pattern_p.c, lib/globfree.c.
(Depends-on): Remove snippet/arg-nonnull.
|
|
f320c1eb
|
2017-08-22T10:13:50
|
|
glob: port to clang's Undefined Sanitizer
Problem reported by Tim Rühsen in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00144.html
* lib/glob.c (FLEXIBLE_ARRAY_MEMBER) [_LIBC]: Define to empty.
(glob_in_dir): Do not rely on undefined behavior in accessing
struct members beyond their bounds. Use a flexible array member
instead.
|
|
b23000de
|
2017-08-21T22:20:11
|
|
) -> } -> })
|
|
efec5175
|
2017-08-21T12:38:20
|
|
vc-list-files: port to Solaris 10
* build-aux/vc-list-files: Don't assume test -e works.
|
|
b2372a54
|
2017-08-21T08:00:44
|
|
) -> }
|
|
2c309a37
|
2017-08-21T07:57:47
|
|
autoupdate
|
|
dd76853a
|
2017-08-20T17:03:55
|
|
git-version-gen: port to Solaris 10
Problem reported by Dagobert Michelsen in:
http://lists.gnu.org/archive/html/grep-devel/2017-08/msg00002.html
* build-aux/git-version-gen (v_from_git):
Use expr instead of shell substitution.
|
|
ec2d7255
|
2017-08-20T01:19:50
|
|
host-cpu-c-abi: Improve detection of MIPS ABI.
* m4/host-cpu-c-abi.m4 (gl_HOST_CPU_C_ABI): For MIPS, test the value of
_MIPS_SIM.
|
|
5408b0e0
|
2017-08-17T22:15:10
|
|
hypot tests: Fix test failure on FreeBSD 11.0/x86.
* tests/test-hypot.h (test_function): Declare z as 'volatile'.
|
|
02a6dd29
|
2017-08-17T21:32:28
|
|
float: Fix LDBL_MIN value on FreeBSD/x86.
* lib/float.in.h (LDBL_MIN) [__FreeBSD__]: Add more precision.
|
|
299d6d5f
|
2017-08-17T14:17:58
|
|
random: Fix test compilation failure on Cygwin 1.5.25.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize HAVE_DECL_INITSTATE,
HAVE_DECL_SETSTATE.
* m4/random.m4 (gl_FUNC_RANDOM): Test whether initstate and setstate are
declared.
* modules/stdlib (Makefile.am): Substitute HAVE_DECL_INITSTATE,
HAVE_DECL_SETSTATE.
* lib/stdlib.in.h (initstate): Declare also if HAVE_DECL_INITSTATE is 0.
(setstate): Declare also if HAVE_DECL_SETSTATE is 0.
* doc/posix-functions/initstate.texi: Mention the Cygwin 1.5.x problem.
* doc/posix-functions/random.texi: Likewise.
* doc/posix-functions/setstate.texi: Likewise.
* doc/posix-functions/srandom.texi: Likewise.
|
|
daba2833
|
2017-08-17T01:59:11
|
|
stdnoreturn: Fix test compilation failure on Cygwin.
* m4/stdnoreturn.m4 (gl_STDNORETURN_H): On Cygwin, use gnulib's
<stdnoreturn.h> replacement.
* lib/stdnoreturn.in.h (noreturn): Treat Cygwin like MSVC.
* doc/posix-headers/stdnoreturn.texi: Mention the Cygwin problem.
|
|
b1efc4ac
|
2017-08-16T13:59:54
|
|
cloexec: spelling fixes in comments
|
|
9241177c
|
2017-08-16T20:35:42
|
|
thread: Fix conflict with pthread_sigmask module.
* lib/glthread/thread.h (pthread_sigmask): Don't declare it weak if
it's defined as a macro.
* modules/thread (Depends-on): Add pthread_sigmask.
|
|
6980ecee
|
2017-08-16T08:34:41
|
|
rename: port better to NetBSD
* doc/posix-functions/rename.texi (rename): NetBSD 7
does not have the link-count bug.
* m4/rename.m4 (gl_FUNC_RENAME): Don’t consider NetBSD to be
broken merely because rename ("a", "b") removes "a" when the two
names are hard links to the same file.
|
|
bf9412ab
|
2017-08-16T11:25:10
|
|
iconv_open, uni*: Add support for VPATH builds with OpenBSD 'make'.
* modules/iconv_open (Makefile.am): In the rules that use gperf, prefix
the target file names with '$(srcdir)/'.
* modules/unicase/locale-language (Makefile.am): Likewise.
* modules/unicase/special-casing (Makefile.am): Likewise.
* modules/unictype/bidiclass-byname (Makefile.am): Likewise.
* modules/unictype/category-byname (Makefile.am): Likewise.
* modules/unictype/combining-class-byname (Makefile.am): Likewise.
* modules/unictype/joininggroup-byname (Makefile.am): Likewise.
* modules/unictype/joiningtype-byname (Makefile.am): Likewise.
* modules/unictype/property-byname (Makefile.am): Likewise.
* modules/unictype/scripts (Makefile.am): Likewise.
* modules/uninorm/composition (Makefile.am): Likewise.
|
|
47f5e07e
|
2017-08-16T11:04:30
|
|
nonblocking-socket tests: Fix failure on OpenBSD 6.0.
* tests/test-nonblocking-socket.h (SOCKET_DATA_BLOCK_SIZE): Increase
value for OpenBSD.
|
|
60151d8e
|
2017-08-16T10:13:42
|
|
rename, renameat: Update doc regarding NetBSD.
* doc/posix-functions/rename.texi: Clarify that when using
-D_XOPEN_SOURCE=500 on NetBSD 7.0, the hard link bug is gone.
* doc/posix-functions/renameat.texi: Be more precise about NetBSD
version.
|
|
9abc0840
|
2017-08-15T17:09:35
|
|
renameat2: port better to macOS
* lib/renameat2.c (renameat2): Use renameatx_np if available.
|
|
6536b952
|
2017-08-15T16:47:22
|
|
futimens: don’t assume struct timespec layout
* m4/futimens.m4 (gl_FUNC_FUTIMENS):
* m4/utimensat.m4 (gl_FUNC_UTIMENSAT):
* tests/test-fdutimensat.c (main):
* tests/test-futimens.h (test_futimens):
* tests/test-lutimens.h (test_lutimens):
* tests/test-utimens.h (test_utimens):
* tests/test-utimensat.c (main):
Don’t assume that struct timespec is a two-member structure in
tv_sec, tv_nsec order. Although this is true on all platforms we
know about, POSIX does not guarantee it.
|
|
9a6c7d3f
|
2017-08-15T15:53:50
|
|
rename: document+test NetBSD rename
Test failure reported by Bruno Haible in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00104.html
This is an area where NetBSD is better-behaved than POSIX,
so allow the NetBSD behavior in tests.
* doc/posix-functions/rename.texi:
* doc/posix-functions/renameat.texi: Document NetBSD behavior.
* tests/test-rename.h (test_rename): Allow NetBSD behavior.
|
|
13d3759b
|
2017-08-15T22:03:48
|
|
renameat: Ensure declaration in <stdio.h> on NetBSD.
* lib/stdio.in.h: Include <unistd,h> also on NetBSD.
* doc/posix-functions/renameat.texi: Mention this problem.
|