+2017-11-12 Jim Meyering <meyering@fb.com>
+
+ maint: shorten https://lists.gnu.org/archive/html/... links
+ Each /archive/html/ part can be replace with /r/.
+ Run this to induce the change:
+ git grep -l archive/html|xargs perl -pi -e 's,/archive/html/,/r/,g'
+ * ChangeLog: Perform that substitution.
+ * Makefile: Likewise.
+ * STATUS-libposix: Likewise.
+ * build-aux/bootstrap: Likewise.
+ * doc/maintain.texi: Likewise.
+ * gnulib-tool: Likewise.
+ * lib/allocator.h: Likewise.
+ * lib/argp-ba.c: Likewise.
+ * lib/argp-pv.c: Likewise.
+ * lib/canon-host.c: Likewise.
+ * lib/canonicalize-lgpl.c: Likewise.
+ * lib/float.in.h: Likewise.
+ * lib/fstat.c: Likewise.
+ * lib/getdelim.c: Likewise.
+ * lib/getprogname.c: Likewise.
+ * lib/glthread/thread.h: Likewise.
+ * lib/intprops.h: Likewise.
+ * lib/mbsrtowcs-state.c: Likewise.
+ * lib/safe-read.c: Likewise.
+ * lib/signal.in.h: Likewise.
+ * lib/stat.c: Likewise.
+ * lib/stdbool.in.h: Likewise.
+ * lib/stdio-impl.h: Likewise.
+ * lib/stdio.in.h: Likewise.
+ * lib/sysexits.in.h: Likewise.
+ * lib/timespec.h: Likewise.
+ * lib/wcsrtombs-state.c: Likewise.
+ * m4/alloca.m4: Likewise.
+ * m4/extern-inline.m4: Likewise.
+ * m4/fstatat.m4: Likewise.
+ * m4/gnulib-common.m4: Likewise.
+ * m4/lib-ignore.m4: Likewise.
+ * m4/printf.m4: Likewise.
+ * m4/regex.m4: Likewise.
+ * m4/stat-size.m4: Likewise.
+ * m4/std-gnu11.m4: Likewise.
+ * m4/stdbool.m4: Likewise.
+ * m4/sys_types_h.m4: Likewise.
+ * m4/threadlib.m4: Likewise.
+ * m4/vararrays.m4: Likewise.
+ * pygnulib/GLImport.py: Likewise.
+ * tests/test-exp.h: Likewise.
+ * tests/test-exp2.h: Likewise.
+ * tests/test-expm1.h: Likewise.
+ * tests/test-fflush2.c: Likewise.
+ * tests/test-getopt_long.h: Likewise.
+ * tests/test-intprops.c: Likewise.
+ * tests/test-log.h: Likewise.
+ * tests/test-log10.h: Likewise.
+ * tests/test-log1p.h: Likewise.
+ * tests/test-log2.h: Likewise.
+ * tests/test-printf-posix.h: Likewise.
+ * tests/test-regex.c: Likewise.
+ * tests/test-snprintf-posix.h: Likewise.
+ * tests/test-sprintf-posix.h: Likewise.
+ * tests/test-stdalign.c: Likewise.
+ * tests/test-stdbool.c: Likewise.
+ * tests/test-vasnprintf-posix.c: Likewise.
+ * tests/test-vasprintf-posix.c: Likewise.
+ * top/maint.mk: Likewise.
+
2017-11-12 Bruno Haible <bruno@clisp.org>
faccessat: Make the last change more robust.
* lib/quotearg.c (quotearg_n_options):
Rewrite to avoid diagnostic from overly-picky compiler.
Problem reported by Sami Kerola in:
- https://lists.gnu.org/archive/html/bug-gnulib/2017-10/msg00060.html
+ https://lists.gnu.org/r/bug-gnulib/2017-10/msg00060.html
glob: fix heap buffer overflow
* lib/glob.c (glob): Fix off-by-one error introduced into
glob: pacify fuzzer for mempcpy
Problem reported by Tim Rühsen in:
- https://lists.gnu.org/archive/html/bug-gnulib/2017-10/msg00054.html
+ https://lists.gnu.org/r/bug-gnulib/2017-10/msg00054.html
* lib/glob.c (glob): Do not pass NULL to mempcpy.
2017-10-12 Bruno Haible <bruno@clisp.org>
mktime: port to OpenVMS
Problem reported by John E. Malmberg in:
- https://lists.gnu.org/archive/html/bug-gnulib/2017-09/msg00100.html
+ https://lists.gnu.org/r/bug-gnulib/2017-09/msg00100.html
* m4/mktime.m4 (TIME_T_IS_SIGNED): Default to 0.
2017-09-16 Paul Eggert <eggert@cs.ucla.edu>
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
+ https://lists.gnu.org/r/emacs-devel/2017-09/msg00392.html
2017-09-13 Bruno Haible <bruno@clisp.org>
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>.
+ <https://lists.gnu.org/r/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
libc-config: port to MSVC
Problems reported by Gisle Vanem in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-09/msg00016.html
+ http://lists.gnu.org/r/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.
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
+ http://lists.gnu.org/r/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.
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
+ http://lists.gnu.org/r/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.
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
+ http://lists.gnu.org/r/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
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
+ http://lists.gnu.org/r/grep-devel/2017-08/msg00002.html
* build-aux/git-version-gen (v_from_git):
Use expr instead of shell substitution.
rename: document+test NetBSD rename
Test failure reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00104.html
+ http://lists.gnu.org/r/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:
fts tests: Fix link error.
Reported by Tom G. Christensen in
- https://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00078.html
+ https://lists.gnu.org/r/bug-gnulib/2017-08/msg00078.html
* modules/fts-tests (Makefile.am): Link test-fts against LIBINTL.
2017-08-10 Paul Eggert <eggert@cs.ucla.edu>
fts: port recent changes to CentOS 6
Problem reported by Tom G. Christensen in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00064.html
+ http://lists.gnu.org/r/bug-gnulib/2017-08/msg00064.html
* lib/fts.c (fsword): New type.
(struct dev_type, filesystem_type): Use it.
* m4/fts.m4 (gl_FUNC_FTS_CORE): Check for __fsword_t.
git-version-gen: another fix for tags with "-"
* build-aux/git-version-gen: Improve fix for tags containing "-".
Suggested by Markus Armbruster in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00034.html
+ http://lists.gnu.org/r/bug-gnulib/2017-08/msg00034.html
2017-08-06 Bruno Haible <bruno@clisp.org>
renameat2: port to RHEL 7 + NFS
* lib/renameat2.c (renameat2) [SYS_renameat2]:
Port to RHEL 7 + NFS. Problem reported by Ted Zlatanov in:
- http://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00082.html
+ http://lists.gnu.org/r/emacs-devel/2017-08/msg00082.html
2017-08-02 Paul Eggert <eggert@cs.ucla.edu>
renameat2: port to non-renameat platforms
Problem reported for MSVC-2015 by Gisle Vanem in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00001.html
+ http://lists.gnu.org/r/bug-gnulib/2017-08/msg00001.html
* lib/renameat2.c [!HAVE_RENAMEAT]: Include <sys/stat.h> here too.
(renameat2) [!HAVE_RENAMEAT]: Fix typo in arg passing.
manywarnings: port to 32-bit GCC bug
Problem reported by Pino Toscano in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00150.html
+ http://lists.gnu.org/r/bug-gnulib/2017-07/msg00150.html
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Use 2**31 - 1,
not 2**63 - 1, to work around the following GCC bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81650
canonicalize: fix EOVERFLOW commentary
Problem reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00147.html
+ http://lists.gnu.org/r/bug-gnulib/2017-07/msg00147.html
* lib/canonicalize.c (canonicalize_filename_mode):
* lib/canonicalize-lgpl.c (__realpath): Fix comments.
vasnprintf: port to macOS 10.13
Problem reported by comex in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00056.html
+ http://lists.gnu.org/r/bug-gnulib/2017-07/msg00056.html
* lib/vasnprintf.c (VASNPRINTF): Don’t use %n on macOS.
2017-07-06 Bruno Haible <bruno@clisp.org>
parse-datetime: fix uninit var bug
Reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00038.html
+ http://lists.gnu.org/r/bug-gnulib/2017-07/msg00038.html
* lib/parse-datetime.y (parse_datetime2): Do not use
uninitialized.
Relicense some modules under LGPLv2+.
Daiki Ueno's approval is in
- https://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00058.html.
+ https://lists.gnu.org/r/bug-gnulib/2017-06/msg00058.html.
* modules/uniwidth/base (License): Change to LGPLv2+.
* modules/uniwidth/width (License): Likewise.
getopt-posix: port to glibc 2.25.90
Problem reported by Daniel P. Berrange in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00003.html
+ http://lists.gnu.org/r/bug-gnulib/2017-06/msg00003.html
* lib/getopt-pfx-core.h (_GETOPT_CORE_H):
* lib/getopt-pfx-ext.h (_GETOPT_EXT_H):
#undef if __GETOPT_PREFIX is defined.
canonicalize-lgpl: Avoid conflict with gnulib 'getcwd' module on VMS.
Reported by John E. Malmberg <wb8tyw@gmail.com> in
- <https://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00029.html>.
+ <https://lists.gnu.org/r/bug-gnulib/2017-06/msg00029.html>.
* lib/canonicalize-lgpl.c (__getcwd): On VMS, when using gnulib's getcwd
override, pass 2 arguments to getcwd, not 3.
same-inode: port better to VMS 8.2 and later
Problem reported by John E. Malmberg in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00005.html
+ http://lists.gnu.org/r/bug-gnulib/2017-06/msg00005.html
* lib/same-inode.h (SAME_INODE) [__VMS && 80200000 <= __CRTL_VER]:
Use the usual POSIX definition.
* m4/sys_types_h.m4 (gl_SYS_TYPES_H): Define _USE_STD_STAT.
error: fix POSIX violation for va_end
Problem reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00001.html
+ http://lists.gnu.org/r/bug-gnulib/2017-06/msg00001.html
* lib/error.c (error_tail): Do not call va_end here.
(error, error_at_line): Call it here instead.
* lib/argp-help.c (hol_append): Don’t subtract pointers to
different arrays, as this can run afoul of -fcheck-pointer-bounds.
See the thread containing Bruno Haible’s report in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-05/msg00171.html
+ http://lists.gnu.org/r/bug-gnulib/2017-05/msg00171.html
2017-05-19 Bruno Haible <bruno@clisp.org>
getopt-posix: port to mingw
* lib/getopt.c (flockfile, funlockfile): Define on mingw.
Problem reported by Daniel P. Berrage in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-05/msg00086.html
+ http://lists.gnu.org/r/bug-gnulib/2017-05/msg00086.html
2017-05-11 Bruno Haible <bruno@clisp.org>
intprops: don’t depend on ‘verify’
Problem reported by Ævar Arnfjörð Bjarmason in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-05/msg00054.html
+ http://lists.gnu.org/r/bug-gnulib/2017-05/msg00054.html
* lib/intprops.h: Do not include verify.h, and move compile-time
checks from here ...
* tests/test-intprops.c (main): ... to here, if they’re not here
getopt: port to Solaris 10 with circa-1997 glibc getopt.h
Problem reported by Assaf Gordon and Gavin Smith in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00157.html
+ http://lists.gnu.org/r/bug-gnulib/2017-04/msg00157.html
* lib/getopt-pfx-ext.h (_getopt_internal) [__GETOPT_PREFIX]:
#define this, too.
parse-datetime: fix %z and prefer signed int
%z problem reported by Pádraig Brady in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00103.html
+ http://lists.gnu.org/r/bug-gnulib/2017-04/msg00103.html
While fixing it, I decided to prefer signed ints to size_t, as
they are less error-prone (e.g., ubsan catches overflow).
* lib/parse-datetime.y (textint, parser_control, lookup_word, yylex)
* modules/xbinary-io (Depends-on): Add gettext-h.
* lib/xbinary-io.c: Include gettext.h and define _().
Reported by Gisle Vanem <gisle.vanem@gmail.com> in
- <https://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00089.html>.
+ <https://lists.gnu.org/r/bug-gnulib/2017-04/msg00089.html>.
2017-04-22 Paul Eggert <eggert@cs.ucla.edu>
parse-datetime: overflow and debug cleanups
This long patch was triggered by this bug report from Ruediger Meier:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00028.html
+ http://lists.gnu.org/r/bug-gnulib/2017-04/msg00028.html
I fixed the bug he noted, then found some others nearby, and then
still others. Oh my goodness, there were a lot of bugs. I cleaned
up some of the code to follow GNU standards while I was at it.
gettext-h: Avoid -Wundef warning.
* lib/gettext.h: Test the value of ENABLE_NLS only if it is defined.
Reported by Tim Rühsen <tim.ruehsen@gmx.de> in
- <https://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00022.html>.
+ <https://lists.gnu.org/r/bug-gnulib/2017-04/msg00022.html>.
2017-04-05 Tim Rühsen <tim.ruehsen@gmx.de>
Solaris 10 <locale.h> includes <libintl.h>, which #defines
gettext, and this causes a double #define.
Problem reported by Gavin Smith in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00056.html
+ http://lists.gnu.org/r/bug-gnulib/2017-04/msg00056.html
* lib/regex_internal.h (gettext): #undef before #defining.
2017-04-15 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
intprops: port to Oracle Studio 12.3 x86
Problem reported by Gavin Smith in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00049.html
+ http://lists.gnu.org/r/bug-gnulib/2017-04/msg00049.html
* lib/intprops.h (_GL_INT_OP_WRAPV_VIA_UNSIGNED):
Convert unsigned to signed via the usual rather than the standard way,
to avoid a compiler bug in Oracle Studio 12.3 x86.
stdalign: tweak version# and test for HP-UX IA64
Problems reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-03/msg00078.html
+ http://lists.gnu.org/r/bug-gnulib/2017-03/msg00078.html
* lib/stdalign.in.h (_Alignas):
* m4/stdalign.m4 (gl_STDALIGN_H):
Use octal, not decimal, for __HP_cc version. Perhaps HP formerly
stdalign: restore previous behavior for HP-UX IA64
See Bruno Haible's email in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-03/msg00066.html
+ http://lists.gnu.org/r/bug-gnulib/2017-03/msg00066.html
which cites p 150 of a manual saying that 'aligned' works on Itanium.
* lib/stdalign.in.h (_Alignas):
Assume the '061200' applies to Itanium, not to PA-RISC.
flexmember: try to detect HP-UX 11.31 cc bug
Problem reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-03/msg00066.html
+ http://lists.gnu.org/r/bug-gnulib/2017-03/msg00066.html
* m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER):
Attempt to detect bug in HP-UX 11.31 cc.
snippets: move unadjusted snippet sources to lib
Problem reported by Michal Privoznik in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-03/msg00039.html
+ http://lists.gnu.org/r/bug-gnulib/2017-03/msg00039.html
* lib/_Noreturn.h: Rename from build-aux/snippet/_Noreturn.h.
* lib/arg-nonnull.h: Rename from build-aux/snippet/arg-nonnull.h.
* lib/c++defs.h: Rename from build-aux/snippet/c++defs.h.
* gnulib-tool (func_emit_lib_Makefile_am):
Remove useless code that was a blind alley during implementation.
Problem reported by Thien-Thi Nguyen in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-03/msg00029.html
+ http://lists.gnu.org/r/bug-gnulib/2017-03/msg00029.html
(func_import): Note the "--gnu-make" option in the output comment.
2017-03-12 Paul Eggert <eggert@cs.ucla.edu>
xbinary-io: rename from xsetmode
This patch is taken from suggestions by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-02/msg00060.html
- http://lists.gnu.org/archive/html/bug-gnulib/2017-02/msg00061.html
+ http://lists.gnu.org/r/bug-gnulib/2017-02/msg00060.html
+ http://lists.gnu.org/r/bug-gnulib/2017-02/msg00061.html
* lib/binary-io.c (__gl_setmode_check): Set errno to EINVAL,
not ENOTTY, when it is an inappropriate device.
* lib/binary-io.h (SET_BINARY): Resurrect.
glob: port better to emscripten
Problem reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-02/msg00031.html
+ http://lists.gnu.org/r/bug-gnulib/2017-02/msg00031.html
* lib/glob.c (glob): Don't assume HAVE_GETPWNAM_R || _LIBC.
2017-02-11 Bruno Haible <bruno@clisp.org>
dfa: port to older GCC
Problem reported by Assaf Gordon in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-01/msg00103.html
+ http://lists.gnu.org/r/bug-gnulib/2017-01/msg00103.html
* modules/c99: New module. This merely attempts to use the latest
C version, which should be enough to solve this particular problem.
The idea is to document which Gnulib modules assume C99 or later.
getprogname: port to IRIX
* lib/getprogname.c (getprogname): Port to IRIX.
Based on an idea by Bastien Roucariès at:
- http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00096.html
+ http://lists.gnu.org/r/bug-gnulib/2010-12/msg00096.html
via code from Bruno Haible at:
- https://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00249.html
+ https://lists.gnu.org/r/bug-gnulib/2010-12/msg00249.html
localename-tests: port to NetBSD 7
Problem reported by Nelson H. F. Beebe.
percentage of time they have the lock held is too high. 2) Write-
preferring read-write locks are the only reliable way to avoid this.
3) There have been reports of 'test-lock' hanging on glibc systems
- http://lists.gnu.org/archive/html/bug-gnulib/2017-01/msg00009.html,
+ http://lists.gnu.org/r/bug-gnulib/2017-01/msg00009.html,
and glibc indeed implements read-preferring rwlocks by default, see
http://man7.org/linux/man-pages/man3/pthread_rwlockattr_setkind_np.3.html
and https://sourceware.org/bugzilla/show_bug.cgi?id=13701 .
doc: modernize for C11 etc.
* doc/gnulib-readme.texi (Portability guidelines): Modernize a bit
for C11, MinGW, etc. This responds to Paul Smith's question in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-01/msg00014.html
+ http://lists.gnu.org/r/bug-gnulib/2017-01/msg00014.html
dfa: prefer functions to FETCH_WC macro
* lib/dfa.c (FETCH_WC): Remove, replacing with ...
dfa: remove duplicate assignment
Problem reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2017-01/msg00007.html
+ http://lists.gnu.org/r/bug-gnulib/2017-01/msg00007.html
* lib/dfa.c (parse_bracket_exp): Simplify.
2017-01-01 Paul Eggert <eggert@cs.ucla.edu>
file, which will be fixed separately), and besides, there is no
need to incur the cost of this shell invocation for every single
use of this .mk file. Reported by Eric Blake in
- https://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00137.html
+ https://lists.gnu.org/r/bug-gnulib/2016-12/msg00137.html
2016-12-30 Jim Meyering <meyering@fb.com>
Reported by Eric Blake in
https://www.redhat.com/archives/libvir-list/2012-March/msg00854.html
and by Pádraig Brady in
- http://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00117.html.
+ http://lists.gnu.org/r/bug-gnulib/2016-12/msg00117.html.
2016-12-19 Bruno Haible <bruno@clisp.org>
Un-deprecate the 'progname' module.
* NEWS: Describe the appropriate use-cases of 'progname' versus
'getprogname'. Based on discussion summary at
- http://lists.gnu.org/archive/html/bug-gnulib/2016-10/msg00105.html
+ http://lists.gnu.org/r/bug-gnulib/2016-10/msg00105.html
2016-12-17 Bruno Haible <bruno@clisp.org>
fpending: Revert workaround against Emacs bug.
* lib/stdio-impl.h [__MINGW32__]: Revert conditional.
The Emacs bug is fixed by Eli Zaretskii in
- http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00715.html
+ http://lists.gnu.org/r/emacs-devel/2016-12/msg00715.html
2016-12-17 Bruno Haible <bruno@clisp.org>
builtin-expect: improve port to IBM XL C
Problem reported for z/OS by Daniel Richard G. in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00079.html
+ http://lists.gnu.org/r/bug-gnulib/2016-12/msg00079.html
* m4/builtin-expect.m4 (gl___BUILTIN_EXPECT):
Test for <builtins.h> directly.
builtin-expect: port to IBM XL C
Problem reported for z/OS by Daniel Richard G. in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00074.html
+ http://lists.gnu.org/r/bug-gnulib/2016-12/msg00074.html
* m4/builtin-expect.m4 (gl___BUILTIN_EXPECT):
Also allow __builtin_expect defined via a standard include file.
regex: fix dependency
Problem reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-12/msg00073.html
+ http://lists.gnu.org/r/bug-gnulib/2016-12/msg00073.html
* modules/regex: Depend on builtin-expect.
builtin-expect: new module
regex: fix integer-overflow bug in never-used code
Problem reported by Clément Pit–Claudel in:
- http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00654.html
+ http://lists.gnu.org/r/emacs-devel/2016-12/msg00654.html
* lib/regex_internal.h: Include intprops.h.
* lib/regexec.c (re_search_2_stub): Use it to avoid undefined
behavior on integer overflow.
fpending: fix port to MinGW on Emacs
* lib/stdio-impl.h [__MINGW32__]: Do not include errno.h.
Problem reported by Eli Zaretskii in:
- http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00642.html
+ http://lists.gnu.org/r/emacs-devel/2016-12/msg00642.html
Is Plan 9 still a valid porting target, anyway?
2016-12-15 Paul Eggert <eggert@cs.ucla.edu>
Solaris 10 systems, so running configure with such a /bin/sh evokes
e.g., "./configure: syntax error at line 33602: `(' unexpected".
Reported by Assaf Gordon in
- https://lists.gnu.org/archive/html/sed-devel/2016-12/msg00002.html
+ https://lists.gnu.org/r/sed-devel/2016-12/msg00002.html
2016-12-10 Bruno Haible <bruno@clisp.org>
Relicense some modules under LGPLv2+.
Kevin Cernekee's approval is in
- http://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00090.html.
+ http://lists.gnu.org/r/bug-gnulib/2016-11/msg00090.html.
* modules/fseterr (License): Change to LGPLv2+.
* modules/mbchar (License): Likewise.
* modules/mbiter (License): Likewise.
Relicense some modules under LGPLv2+.
Paul Eggert's approval is in
- http://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00037.html.
+ http://lists.gnu.org/r/bug-gnulib/2016-11/msg00037.html.
Eric Blake's approval is in
- http://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00042.html.
+ http://lists.gnu.org/r/bug-gnulib/2016-11/msg00042.html.
Ludovic Courtès's approval is in
- http://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00038.html.
+ http://lists.gnu.org/r/bug-gnulib/2016-11/msg00038.html.
* modules/isnand-nolibm (License): Change to LGPLv2+.
* modules/isnanf-nolibm (License): Likewise.
* modules/isnanl-nolibm (License): Likewise.
lib/float+.h is already under LGPLv2+ since 2007-07-13, per
modules/vasnprintf.
Paolo Bonzini's approval for lib/frexp.c and lib/frexpl.c is in
- http://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00074.html.
+ http://lists.gnu.org/r/bug-gnulib/2016-11/msg00074.html.
All other significant changes to the files in lib/ of these modules
are from me.
* modules/memcmp2 (License): Change to LGPLv2+.
intprops: port to older XL C
Problem reported by Alexander Samoilov in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-10/msg00166.html
+ http://lists.gnu.org/r/bug-gnulib/2016-10/msg00166.html
http://savannah.nongnu.org/bugs/?49448
* lib/intprops.h (_GL_HAVE___TYPEOF__) [__IBM__TYPEOF__]:
Define to 1 only for XL C 12.1 or later, since this bug
quotearg-tests: pacify gcc -Wall
Problem reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-10/msg00066.html
+ http://lists.gnu.org/r/bug-gnulib/2016-10/msg00066.html
* tests/test-quotearg-simple.c (use_quote_double_quotes): Move here ...
* tests/test-quotearg.h: ... from here.
sched: substitute HAVE_SYS_CDEFS_H too
Problem reported by Tom G. Christensen in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-10/msg00084.html
+ http://lists.gnu.org/r/bug-gnulib/2016-10/msg00084.html
* m4/sched_h.m4 (gl_SCHED_H): Set and substitute HAVE_SYS_CDEFS_H.
* modules/sched (Depends-on): Substitute HAVE_SYS_CDEFS_H.
stdint: port SIZE_MAX to glibc s390
Problem reported by Eric Blake in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-10/msg00031.html
+ http://lists.gnu.org/r/bug-gnulib/2016-10/msg00031.html
* doc/posix-headers/stdint.texi (stdint.h): Document the fix.
* m4/stdint.m4 (gl_STDINT_H): Check that SIZE_MAX has the
correct type, if possible.
sched: port to GCC 6.2.1 on macOS Sierra
Problem reported by Denis Davydov in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-09/msg00056.html
+ http://lists.gnu.org/r/bug-gnulib/2016-09/msg00056.html
* lib/sched.in.h [HAVE_SYS_CDEFS_H]:
Include <sys/cdefs.h> before <sched.h>.
* m4/nproc.m4 (gl_PREREQ_NPROC): Include errno.h before sched.h,
stdint: also set GL_GENERATE_LIMITS_H
Problem reported by Jim Meyering in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-09/msg00052.html
+ http://lists.gnu.org/r/bug-gnulib/2016-09/msg00052.html
* m4/stdint.m4 (gl_STDINT_H): Also redo the AM_CONDITIONAL.
limits-h, stdint: Don't assume extensions, fix typo
Don't assume AC_USE_SYSTEM_EXTENSIONS.
* m4/stdint.m4 (gl_STDINT_H): Fix typo in setting of LIMITS_H,
reported by Jim Meyering in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-09/msg00050.html
+ http://lists.gnu.org/r/bug-gnulib/2016-09/msg00050.html
2016-09-21 Jim Meyering <meyering@fb.com>
* lib/getprogname.c (getprogname) [_AIX]: Use getpid, getprocs64
and strdup to obtain a short program name string. Using code from
Bruno Haible and an idea from Bastien ROUCARIÈS, in
- https://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00249.html
+ https://lists.gnu.org/r/bug-gnulib/2010-12/msg00249.html
Assaf Gordon reported that this new file would fail to compile on
AIX-7.1 32bit.
stdio: don't redefine __USE_MINGW_ANSI_STDIO
* m4/stdio_h.m4 (gl_STDIO_H): Don't define __USE_MINGW_ANSI_STDIO
if it is already defined. Apparently GNU Emacs relies on this. See:
- http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00416.html
+ http://lists.gnu.org/r/emacs-devel/2016-09/msg00416.html
2016-09-15 Eric Blake <eblake@redhat.com>
dfa: port to Solaris 9
Problems reported by Tom G. Christensen in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-09/msg00031.html
+ http://lists.gnu.org/r/bug-gnulib/2016-09/msg00031.html
* modules/dfa (Depends-on): Add isblank.
* modules/dfa-tests (dfa_match_aux_LDADD):
Rename from test_stat_LDADD, to fix typo.
* modules/getprogname-tests (Depends-on): Remove assert-h.
It was not needed, and in fact would cause build failure for
coreutils on some systems. Reported by Assaf Gordon in https:
- //lists.gnu.org/archive/html/coreutils/2016-09/msg00016.html
+ //lists.gnu.org/r/coreutils/2016-09/msg00016.html
2016-09-07 Jim Meyering <meyering@fb.com>
* modules/getprogname-tests: New file.
* tests/test-getprogname.c: New file.
Suggested by Gisle Vanem in
- https://lists.gnu.org/archive/html/bug-gnulib/2016-09/msg00014.html
+ https://lists.gnu.org/r/bug-gnulib/2016-09/msg00014.html
2016-09-07 Paul Eggert <eggert@cs.ucla.edu>
Improve parse-datetime's debug implementation: remove macros,
replace global debug flag variable with a function parameter,
use nstrftime for formatting.
- See: https://lists.gnu.org/archive/html/bug-gnulib/2016-08/msg00021.html
+ See: https://lists.gnu.org/r/bug-gnulib/2016-08/msg00021.html
* lib/parse-datetime.h: (parse_datetime_debug): Remove global extern.
(parse_datetime2): New function, accepts 'flags' parameter, supporting
debug flag. Existing interface 'parse_datetime' left unmodified.
canonicalize-lgpl: fix errno after malloca fails
This fixes a typo I recently introduced. Suggested by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-08/msg00039.html
+ http://lists.gnu.org/r/bug-gnulib/2016-08/msg00039.html
* lib/canonicalize-lgpl.c (__realpath):
Don't assume malloca sets errno on failure.
stdbool: don't require _Bool for C++
Problem reported by David Seifert in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-06/msg00005.html
+ http://lists.gnu.org/r/bug-gnulib/2016-06/msg00005.html
* NEWS, doc/posix-headers/stdbool.texi (stdbool.h): Document this.
* m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Make the check
more-forgiving for C++, in that it requires only 'bool'. Be a bit
obstack: pacify GCC 6 with -Wnull-dereference
Problem reported by Assaf Gordon in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-07/msg00028.html
+ http://lists.gnu.org/r/bug-gnulib/2016-07/msg00028.html
* lib/obstack.c, lib/obstack.h (obstack_alloc_failed_handler):
Declare with __attribute_noreturn__.
* lib/obstack.h (__attribute_noreturn__): New macro.
mktime: call tzset as per POSIX
Problem reported by Ludovic Courtès in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-06/msg00068.html
+ http://lists.gnu.org/r/bug-gnulib/2016-06/msg00068.html
* lib/mktime.c (mktime) [!_LIBC && HAVE_TZSET]: Call tzset.
* m4/mktime.m4 (gl_FUNC_MKTIME): Check for tzset.
xalloc-oversized: port to GCC 7; fewer warnings
GCC 7 will have a better way to deal with integer overflow.
Plus, fix a warnings problem reported by Tim Ruehsen in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-06/msg00022.html
+ http://lists.gnu.org/r/bug-gnulib/2016-06/msg00022.html
* lib/xalloc-oversized.h (__xalloc_oversized): New macro.
(xalloc_oversized): Use plain __builtin_mul_overflow if GCC 7 or later.
For GCC 5, use __xalloc_oversized if both args are constants,
git-version-gen: avoid undefined shift
Problem reported by Mosè Giordano in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-05/msg00012.html
+ http://lists.gnu.org/r/bug-gnulib/2016-05/msg00012.html
* build-aux/git-version-gen: Avoid undefined behavior if invoked
with --prefix or --fallback but without a later argument. While
we're at it, omit unnecessary quotes.
intprops: check two's complement assumption
Suggested by Eric Blake in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00016.html
+ http://lists.gnu.org/r/bug-gnulib/2016-04/msg00016.html
* lib/intprops.h: Include <verify.h>. Verify that signed char,
short, int, long, and (if available) long long are two's complement.
* modules/intprops (Depends-on): Add 'verify'.
argp: merge changes from glibc
Among other things, this should fix problems found by a Coverity
scan and reported by Andrei Borzenkov:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00015.html
- http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00016.html
+ http://lists.gnu.org/r/bug-gnulib/2016-01/msg00015.html
+ http://lists.gnu.org/r/bug-gnulib/2016-01/msg00016.html
* lib/argp-ba.c, lib/argp-fmtstream.c, lib/argp-fmtstream.h:
* lib/argp-fs-xinl.c, lib/argp-help.c, lib/argp-namefrob.h:
* lib/argp-parse.c, lib/argp-pv.c, lib/argp-pvh.c, lib/argp-xinl.c:
stddef: support configuring with g++
Problem reported by Ángel González in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-04/msg00003.html
+ http://lists.gnu.org/r/bug-gnulib/2016-04/msg00003.html
* lib/stddef.in.h (_GL_STDDEF_ALIGNAS, max_align_t):
Do not define if _GCC_MAX_ALIGN_T is defined.
sys_select: port to new Cygwin
Problem reported by Ken Brown in:
- https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00054.html
+ https://lists.gnu.org/r/bug-gnulib/2016-03/msg00054.html
* lib/sys_select.in.h [__CYGWIN__]: Avoid "unknown type name"
diagnostics.
select: port more to Intel 2016.1.150 compiler
Problem reported by Balázs Hajgató in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00036.html
+ http://lists.gnu.org/r/bug-gnulib/2016-03/msg00036.html
* m4/select.m4 (gl_FUNC_SELECT): Require AC_C_RESTRICT.
2016-03-14 Paul Eggert <eggert@cs.ucla.edu>
select: try to port to 2016.1.150 compiler
Problem reported by Balázs Hajgató in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00026.html
+ http://lists.gnu.org/r/bug-gnulib/2016-03/msg00026.html
* lib/sys_select.in.h (select): Use 'restrict' on arguments where
POSIX specifies 'restrict'.
* m4/extern-inline.m4 (gl_EXTERN_INLINE): For PGI CC, don't use the
keyword 'inline'.
Reported by Adam James Stewart in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00006.html
+ http://lists.gnu.org/r/bug-gnulib/2016-03/msg00006.html
2016-02-20 Paul Eggert <eggert@cs.ucla.edu>
signbit: port to C++ with GCC 6
* lib/math.in.h (signbit) [__cplusplus]:
Do not replace with GCC builtin. Reported by Orion Poplawski in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-02/msg00005.html
+ http://lists.gnu.org/r/bug-gnulib/2016-02/msg00005.html
* lib/regex_internal.h (IDX_MAX) [_REGEX_LARGE_OFFSETS]: Now SSIZE_MAX.
stdalign: port to clang 3.7.0
Problem reported by Herbert J. Skuhra in:
- http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00476.html
+ http://lists.gnu.org/r/emacs-devel/2016-02/msg00476.html
* lib/stdalign.in.h (alignas): Fix typo that prevented 'alignas'
from being defined on clang 3.7.0, which has a buggy stdalign.h. See:
https://llvm.org/bugs/show_bug.cgi?id=26547
gettext: mark as obsolete
Suggested by Paul Eggert in:
- https://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00101.html
+ https://lists.gnu.org/r/bug-gnulib/2016-01/msg00101.html
* modules/gettext (Status): Mark as obsolete.
(Notice): Suggest to use 'gettext-h' instead.
* modules/gettext-h (Description): Suggest GNU gettext, instead of
* gnulib-tool (func_ln_s): Don't give up on a later ln -s merely
because an earlier one failed. The targets could be on different
file systems. Problem reported by KO Myung-Hun in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00081.html
+ http://lists.gnu.org/r/bug-gnulib/2016-01/msg00081.html
closedir: fix OS/2-related typos
Problem reported by KO Myung-Hun in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00107.html
+ http://lists.gnu.org/r/bug-gnulib/2016-01/msg00107.html
* m4/closedir.m4 (gl_FUNC_CLOSEDIR): Fix a couple of typos
in the last couple of changes.
regex: treat [x] as x if x is a unibyte encoding error
Problem reported by Aharon Robbins in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00091.html
+ http://lists.gnu.org/r/bug-gnulib/2016-01/msg00091.html
* lib/regcomp.c (parse_byte) [!_LIBC && RE_ENABLE_I18N]: New function.
(build_range_exp) [!_LIBC && RE_ENABLE_I18N]: Use it.
utimens-tests: avoid pulling gettext .m4 files
Although this is not the right fix to the original problem:
- http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00086.html
+ http://lists.gnu.org/r/bug-gnulib/2013-01/msg00086.html
it makes it possible again for consumer projects to use arbitrary
version of gettext, through the steps described at:
http://www.gnu.org/software/gnulib/manual/html_node/gettextize-and-autopoint.html
See here for details:
- https://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00079.html
+ https://lists.gnu.org/r/bug-gnulib/2016-01/msg00079.html
* modules/futimens-tests (Depends-on): Add 'gettext-h' in place of
'gettext'.
* modules/utimens-tests (Depends-on): Add 'gettext-h' in place of
regex: pacify static checkers
Problem and draft fix reported by Aharon Robbins in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00082.html
+ http://lists.gnu.org/r/bug-gnulib/2016-01/msg00082.html
* lib/regcomp.c (build_charclass_op, create_tree) [lint]:
Clear memory to pacify static checkers.
regex: fix [ diagnostic
Problem and fix reported by Aharon Robbins in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00082.html
+ http://lists.gnu.org/r/bug-gnulib/2016-01/msg00082.html
* lib/regcomp.c (REG_EBRACK_IDX): Fix misleading diagnostic about [.
regex: fix memory leaks
Problem and draft fix reported by Aharon Robbins in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00082.html
+ http://lists.gnu.org/r/bug-gnulib/2016-01/msg00082.html
* lib/regcomp.c (build_range_exp, build_charclass_op)
* lib/regex_internal.c (re_dfa_add_node):
Fix memory leak on failure.
2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
Port "$@" to OpenIndiana ksh93
- In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
+ In http://lists.gnu.org/r/bug-autoconf/2015-12/msg00000.html
Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
(derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
bug long-dead shells, so remove the workaround.
msvc-inval: fix problem with unset shell var
Problem reported by Karl Berry in:
- http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00004.html
+ http://lists.gnu.org/r/bug-gnulib/2016-01/msg00004.html
* modules/msvc-inval (Depends-on):
AC_REQUIRE gl_MSVC_INVAL instead of merely calling it.
* modules/msvc-nothrow (Depends-on): Likewise for gl_MSVC_NOTHROW.
intprops: comment fix
* lib/intprops.h: Fix comment. Reported by Pádraig Brady in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-12/msg00013.html
+ http://lists.gnu.org/r/bug-gnulib/2015-12/msg00013.html
intprops-test: work around GCC bug 68971
Problem reported by Pádraig Brady in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-12/msg00011.html
+ http://lists.gnu.org/r/bug-gnulib/2015-12/msg00011.html
* tests/test-intprops.c: Ignore -Woverflow in GCC 6 and earlier.
(main): Add a case that better tests 64-bit long in this area.
intprops-test: suppress -Woverlength-strings
Problem reported by Pádraig Brady in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-11/msg00008.html
+ http://lists.gnu.org/r/bug-gnulib/2015-11/msg00008.html
It is not worth the hassle to port this test to compilers that
cannot handle long strings in diagnostics.
* tests/test-intprops.c [__GNUC__]: Ignore -Woverlength-strings.
stdalign: work around pre-4.9 GCC x86 bug
* lib/stdalign.in.h (_Alignof): Work around bug in pre-4.9 GCC on
x86, when -std=gnu11 is used. Problem reported by Jim Meyering in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-10/msg00038.html
+ http://lists.gnu.org/r/bug-gnulib/2015-10/msg00038.html
2015-10-18 Pádraig Brady <P@draigBrady.com>
* lib/localename.c: Wrap langinfo.h include with same ifdefs used
in the source later on.
The patch was originally submitted to gettext as:
- https://lists.gnu.org/archive/html/bug-gettext/2015-10/msg00011.html
+ https://lists.gnu.org/r/bug-gettext/2015-10/msg00011.html
2015-10-13 Paul Eggert <eggert@cs.ucla.edu>
c-ctype: do not worry about EBCDIC + char signed
Drop support for EBCDIC with char being signed, as this breaks too
many programs. Problem reported by Ben Pfaff in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-09/msg00053.html
+ http://lists.gnu.org/r/bug-gnulib/2015-09/msg00053.html
* lib/c-ctype.h: Verify that we are not using EBCDIC with
char being signed.
(_C_CTYPE_LOWER_A_THRU_F_N): New macro.
c-ctype: port better to z/OS EBCDIC
Problems reported by Daniel Richard G. in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-09/msg00050.html
+ http://lists.gnu.org/r/bug-gnulib/2015-09/msg00050.html
* lib/c-ctype.h (_C_CTYPE_CNTRL): Rewrite in terms of
the C standard escapes and _C_CTYPE_OTHER_CNTRL.
(_C_CTYPE_OTHER_CNTRL): New macro.
AM_PROG_AR as soon as possible to decide other cases.
References:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-07/msg00001.html
+ http://lists.gnu.org/r/bug-gnulib/2015-07/msg00001.html
* m4/gnulib-common.m4 (gl_PROG_AR_RANLIB): AC_BEFORE AM_PROG_AR.
Set the AR/ARFLAGS to ACK defaults OR call AM_PROG_AR. If neither
sockets: MS Windows initalization fixes
Problem reported by Test User in:
- http://lists.gnu.org/archive/html/help-shishi/2015-09/msg00001.html
+ http://lists.gnu.org/r/help-shishi/2015-09/msg00001.html
* lib/sockets.h (SOCKETS_1_0, SOCKETS_2_0, SOCKETS_2_1):
Correct the endianness.
* lib/sockets.c (gl_sockets_startup): Return 2 on any version
source code lists every ASCII character individually in a large
switch statement.
Also, fix some z/OS porting bugs reported by Daniel Richard G. in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-09/msg00037.html
+ http://lists.gnu.org/r/bug-gnulib/2015-09/msg00037.html
* NEWS: Document the API change.
* lib/c-ctype.c: Drastically simplify, since this now just expands
inline functions.
Test that c_iscntrl agrees with iscntrl, etc.
Suggested by Daniel Richard G. in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-09/msg00034.html
+ http://lists.gnu.org/r/bug-gnulib/2015-09/msg00034.html
* modules/c-ctype-tests (Depends-on): Add ctype.
* tests/test-c-ctype.c: Include <ctype.h>.
(NCHARS): New constant.
c-ctype: port better to EBCDIC
Problems reported by Daniel Richard G. in
- http://lists.gnu.org/archive/html/bug-gnulib/2015-09/msg00020.html
+ http://lists.gnu.org/r/bug-gnulib/2015-09/msg00020.html
* lib/c-ctype.c: Include <limits.h>, for CHAR_MIN and CHAR_MAX.
Include "verify.h".
(C_CTYPE_ASCII, C_CTYPE_CONSECUTIVE_DIGITS)
ceill: detect buggy OpenBSD implementation
* m4/ceill.m4 (gl_FUNC_CEILL): Detect buggy openBSD implementation
which returns zero for small values. Discussed here:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-08/msg00010.html
+ http://lists.gnu.org/r/bug-gnulib/2015-08/msg00010.html
2015-09-08 Dave Chiluk <chiluk@canonical.com>
Improve port of stdalign to C++11
Problem reported by Sundaram in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-08/msg00003.html
+ http://lists.gnu.org/r/bug-gnulib/2015-08/msg00003.html
* lib/stdalign.in.h (alignof, alignas): Don't define if C++11 or newer.
(__alignas_is_defined): Define if C++11 or newer.
On slower platforms (e.g., Solaris 10/SPARC), u{16,32}-strstr
tests can take longer than 5 seconds to complete.
Reported by Dagobert Michelsen in:
- https://lists.gnu.org/archive/html/bug-libunistring/2015-06/msg00006.html
+ https://lists.gnu.org/r/bug-libunistring/2015-06/msg00006.html
* tests/unistr/test-u16-strstr.c (main): Increase timeout from 5
seconds to 10 seconds.
* tests/unistr/test-u32-strstr.c (main): Likewise.
selinux-h: avoid double free after *getfilecon()
Originally reported by Ben Shelton on bug-tar:
- http://lists.gnu.org/archive/html/bug-tar/2015-04/msg00009.html
+ http://lists.gnu.org/r/bug-tar/2015-04/msg00009.html
* lib/getfilecon.c (map_to_failure): Set the already freed '*con'
pointer to NULL. Man getfilecon(3) says that any non-NULL '*con'
param should be freed by freecon(3) (regardless the return value).
wchar: fix MinGW compilation warnings
This lets Texinfo compile cleanly. See Eli Zaretskii in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-06/msg00050.html
+ http://lists.gnu.org/r/bug-gnulib/2015-06/msg00050.html
* lib/wchar.in.h: Do not use special invocation convention on MinGW.
2015-06-20 Daiki Ueno <ueno@gnu.org>
file-has-acl: port to CentOS 6
Problem reported by Tom G. Christensen in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-04/msg00074.html
+ http://lists.gnu.org/r/bug-gnulib/2015-04/msg00074.html
* lib/file-has-acl.c: Use GETXATTR_WITH_POSIX_ACLS instead of a
combination of HAVE_SYS_XATTR_H, HAVE_LINUX_XATTR_H, and
HAVE_GETXATTR.
Have the test program call 'symlink' rather than a separate
script run 'ln -s'; this is more likely to work in
cross-compilation environments. Reported by Pavel Fedin in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-04/msg00060.html
+ http://lists.gnu.org/r/bug-gnulib/2015-04/msg00060.html
2015-04-16 Ludovic Courtès <ludo@gnu.org>
* build-aux/gitlog-to-changelog (git_dir_option):
Use strftime with "%Y-%m-%d", not "%F", to avoid a bug in
MS-Windows Perl. Reported by Eli Zaretskii in:
- http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
+ http://lists.gnu.org/r/emacs-devel/2015-04/msg00504.html
2015-04-07 Karl Berry <karl@gnu.org>
* config/srclistvars.sh (GETTEXT): new definition.
* config/srclist.txt: use it for gettext .m4 files.
- Thread starting at http://lists.gnu.org/archive/html/bug-gnulib/201
- and confirmed at http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00146.html
+ Thread starting at http://lists.gnu.org/r/bug-gnulib/201
+ and confirmed at http://lists.gnu.org/r/bug-gnulib/2015-02/msg00146.html
and continuing into April.
2015-04-07 Daiki Ueno <ueno@gnu.org>
uniname/uniname-tests: fix failure due to alias
Reported by Jack Howarth in:
- <https://lists.gnu.org/archive/html/bug-libunistring/2015-04/msg00000.html>.
+ <https://lists.gnu.org/r/bug-libunistring/2015-04/msg00000.html>.
* tests/uniname/test-uninames.c (name_has_alias): New function.
(test_inverse_lookup): Exclude character name with valid alias,
from randomly generated character names.
* lib/mountlist.c (read_file_system_list): Parse /proc/self/mountinfo
directly, rather than depending on libmount, which has many
dependencies due to its dependence on libselinux, as detailed at:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-01/msg00063.html
+ http://lists.gnu.org/r/bug-gnulib/2015-01/msg00063.html
Note we restrict this to __linux__ as that's probably where this
interface will remain. If ever porting, it would be best
to first pull the makedev() wrapper from coreutils to a gnulib module.
fdopendir-tests: test it does not close its arg
* tests/test-fdopendir.c (main): Test that fdopendir does not
close its argument. From a suggestion by David Grayson in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-03/msg00039.html
+ http://lists.gnu.org/r/bug-gnulib/2015-03/msg00039.html
2015-03-20 Paul Eggert <eggert@cs.ucla.edu>
fdopendir: port better to MinGW
* lib/fdopendir.c (fd_clone_opendir) [REPLACE_FCHDIR]:
Use 'dup' if dirfd fails. Suggested by Eli Zaretskii in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-03/msg00033.html
+ http://lists.gnu.org/r/bug-gnulib/2015-03/msg00033.html
* modules/fdopendir (Depends-on): Add dirfd.
2015-03-18 Paul Eggert <eggert@cs.ucla.edu>
vasnprintf: pacify clang 3.5.0
Problem reported by Werner Lemberg in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-03/msg00000.html
+ http://lists.gnu.org/r/bug-gnulib/2015-03/msg00000.html
* lib/vasnprintf.c (VASNPRINTF): Omit casts that clang objects to.
The casts aren't needed, since the characters in question are ASCII.
poll: port to MSVC v18 on MS-Windows 8.1
Problem reported by Gisle Vanem in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00139.html
+ http://lists.gnu.org/r/bug-gnulib/2015-02/msg00139.html
* lib/poll.c: Always include <sys/select.h> and <sys/socket.h>.
* modules/poll (Depends-on) [!HAVE_POLL || REPLACE_POLL]:
Add sys_socket.
dup2: doc and test for Android bug
Reported by Kevin Cernekee in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00125.html
+ http://lists.gnu.org/r/bug-gnulib/2015-02/msg00125.html
* doc/posix-functions/dup2.texi (dup2): Document the bug.
* m4/dup2.m4 (gl_FUNC_DUP2): Test for the bug.
Android doesn't define RLIM_SAVED_*
Portability problem reported by Kevin Cernekee in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00122.html
+ http://lists.gnu.org/r/bug-gnulib/2015-02/msg00122.html
* doc/posix-headers/sys_resource.texi (sys/resource.h):
Mention the portability problem.
* lib/getdtablesize.c (RLIM_SAVED_CUR, RLIM_SAVED_MAX):
getdtablesize: port better for Android
Problem reported by Kevin Cernekee in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00112.html
+ http://lists.gnu.org/r/bug-gnulib/2015-02/msg00112.html
* doc/glibc-functions/getdtablesize.texi (getdtablesize): Mention bug.
* lib/getdtablesize.c (getdtablesize): Don't fall back on _SC_OPEN_MAX.
Instead, just use getrlimit, taking care to avoid Cygwin bug.
dup2, fcntl: cross-compile better for Android
Problem reported by Kevin Cernekee in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00109.html
+ http://lists.gnu.org/r/bug-gnulib/2015-02/msg00109.html
* m4/dup2.m4 (gl_FUNC_DUP2): Don't guess no when cross-compiling
for a Linux kernel. That kernel bug was fixed on 2009-05-11, and
there's little need to cross-compile for older kernels nowadays.
Prefer getrusage (RLIM_NOFILE ...)/rlim_cur to sysconf (_SC_OPEN_MAX).
The former works on AIX 7.1 but the latter does not.
Also, this may work better with Android; see:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00100.html
+ http://lists.gnu.org/r/bug-gnulib/2015-02/msg00100.html
2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
getdtablesize, dup2, fcntl: port to Android
Problem reported by Kevin Cernekee in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00092.html
+ http://lists.gnu.org/r/bug-gnulib/2015-02/msg00092.html
* doc/glibc-functions/getdtablesize.texi (getdtablesize):
Mention that getdtablesize doesn't work on Android.
* lib/getdtablesize.c: Use getrlimit substitute only if
crypto/gc: fix a -Wswitch warning
Reported by Bruce Korb in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00046.html
+ http://lists.gnu.org/r/bug-gnulib/2015-02/msg00046.html
* lib/gc-gnulib.c (gc_hash_open): Fail faster if MODE is nonzero.
2015-02-03 Pádraig Brady <P@draigBrady.com>
time: port to MinGW32 3.21
Problem reported by Eli Zaretskii in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-01/msg00042.html
+ http://lists.gnu.org/r/bug-gnulib/2015-01/msg00042.html
* lib/time.in.h:
* m4/time_h.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC):
* modules/time (Depends-on):
tag, which only allowed 16 groups. This removes the limitation by
switching to binary search on a table. For the detail rationale
and the benchmark results, see:
- https://lists.gnu.org/archive/html/bug-libunistring/2014-06/msg00001.html
+ https://lists.gnu.org/r/bug-libunistring/2014-06/msg00001.html
* lib/uniname/gen-uninames.lisp (unicode-char): Rename CODE member
to INDEX, as it no longer represents a codepoint.
(range): New struct.
* m4/ld-version-script.m4 (gl_LD_VERSION_SCRIPT):
Cache the check for linker version scripts.
From a suggestion by Christophe Curis in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-01/msg00011.html
+ http://lists.gnu.org/r/bug-gnulib/2015-01/msg00011.html
2015-01-04 Benno Schulenberg <bensberg@justemail.net>
gendocs: copyright date and version fix
Reported by Karl Berry in:
- http://lists.gnu.org/archive/html/bug-gnulib/2015-01/msg00002.html
+ http://lists.gnu.org/r/bug-gnulib/2015-01/msg00002.html
* build-aux/gendocs.sh, doc/gendocs_template, doc/gendocs_template_min:
Fix copyright date.
* build-aux/gendocs.sh (scriptversion): Update.
This works better than 'assert' when compiling with -DNDEBUG,
as it avoids some compiler diagnostics in that case.
Reported by Norihiro Tanaka in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-12/msg00215.html
+ http://lists.gnu.org/r/bug-gnulib/2014-12/msg00215.html
* MODULES.html.sh (func_all_modules): Add 'assure'.
* lib/assure.h, modules/assure: New files.
* lib/chdir-long.c, lib/cycle-check.c, lib/fchdir.c, lib/fts.c:
stdalign: work around Apple GCC 4.0 bug
Reported by David Fang in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-12/msg00194.html
+ http://lists.gnu.org/r/bug-gnulib/2014-12/msg00194.html
* lib/stdalign.in.h (_Alignas):
* m4/stdalign.m4 (gl_STDALIGN_H):
Do not use aligned attribute with GCC 4.0 on Apple.
* tests/unicase/test-locale-language.sh: Really use $LOCALE_FR for
a French locale with traditional encoding.
Reported by umerqayam in:
- http://lists.gnu.org/archive/html/bug-libunistring/2014-12/msg00000.html
+ http://lists.gnu.org/r/bug-libunistring/2014-12/msg00000.html
2014-12-12 Paul Eggert <eggert@cs.ucla.edu>
fts: port to C89
Problem reported for MSVC 16 by Gisle Vanem in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-11/msg00027.html
+ http://lists.gnu.org/r/bug-gnulib/2014-11/msg00027.html
* lib/fts.c (fts_build): Avoid declaration before statement.
2014-11-06 Paul Eggert <eggert@cs.ucla.edu>
unistd: port to iOS
Problem reported by André Klitzing in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-11/msg00013.html
+ http://lists.gnu.org/r/bug-gnulib/2014-11/msg00013.html
* lib/unistd.in.h (environ): Do not include crt_externs.h on iOS.
2014-11-05 Paul Eggert <eggert@cs.ucla.edu>
obstack: do not reject malloc-style obstack_chunkfun, obstack_freefun
Problem reported by Alan Modra in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-11/msg00007.html
+ http://lists.gnu.org/r/bug-gnulib/2014-11/msg00007.html
* lib/obstack.h (obstack_chunkfun, obstack_freefun):
Always cast the function arg, reverting this part of the previous
change.
or 'char **'. If CC is g++, the difference causes a compile error
and thus leads to a false detection of non-working iconv.
Reported by Eli Zaretskii and Werner LEMBERG in:
- <https://lists.gnu.org/archive/html/bug-gnulib/2014-10/msg00023.html>.
+ <https://lists.gnu.org/r/bug-gnulib/2014-10/msg00023.html>.
* m4/iconv.m4 (AM_ICONV_LINK): Try all possible argument types of
iconv. Bump serial number.
qsort_r: include <config.h>
Problem reported by Tom G. Christensen in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-09/msg00071.html
+ http://lists.gnu.org/r/bug-gnulib/2014-09/msg00071.html
* lib/qsort.c [!_LIBC]: Include <config.h> first.
2014-09-16 Dylan Cali <calid1984@gmail.com>
pthread, pthread_sigmask, threadlib: port to Ubuntu 14.04
Problem reported by Assaf Gordon in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-09/msg00023.html
+ http://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html
Apparently Ubuntu is doing some fancy link-time optimization
that doesn't work with -lpthread but does work with -pthread.
Work around the bug by preferring -pthread to -lpthread.
vla: new module
GNU RCS can use this, mostly for documentation I expect. See:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00025.html
+ http://lists.gnu.org/r/bug-gnulib/2014-08/msg00025.html
* MODULES.html.sh: Add vla.
* lib/vla.h, modules/vla: New files.
getpass: don't assume struct termios
Problem report and trivial fix by Jonas 'Sortie' Termansen in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00015.html
+ http://lists.gnu.org/r/bug-gnulib/2014-08/msg00015.html
* lib/getpass.c (getpass): Port to systems lacking struct termios.
getdtablesize: fall back on sysconf (_SC_OPEN_MAX)
Problem reported by Jonas 'Sortie' Termansen in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00023.html
+ http://lists.gnu.org/r/bug-gnulib/2014-08/msg00023.html
* lib/getdtablesize.c (getdtablesize) [_SC_OPEN_MAX]:
Implement via sysconf for platforms that lack getdtablesize.
* m4/extern-inline.m4 (gl_EXTERN_INLINE): Also assume the bug
is present if either __DragonFly__ or __FreeBSD__ is defined.
FreeBSD problem reported by Andrey Borzenkov in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00104.html
+ http://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
Also, worry about __APPLE__ only if __MACH__ is also defined,
as this is more consistent with the rest of gnulib.
(_GL_EXTERN_INLINE_STDHEADER_BUG): Rename this internal macro from
Bruno Haible has stepped down as maintainer.
See Karl Berry in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00004.html
+ http://lists.gnu.org/r/bug-gnulib/2014-07/msg00004.html
Daiki Ueno has volunteered to maintain libunistring; see:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00005.html
+ http://lists.gnu.org/r/bug-gnulib/2014-07/msg00005.html
* modules/gen-uni-tables, modules/libunistring:
* modules/libunistring-optional, modules/ucs4-utf16, modules/ucs4-utf8:
* modules/unicase/base, modules/unicase/cased:
* lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
as that works with both Glibc's and Gnulib's style.
See thread starting at Siddhesh Poyarekar's bug report at:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
+ http://lists.gnu.org/r/bug-gnulib/2014-06/msg00102.html
2014-06-20 Alfred M. Szmidt <ams@gnu.org>
acl: port to gcc -Wredundant-decls
From a request by Dmitry Antipov in:
- http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html
+ http://lists.gnu.org/r/emacs-devel/2014-06/msg00263.html
* lib/acl.h (_GL_ACL_H): New macro. Protect entire contents with
"#ifndef _GL_ACL_H".
printf, config.rpath: Port to FreeBSD 10.
Problem reported by Tijl Coosemans in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-05/msg00078.html
+ http://lists.gnu.org/r/bug-gnulib/2014-05/msg00078.html
* build-aux/config.rpath (hardcode_libdir_flag_spec)
(hardcode_direct): Simplify FreeBSD configuration.
(library_names_spec): Don't mishandle FreeBSD 10+.
doc: document exec* = spawn+exit bug with non-Cygwin Windows platforms
Problem reported by Eli Zaretskii in:
- http://lists.gnu.org/archive/html/bug-grep/2014-05/msg00118.html
+ http://lists.gnu.org/r/bug-grep/2014-05/msg00118.html
* doc/posix-functions/execl.texi (execl):
* doc/posix-functions/execle.texi (execle):
* doc/posix-functions/execlp.texi (execlp):
It's no longer needed, because of the 2012-12-29 patch
"regex: port to hosts where malloc (0) == NULL".
Reported by Nathan Kennedy in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-04/msg00026.html
+ http://lists.gnu.org/r/bug-gnulib/2014-04/msg00026.html
2014-04-16 Assaf Gordon <agordon@wi.mit.edu>
This change will ease merging with glibc. The "#if ... __NEXT__"
causes a warning with -Wundef which glibc now enables by default.
Problem reported by Will Newton in
- <http://lists.gnu.org/archive/html/bug-gnulib/2014-03/msg00032.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2014-03/msg00032.html>.
glibc <sys/cdefs.h> now uses __extension__ for GCC 2.8 or later,
so go with that.
* lib/obstack.h (__extension__):
gitlog-to-changelog: include a dummy git-log-fix file
Problem reported by Nathan Stratton Treadway in:
- http://lists.gnu.org/archive/html/bug-tar/2014-03/msg00082.html
+ http://lists.gnu.org/r/bug-tar/2014-03/msg00082.html
* build-aux/git-log-fix: New file.
2014-03-13 Jim Meyering <meyering@fb.com>
stdint, read-file: fix missing SIZE_MAX on Android (tiny change)
This is basically one of the options Bruno Haible proposed in:
- http://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00282.html
+ http://lists.gnu.org/r/bug-gnulib/2012-01/msg00282.html
* lib/sys_types.in.h (_GL_INCLUDING_UNISTD_H): New macro.
* lib/stdint.in.h: Use it.
* modules/stdint (Depends-on): Add sys_types.
* lib/savedir.h (SAVEDIR_SORT_FASTREAD): New symbol, for programs
like GNU cp that want to use SAVEDIR_SORT_INODE if available,
SAVEDIR_SORT_NONE otherwise. Problem reported by Bernhard Voelker in:
- http://lists.gnu.org/archive/html/coreutils/2014-02/msg00037.html
+ http://lists.gnu.org/r/coreutils/2014-02/msg00037.html
2014-02-25 Paul Eggert <eggert@penguin.cs.ucla.edu>
descriptor that is not open, as POSIX doesn't specify the
resulting behavior and the test does not work on Tru64.
Problem reported by Steven M. Schweda in:
- http://lists.gnu.org/archive/html/bug-gnulib/2014-01/msg00079.html
+ http://lists.gnu.org/r/bug-gnulib/2014-01/msg00079.html
stdalign: port to HP-UX compilers
* lib/stdalign.in.h (_Alignas): Use __attribute__ (__aligned__ (x))
VMS's pre-C99 compiler lacks 'long long', so 'configure' doesn't
check whether strtoll is declared, which causes the C file to
wrongly report an error. Problem reported by Steven M. Schweda in:
- http://lists.gnu.org/archive/html/bug-diffutils/2014-01/msg00003.html
+ http://lists.gnu.org/r/bug-diffutils/2014-01/msg00003.html
* lib/strtoimax.c (strtoull):
Declare only if HAVE_UNSIGNED_LONG_LONG_INT.
(strtoll): Declare only if HAVE_LONG_LONG_INT.
relocatable-script: remove unused code
Problem reported by Reuben Thomas in:
- http://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00117.html
+ http://lists.gnu.org/r/bug-gnulib/2013-12/msg00117.html
* build-aux/relocatable.sh.in (func_tmpdir): Remove unused function.
2014-01-01 Jim Meyering <meyering@fb.com>
qacl: port to Windows better
See Eli Zaretskii in
- <http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00593.html>.
+ <http://lists.gnu.org/r/emacs-devel/2013-12/msg00593.html>.
* lib/file-has-acl.c (acl_access_nontrivial):
Return -1 and set errno if !HAVE_ACL_FIRST_ENTRY &&
!HAVE_ACL_TO_SHORT_TEXT && !HAVE_ACL_FREE_TEXT.
gl_CRYPTO_CHECK, one that is reflected in the --help message.
Emacs uses this, as well as the old way.
This attempts to implement a suggestion by Pádraig Brady in
- <http://lists.gnu.org/archive/html/coreutils/2013-12/msg00080.html>.
+ <http://lists.gnu.org/r/coreutils/2013-12/msg00080.html>.
* m4/gl-openssl.m4(gl_SET_CRYPTO_CHECK_DEFAULT): New macro.
(gl_CRYPTO_CHECK): Use it. Mention the default in --help output.
open-tests: port to glibc with _FORTIFY_SOURCE and -O1
Problem reported by Daiki Ueno in:
- http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00052.html
+ http://lists.gnu.org/r/bug-gnulib/2013-06/msg00052.html
* tests/test-open.h (__always_inline):
New macro, if not already defined.
(test_open): Use it.
ignore-value: revert previous code change
* lib/ignore-value.h (ignore_value): Use __extension__ and
__typeof__ only for GCC 3.4 and later. Reported by Eric Blake in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00102.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-11/msg00102.html>.
Change the comment to try to explain this better.
2013-11-27 Pádraig Brady <P@draigBrady.com>
error: depend on stdio
Problem reported by Nikos Mavrogiannopoulos in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00084.html>
+ <http://lists.gnu.org/r/bug-gnulib/2013-11/msg00084.html>
* modules/error (Depends-on): Add stdio.
2013-11-18 Ben Pfaff <blp@cs.stanford.edu>
* m4/fpending.m4 (gl_FUNC_FPENDING): Check for declaration.
* lib/fpending.h (__fpending): Don't declare twice.
Reported by GW in
- <https://lists.gnu.org/archive/html/bug-m4/2013-11/msg00000.html>
+ <https://lists.gnu.org/r/bug-m4/2013-11/msg00000.html>
2013-11-05 Jim Meyering <meyering@fb.com>
isnan: port to VAX
Reported by John Klos for NetBSD-5/VAX in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00133.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-10/msg00133.html>.
* lib/isnan.c (IEEE_FLOATING_POINT): New macro, stolen from Emacs.
(FUNC): Use it.
extern-inline: make safe for -Wundef usage
Reported by Vladimir 'phcoder' Serbinenko in
- https://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00078.html
+ https://lists.gnu.org/r/bug-gnulib/2013-10/msg00078.html
* m4/extern-inline.m4 (gl_EXTERN_INLINE): Port to older gcc.
2013-10-16 Paul Eggert <eggert@cs.ucla.edu>
mkfifo-tests, etc.: allow HP-UX 11.11 bug
Problem reported by Daniel Richard G. in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00068.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-10/msg00068.html>.
* doc/posix-functions/mkfifo.texi (mkfifo):
* doc/posix-functions/mkfifoat.texi (mkfifoat):
* doc/posix-functions/mknod.texi (mknod):
acl: allow cross-compilation to Gentoo
Problem reported by Gabriel Marcano in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00058.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-10/msg00058.html>.
* m4/acl.m4 (gl_ACL_GET_FILE): When cross-compiling,
test only whether it links.
says that tests can't depend on realloc-gnu; some tests depend
on mgetgroups, so mgetgroups can't depend on realloc-gnu.
Problem reported by Daniel Richard G. in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00056.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-10/msg00056.html>.
* lib/mgetgroups.c (mgetgroups): Don't call realloc (NULL, 0).
* modules/mgetgroups (Depends-on): Depend on realloc-posix,
not realloc-gnu.
regex-tests: port to HP-UX 11.11
Problem reported by Daniel Richard G. in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00052.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-10/msg00052.html>.
* modules/regex-tests (test_regex_LDADD): Add LIBTHREAD, LIB_PTHREAD.
2013-10-10 Paul Eggert <eggert@cs.ucla.edu>
strtoumax: port to Solaris 8
This problem was introduced in the recent HP-UX patch.
Reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00037.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-10/msg00037.html>.
* modules/strtoumax (Depends-on): Test HAVE_STRTOUMAX
and REPLACE_STRTOUMAX rather than ac_cv_func_strtoumax.
strtoimax, strtoumax: port to HP-UX 11.11
Problem reported by Daniel Richard G. in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00023.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-10/msg00023.html>.
* lib/inttypes.in.h (strtoumax): Replace strtoumax if
REPLACE_STRTOUMAX, thus treating it consistently with strtoimax.
* m4/inttypes.m4 (gl_INTTYPES_H_DEFAULTS): Add default for
warnings: port --enable-gcc-warnings to Solaris Studio 12.3
Problem reported by Dagobert Michelsen via Eric Blake in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-09/msg00052.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-09/msg00052.html>.
* m4/warnings.m4 (gl_COMPILER_OPTION_IF): Use AC_LINK_IFELSE,
not AC_COMPILE_IFELSE.
fflush, freadahead, fseeko: Fix for Android
Suggested by Bruno Haible in:
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00306.html>
+ <http://lists.gnu.org/r/bug-gnulib/2012-01/msg00306.html>
* lib/stdio-impl.h: Use local __sfileext definition.
2013-09-17 Mats Erik Andersson <gnu@gisladisker.se>
2013-09-04 Anton Ovchinnikov <revolver112@gmail.com> (tiny change)
regex-quote: fix buffer access out of bounds
- http://lists.gnu.org/archive/html/bug-gnulib/2013-09/msg00001.html
+ http://lists.gnu.org/r/bug-gnulib/2013-09/msg00001.html
* lib/regex-quote.c (regex_quote_spec_pcre):
Fix typo that resulted in an out-of-bounds read.
headers: check that _GL_INLINE_HEADER_BEGIN is defined
Suggested by Bruce Korb in:
- http://lists.gnu.org/archive/html/bug-gnulib/2013-08/msg00070.html
+ http://lists.gnu.org/r/bug-gnulib/2013-08/msg00070.html
* doc/extern-inline.texi (extern inline):
Suggest checking that _GL_INLINE_HEADER_BEGIN is defined.
* lib/acl-internal.h, lib/argp-fmtstream.h, lib/argp.h:
xvasprintf-tests: port to GCC with hardening flags
* tests/test-xvasprintf.c (test_xasprintf): Pass another arg to
xasprintf, to pacify GCC. Reported by Santiago Vila in:
- http://lists.gnu.org/archive/html/bug-diffutils/2013-08/msg00002.html
+ http://lists.gnu.org/r/bug-diffutils/2013-08/msg00002.html
2013-08-11 Paul Eggert <eggert@cs.ucla.edu>
fpending: port to recent Cygwin change to stdio_ext.h
Reported by LRN in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-08/msg00028.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-08/msg00028.html>.
* lib/fpending.h: Don't worry about HAVE_DECL___FPENDING;
just declare __fpending unless it's a macro.
A duplicate decl shouldn't hurt.
sys_time: port to OpenBSD
* lib/sys_time.in.h: Simply delegate to the system's header
in the BSDish cases as well. Problem reported by Mike Miller in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-08/msg00016.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-08/msg00016.html>.
* tests/test-sys_select.c, tests/test-sys_time.c (verify_tv_sec_type):
Allow platforms like 64-bit OpenBSD where timeval's tv_sec is
wider than time_t.
tmpdir: fix bug in VMS port
* lib/tmpdir.c (path_search) [__VMS]: Never add slash.
See Steven M. Schweda in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00026.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-07/msg00026.html>.
2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
All uses changed.
(path_search): Don't put slash after directory if __VMS.
Problem reported by Steven M. Schweda in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00019.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-07/msg00019.html>.
Simplify code to add slash; no need for a loop.
Do not remove trailing slash from "//".
Do not assume dlen <= INT_MAX.
regex: port to --with-included-regex --enable-gcc-warnings non-threaded
* lib/regex_internal.h (lock_fini, lock_lock): Rework to avoid
gcc warnings in the non-threaded case. Reported by Charlie Brown in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00015.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-07/msg00015.html>.
accept4, dup3, pipe2: port to Cygwin
Problem reported for Emacs by Ken Brown in <http://bugs.gnu.org/14821>.
* lib/fnmatch_loop.c (FCT): Hoist local up one level, to avoid
undefined behavior for goto over a declaration.
Problem reported by Charlie Brown in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00009.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-07/msg00009.html>.
pipe2: decouple from binary-io a bit
This is for Emacs, which needs pipe2 but not binary-io.
cross-compiled to so we can't easily check for lack of
conformance. This is for cross-compiling to musl.
Reported by Rich Felker in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00043.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-06/msg00043.html>.
* m4/fclose.m4 (gl_FUNC_FCLOSE):
* m4/fflush.m4 (gl_FUNC_FFLUSH):
* m4/fseeko.m4 (gl_FUNC_FSEEKO):
msvc-inval: port to mingw-w64
* lib/msvc-inval.c (gl_msvc_invalid_parameter_handler):
Use __cdecl, not cdecl, for mingw-w64. Reported by LRN in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00039.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-06/msg00039.html>.
2013-06-11 Paul Eggert <eggert@cs.ucla.edu>
getcwd-lgpl: port to Tru64
* lib/getcwd-lgpl.c: Include <stdlib.h>, for malloc etc.
Problem reported by Steven M. Schweda in
- <http://lists.gnu.org/archive/html/bug-gzip/2013-06/msg00010.html>.
+ <http://lists.gnu.org/r/bug-gzip/2013-06/msg00010.html>.
tests: port large-fd POSIX spawn tests to OS X
Problem reported by Daiki Ueno in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00031.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-06/msg00031.html>.
* tests/test-posix_spawn_file_actions_addclose.c:
* tests/test-posix_spawn_file_actions_adddup2.c:
* tests/test-posix_spawn_file_actions_addopen.c:
that delay (together with a small correction multiplier) in further
calls. This problem has been reported and discussed several times,
including guesses about possible kernel issues:
- https://lists.gnu.org/archive/html/bug-gnulib/2013-04/msg00071.html
- http://lists.gnu.org/archive/html/coreutils/2012-03/msg00088.html
- https://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00226.html
+ https://lists.gnu.org/r/bug-gnulib/2013-04/msg00071.html
+ http://lists.gnu.org/r/coreutils/2012-03/msg00088.html
+ https://lists.gnu.org/r/bug-gnulib/2011-11/msg00226.html
http://bugs.gnu.org/12820
- https://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00113.html
- https://lists.gnu.org/archive/html/bug-gnulib/2009-11/msg00007.html
+ https://lists.gnu.org/r/bug-gnulib/2010-11/msg00113.html
+ https://lists.gnu.org/r/bug-gnulib/2009-11/msg00007.html
Now, nap() avoids the race alltogether by verifying on a reference
file whether a timestamp difference has happened.
* tests/nap.h (nap_fd): Define file descriptor variable for the
sig2str: port to C++
* lib/sig2str.h (sig2str, str2sig): Declare as extern "C".
Reported by Daniel J Sebald in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00000.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-06/msg00000.html>.
2013-05-30 Eric Blake <eblake@redhat.com>
regex: adapt to locking regime instead of depending on pthread
Instead of depending on pthread, adapt to whatever thread
modules are in use. Problem reported by Ludovic Courtès in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00082.html>
+ <http://lists.gnu.org/r/bug-gnulib/2013-05/msg00082.html>
and by Mats Erik Andersson in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00100.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-05/msg00100.html>.
* lib/regex_internal.h (lock_define, lock_init, lock_fini):
Support either the 'lock' module, or the 'pthread' module, or
no module.
regex: fix dfa race in multithreaded uses
Problem reported by Ludovic Courtès in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00058.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-05/msg00058.html>.
* lib/regex_internal.h (lock_define, lock_init, lock_fini):
New macros. All uses of __libc_lock_define, __libc_lock_init
changed to use the first two of these.
fwrite(...) ... fwrite (...) ...'. This is a more-targeted way to
fix the -Wunused-value issue with clang, and it works with GCC too.
Problem with targeting reported by Eric Blake in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00067.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-05/msg00067.html>.
(fwrite_unlocked): Treat like fwrite. I ran into this issue while
debugging the fwrite issue.
warnings: port to clang
Problem reported by Daniel P. Berrange via Eric Blake in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00055.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-05/msg00055.html>.
* m4/warnings.m4 (gl_UNKNOWN_WARNINGS_ARE_ERRORS): New macro.
(gl_WARN_ADD): Use it.
compilation target is Mac OS X 10.6.
Problem reported by parafin and Andoni Morales in
<http://savannah.gnu.org/bugs/?37844> and
- <http://lists.gnu.org/archive/html/bug-gettext/2013-05/msg00007.html>.
+ <http://lists.gnu.org/r/bug-gettext/2013-05/msg00007.html>.
2013-05-11 Paul Eggert <eggert@cs.ucla.edu>
In fact, access to the gnulib repository through CVS has been
disabled, or more precisely, got broken and was never restored; see:
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00008.html>
+ <http://lists.gnu.org/r/bug-gnulib/2013-05/msg00008.html>
Note that support for CVS is not removed completely and unthinkingly
by this change: only support for CVS checkouts of gnulib itself is
utimensat-tests, etc.: try to fix some races
Problem reported by Bernhard Voelker in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-04/msg00071.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-04/msg00071.html>.
I don't know whether this patch fixes that race condition, but it
fixes *some* race conditions, so it should be a win.
* modules/chown-tests (Depends-on):
acl: include errno.h to get errno
Reported by Daiki Ueno in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-04/msg00073.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-04/msg00073.html>.
* lib/copy-acl.c, lib/set-acl.c: Include errno.h.
2013-04-29 Paul Eggert <eggert@cs.ucla.edu>
wctype-h: fix gettext link error on mingw
Reported by Josue Andrade Gomes and Takayuki Tsunakawa in
- <https://lists.gnu.org/archive/html/bug-gettext/2013-03/msg00086.html>.
+ <https://lists.gnu.org/r/bug-gettext/2013-03/msg00086.html>.
* lib/wctype.in.h [__MINGW32__]: Include <ctype.h> before defining
rpl_towupper and rpl_towupper.
stdalign: port to stricter ISO C11
ISO C11 says that _Alignof's operand must be a parenthesized type.
Problem reported by Eli Zaretskii in
- <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>.
+ <http://lists.gnu.org/r/emacs-devel/2013-03/msg00960.html>.
* doc/posix-headers/stdalign.texi (stdalign.h): Document this.
* m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
sys_select, sys_time: port 2013-01-30 Solaris 2.6 fix to Cygwin
Problem reported by Marco Atzeri in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00000.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-03/msg00000.html>.
* lib/sys_select.in.h [HAVE_SYS_SELECT_H && _CYGWIN_SYS_TIME_H]:
Simply delegate to the system <sys/select.h> in this case too.
Also, pay attention to _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H only
copy-file, rpmatch: fix problems found by cppcheck
Reported by Arno Onken in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00069.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-03/msg00069.html>.
* lib/rpmatch.c (try): Fix memory leak.
* lib/copy-file.c: Include "ignore-value.h".
(qcopy_file_preserving): Ignore chown value.
* tests/test-vasnprintf-posix.c (test_function): Don't insist on
round-to-even, since POSIX says rounding is implementation-defined
and OS X 10.8.2 rounds 1.5 to 1 here. Reported by Gary V. Vaughan in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00019.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-03/msg00019.html>.
bootstrap: port to FreeBSD
* build-aux/bootstrap (bootstrap_sync): Port sh -c usage to shells
that treat '--' differently. Reported by Mats Erik Andersson in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00012.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-03/msg00012.html>.
2013-03-08 Gary V. Vaughan <gary@gnu.org>
mountlist: port to HP NonStop
Reported by Joachim Schmitz in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00084.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-02/msg00084.html>.
* lib/mountlist.c (hasmntopt) [!HAVE_HASMNTOPT]: New function.
(MNT_IGNORE) [MNTOPT_IGNORE]: Use it.
extern-inline: avoid compilation error with HP-UX cc
Reported by Richard Lloyd in
- <http://lists.gnu.org/archive/html/bug-texinfo/2013-02/msg00030.html>.
+ <http://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
* m4/extern-inline.m4 (_GL_INLINE, _GL_EXTERN_INLINE):
Suppress extern inline with HP-UX cc. This should be safe,
though it may hurt performance. Perhaps someone with some HP-UX
putenv: fix heap corruption with mixed putenv/_putenv
Problem reported by Michael Goffioul in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00061.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-02/msg00061.html>.
* lib/putenv.c (putenv) [HAVE__PUTENV]:
Rely on _putenv to allocate the new environment.
* m4/putenv.m4 (gl_PREREQ_PUTENV): New macro.
secure_getenv: fix C++ declaration typo
* lib/stdlib.in.h (secure_getenv): Fix typo with return type
in _GL_CXXALIAS_SYS macro. Reported by John W. Eaton in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00057.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-02/msg00057.html>.
2013-02-08 Paul Eggert <eggert@cs.ucla.edu>
openpty: fix bug where HAVE_OPENPTY is mistakenly 1
Problem reported by Mats Erik Andersson in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00051.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-02/msg00051.html>.
* m4/pty.m4 (gl_FUNC_OPENPTY): Define HAVE_OPENPTY when the
openpty function exists, not merely when we intend to replace it.
This corrects the 2013-01-31 patch, which mistakenly defined
This avoids namespace pollution on non-glibc systems, by causing
gnulib unistd.h to behave more like glibc unistd.h. I also hope
that this fixes a bug on FreeBSD, reported by Mats Erik Andersson in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00027.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-02/msg00027.html>.
2013-02-04 Paul Eggert <eggert@cs.ucla.edu>
regex-tests: fix link errors on older Solaris
These need to link with @LIBINTL@ to get libintl_gettext.
Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00003.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-02/msg00003.html>.
* modules/regex-tests (test_regex_LDADD): New macro.
2013-01-31 Paul Eggert <eggert@cs.ucla.edu>
openpty: fix bug where HAVE_OPENPTY wasn't defined
See the thread starting at:
- http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00185.html
+ http://lists.gnu.org/r/bug-gnulib/2013-01/msg00185.html
* m4/pty.m4 (gl_FUNC_OPENPTY): Define HAVE_OPENPTY when the
openpty function exists, not merely when we intend to replace it.
<sys/siginfo.h>; the last, innermost file needs struct
timestruc_t, which is defined in <sys/time.h>, which has not been
fully parsed. Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00113.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-01/msg00113.html>.
* lib/sys_select.in.h: Treat Solaris 2.6's problem with
<sys/time.h> and <sys/types.h> like OSF/1's similar problem.
* lib/sys_time.in.h: Redo to resemble sys_select.in.h, which
unistd: port to recent mingw
* lib/unistd.in.h: Remove special invocation convention for mingw,
which breaks for the latest mingw version. See John W. Eaton in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00100.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-01/msg00100.html>.
largefile: port better to Mac OS X 10.5
This patch is backported from Autoconf git.
AH_VERBATIM, to define _DARWIN_USE_64_BIT_INODE, to avoid problems
with ino_t size being different for configuration time versus
build/run time. Problem reported by PHO in
- <http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00040.html>.
+ <http://lists.gnu.org/r/bug-autoconf/2013-01/msg00040.html>.
2013-01-15 Paul Eggert <eggert@cs.ucla.edu>
net_if-tests: port to Solaris 7 + GCC 3.4.6
Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00091.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-01/msg00091.html>.
* tests/test-net_if.c (ni): Move to next the code that uses it,
so that it's declared only if needed.
net_if-tests: port to older Solaris
Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00086.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-01/msg00086.html>.
* modules/net_if-tests (NET_IF_LIB): New substitution.
(test_net_if_LDADD): New makefile macro, which uses NET_IF_LIB.
(HAVE_IF_NAMEINDEX): New C macro.
system-quote-tests: port to older Solaris
Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00086.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-01/msg00086.html>.
* tests/test-system-quote-child.c (fopen, fread): Undef.
c-xvasprintf etc.: fix link errors on older Solaris
These need to link with @LIBINTL@ to get libintl_gettext.
Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00086.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-01/msg00086.html>.
* modules/c-xvasprintf-tests (test_c_xvasprintf_LDADD):
* modules/readtokens-tests (test_readtokens_LDADD): New macros.
* modules/futimens-tests (test_futimens_LDADD):
being invoked recursively. This prevents problems on Solaris 2.6 and 7
when combining the localename module with GNU gettext 0.18.2.
Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00084.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-01/msg00084.html>.
2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
stdlib: port to Solaris 2.6
Also, the code worked on Solaris 7 through 9 only by accident.
Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00059.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-01/msg00059.html>.
* lib/stdlib.in.h: If __need_system_stdlib_h is defined,
simply include the system stdlib.h.
* lib/getopt.in.h (__need_system_stdlib_h):
gnulib-tool: fix incompatibility with autopoint 0.18.2
* gnulib-tool: Don't indent AM_GNU_GETTEXT_VERSION line.
Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00053.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2013-01/msg00053.html>.
2013-01-04 Paul Eggert <eggert@cs.ucla.edu>
argp: fix port of port new 'inline' approach to Sun C 5.12 + Solaris 10
The earlier patch forgot to update one of the #if conditions, causing
a problem on Debian testing i386 reported by Mats Erik Andersson
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00124.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-12/msg00124.html>.
* lib/argp-fmtstream.h (__argp_fmtstream_putc, argp_fmtstream_putc)
(__argp_fmtstream_puts, argp_fmtstream_puts)
(__argp_fmtstream_write, argp_fmtstream_write)
gettext: avoid obsolete macro AM_PROG_MKDIR_P
It is obsolete and is planned to be removed from Automake 1.14; see
- <http://lists.gnu.org/archive/html/automake/2012-12/msg00029.html>.
+ <http://lists.gnu.org/r/automake/2012-12/msg00029.html>.
* build-aux/po/Makefile.in.in (install-data, install-data-yes)
(installdirs-data, installdirs-data-yes):
Use $(MKDIR_P), not $(mkdir_p).
m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]),[2.62]),[-1],
...), as the latter is fatal with older Autoconfs.
Problem reported and fix suggested by Eric Blake in thread starting at
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00097.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-12/msg00097.html>.
2012-12-20 Paul Eggert <eggert@cs.ucla.edu>
2012-12-16 Akim Demaille <akim@lrde.epita.fr>
gnu-web-doc-update: add all the new files, even in new directories
- See http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00057.html
+ See http://lists.gnu.org/r/bug-gnulib/2012-12/msg00057.html
* build-aux/gnu-web-doc-update (--dry-run, $dryrun): New.
Use it.
(main): Don't use cvsutils to get the list of unknown files,
* m4/extern-inline.m4 (_GL_INLINE, _GL_EXTERN_INLINE): Do not use
extern inline if __APPLE__. Use _GL_UNUSED in the non-inline branch.
Problem reported by Akim Demaille in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html>.
2012-12-11 Simon Josefsson <simon@josefsson.org>
* lib/unistdio/u16-vasnprintf.c (FCHAR_T_ONLY_ASCII):
* lib/unistdio/u32-vasnprintf.c (FCHAR_T_ONLY_ASCII):
New macro, replacing ASCII_ONLY. This fixes a typo. See thread at
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00021.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-12/msg00021.html>.
2012-12-05 Paul Eggert <eggert@cs.ucla.edu>
list, oset, xlist, xoset: fix extern inline issue with C99
This was introduced by my recent changes for 'inline'.
Problem reported for gettext by Daiki Ueno in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00000.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-12/msg00000.html>.
* lib/gl_list.h (gl_list_nx_create_empty, gl_list_create)
(gl_list_nx_create, gl_list_size, gl_list_node_value)
(gl_list_node_set_value, gl_list_node_nx_set_value, gl_list_next_node)
maint.mk: avoid gratuitous failure
Reported by Stefano Lattarini in
- <http://lists.gnu.org/archive/html/bug-bison/2012-11/msg00022.html>
+ <http://lists.gnu.org/r/bug-bison/2012-11/msg00022.html>
* top/maint.mk (public-submodule-commit): Quote more safely.
2012-11-20 Eli Zaretskii <eliz@gnu.org>
canonicalize, canonicalize-lgpl: support MS-Windows file names
- See <http://lists.gnu.org/archive/html/bug-gnulib/2012-11/msg00074.html>
+ See <http://lists.gnu.org/r/bug-gnulib/2012-11/msg00074.html>
for test cases, which it'd be nice to add at some point.
* lib/canonicalize.c, lib/canonicalize-lgpl.c: Include dosname.h.
* lib/canonicalize.c (canonicalize_filename_mode):
O_PATH doesn't work with Linux kernel 3.6.5, as fchmod (fd, ...)
fails with errno == EBADF when fd is opened with O_PATH.
Reported by Jim Meyering in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-11/msg00026.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-11/msg00026.html>.
* doc/posix-headers/fcntl.texi (fcntl.h): Document this.
* lib/fcntl.in.h (O_EXEC, O_SEARCH) [O_PATH]: Default back to O_RDONLY.
errno: port to LynxOS 178 2.2.2
Problem reported by Joel Brobecker in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00088.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-10/msg00088.html>.
* doc/posix-headers/errno.texi (errno.h): Document this.
* lib/errno.in.h (EILSEQ, GNULIB_defined_EILSEQ) [!EILSEQ]: New macros.
* lib/strerror-override.c, lib/strerror-override.h (strerror_override):
sh-quote-tests: port to Solaris 9
* modules/sh-quote-tests (test_sh_quote_LDADD): Add @LIBINTL@.
Problem reported by Dagobert Michelsen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00114.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-10/msg00114.html>.
2012-10-28 Jim Meyering <jim@meyering.net>
fchmodat, fchownat, fstatat: port to non-inlining compilers
Problem reported for FreeBSD 9 by Jim Meyering in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00070.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-10/msg00070.html>.
* lib/chmodat.c, lib/chownat.c, lib/statat.c:
New files, which define FCHMODAT_INLINE etc.
* lib/fchmodat.c (FCHMODAT_INLINE):
* m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H):
Restore AC_C_INLINE, since MSVC requires __inline or _inline
and does not support plain 'inline'. Reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00183.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-09/msg00183.html>.
2012-09-30 Bruno Haible <bruno@clisp.org>
maint.mk: factor the validation of RELEASE_TYPE
With help from Jim Meyering.
- http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00132.html
+ http://lists.gnu.org/r/bug-gnulib/2012-09/msg00132.html
* top/maint.mk (_empty, _sp): Move their definition earlier.
(member-check, release-type): New.
Use the latter instead of $(RELEASE_TYPE).
maint.mk: provide "make upload" to ease uploading
See
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00028.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-08/msg00028.html>.
Do not depend simply on the current $(VERSION), as there may have been
new commits since the tarball generation. Rather, rely on $(RELEASE),
as "make release-commit" already does.
* lib/localename.c (gl_locale_name_thread_unsafe): Port to FreeBSD,
and use the simpler FreeBSD implementation on Mac OS X as well.
Original idea suggested by Ed Maste in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00094.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-09/msg00094.html>.
2012-09-22 Paul Eggert <eggert@cs.ucla.edu>
Return "ASCII" if the system reports "UTF-8" and MB_CUR_MAX <= 1,
as these two values are incompatible. Problem reported by Max Horn.
For more discussion, please see
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00061.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-09/msg00061.html>.
doc: document sticky-EOF issue
* doc/posix-functions/fgetc.texi (fgetc):
fcntl-h: check for AIX 7.1 bug with O_NOFOLLOW and O_CREAT
* m4/fcntl-o.m4 (gl_FCNTL_O_FLAGS): Check for AIX 7.1 bug
that caused a GNU tar test failure. Problem reported by Jez Wain; see
- <http://lists.gnu.org/archive/html/bug-tar/2012-07/msg00018.html>.
+ <http://lists.gnu.org/r/bug-tar/2012-07/msg00018.html>.
2012-09-06 Eric Blake <eblake@redhat.com>
* lib/stdbool.in.h (_Bool, true, false) [__cplusplus]:
Define to bool, true, false, respectively, as GCC's builtin
stdbool.h does. Problem reported by Michael Goffioul in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00143.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-08/msg00143.html>.
2012-08-28 Jim Meyering <meyering@redhat.com>
doc: remove fdl-1.2.texi
It is no longer used or maintained, and its use of @acronym
is problematic. See the thread containing
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00134.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-08/msg00134.html>.
* config/srclist.txt: Remove doc/old-licenses/fdl-1.2.texi.
* doc/old-licenses/fdl-1.2.texi: Remove.
execinfo: port to FreeBSD
* m4/execinfo.m4 (gl_EXECINFO_H): Set LIB_EXECINFO to -lexecinfo
if needed, as in FreeBSD. Reported by Bastien Roucariès in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00113.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-08/msg00113.html>.
* modules/execinfo (Link): Add $(LIB_EXECINFO).
2012-08-23 Jim Meyering <meyering@redhat.com>
(Specifying time zone rules):
* doc/posix-functions/inet_ntoa.texi (inet_ntoa):
Don't use @acronym. Problem reported by John Darlington in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00124.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-08/msg00124.html>.
2012-08-23 Paul Eggert <eggert@cs.ucla.edu>
* m4/stdnoreturn.m4 (gl_STDNORETURN_H): Avoid problems with
bleeding-edge GCC that complains about 'int _Noreturn foo (void);'.
Problem reported by Jim Meyering in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00121.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-08/msg00121.html>.
Also, rename the 'test' function to a void a clash with the
already-supplied 'main' function; this fixes a bug that incorrectly
rejected GCC 4.7.1's <stdnoreturn.h>.
if available. This applies to GCC versions 2.7 through 4.2, or
when newer GCC is using -fgnu89-inline. The goal is to address
some of the performance issues mentioned by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00097.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-08/msg00097.html>.
2012-08-20 Eric Blake <eblake@redhat.com>
gitlog-to-changelog: don't expect .git to be in $srcdir
Reported by Bruno Haible.
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-07/msg00265.html>
+ <http://lists.gnu.org/r/bug-gnulib/2012-07/msg00265.html>
* build-aux/gitlog-to-changelog (&git_dir_option): New.
Use it.
Do not use '#define FOO ... defined BAR ...', as the C standard says
it's not portable to expect that this works after macro expansion.
Problem reported for gzip by Steven M. Schweda in
- <http://lists.gnu.org/archive/html/bug-gzip/2012-07/msg00000.html>.
+ <http://lists.gnu.org/r/bug-gzip/2012-07/msg00000.html>.
2012-07-10 Paul Eggert <eggert@cs.ucla.edu>
alter the check so that it tests for both pthread_create and
pthread_join. This should be more portable to hosts like OSF/1 5.1.
Suggested by Bruno Haible and Richard Yao in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-07/msg00048.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-07/msg00048.html>.
parse-datetime: doc tuneup
* doc/parse-datetime.texi: Index "leap seconds" and fix minor
pthread_join. On FreeBSD 9, pthread_create is in libpthread but
pthread_join in libc. I hope this removes the need for all the
OSF/1 5.1 pthread_join business. Reported by Richard Yao in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-07/msg00042.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-07/msg00042.html>.
2012-07-04 Jim Meyering <meyering@redhat.com>
alloca: add support for HP NonStop TNS/E native
* lib/alloca.in.h (alloca): Support the new host.
From a suggestion by Joachim Schmitz in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-06/msg00355.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-06/msg00355.html>.
2012-07-02 Pádraig Brady <P@draigBrady.com>
Include <sys/param.h>, <sys/mount.h>, <sys/vfs.h>
as they are needed for the 2.6 < glibc/Linux < 2.6.36 fallback.
Problem reported by Ludovic Courtès in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-07/msg00005.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-07/msg00005.html>.
fsusage: avoid needless check on GNU/Linux
* m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Omit STAT_STATFS3_OSF1 check
posixtm-tests: port to buggy compiler
Problem reported by Simon Josefsson in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-06/msg00246.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-06/msg00246.html>.
* modules/posixtm-tests (Depends-on): Add stdint.
* tests/test-posixtm.c (struct posixtm_test.t_expected):
Now of type int_least64_t, not int64_t, both because that's
mktime: fix integer overflow in 'configure'-time test
* m4/mktime.m4 (gl_FUNC_MKTIME): Do not rely on undefined behavior
after integer overflow. Problem reported by Rich Felker in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-06/msg00257.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-06/msg00257.html>.
Also, don't look for further instances of a bug if we've already
found one instance; this helps 'configure' run faster.
init.sh: do not rely on autoupated PWD
This addresses symptoms of the problem reported by Nelson H.F. Beebe in
- <http://lists.gnu.org/archive/html/bug-gzip/2012-06/msg00008.html>.
+ <http://lists.gnu.org/r/bug-gzip/2012-06/msg00008.html>.
Although Nelson's bug was not necessarily fixed by this patch,
it seems wise to make the change for safety.
* tests/init.sh (path_prepend_): Do not rely on PWD updating
* lib/regcomp.c (parse_dup_op, mark_opt_subexp): Cast between void *
and uintptr_t, not long, for portability to hosts where pointers and
long have different sizes. Issue noted by Daniel P. Berrange in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-06/msg00122.html>
+ <http://lists.gnu.org/r/bug-gnulib/2012-06/msg00122.html>
and fix suggested by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-06/msg00128.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-06/msg00128.html>.
2012-06-17 Bruno Haible <bruno@clisp.org>
system-quote-tests: port to CentOS 5
Problem reported by Tom G. Christensen in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00255.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-05/msg00255.html>.
* tests/test-system-quote-child.c (fclose, fprintf): Undef.
2012-05-29 Jim Meyering <meyering@redhat.com>
uint64_t and uint32_t exist. The C standard doesn't guarantee
them, and on some 32-bit compilers there is no uint64_t.
Problem reported by Gianluigi Tiesi in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-03/msg00154.html>.
2012-05-25 Jim Meyering <meyering@redhat.com>
crypto: fix bug in large buffer handling
Problem reported by Serge Belyshev for glibc in
<http://sourceware.org/bugzilla/show_bug.cgi?id=14090> and for gnulib in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00226.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-05/msg00226.html>.
* lib/md4.c (md4_process_block):
* lib/md5.c (md5_process_block):
* lib/sha1.c (sha1_process_block):
_Noreturn: port config.h to gcc -Wundef
* m4/gnulib-common.m4 (gl_COMMON_BODY): Check that __STDC_VERSION__ is
defined before using it, for gcc -Wundef. Reported by Akim Demaille in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00147.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-05/msg00147.html>.
2012-05-10 Bruno Haible <bruno@clisp.org>
if __sun is defined. This lessens the likelihood of clashes if
code compiled for older hosts is combined with code compiled for
newer ones. Problem reported by Niels Möller in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00074.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-05/msg00074.html>.
2012-05-07 Eric Blake <eblake@redhat.com>
stdint: document issues with int_fast8_t etc.
* doc/posix-headers/stdint.texi (stdint.h): Say that other
stdint.h substitutes may define these types differently. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00071.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-05/msg00071.html>.
2012-05-05 Bruno Haible <bruno@clisp.org>
exclude: process exclude and include directives in order
This restores the pre-2009 behavior, and is part of a fix of a
grep bug reported by Quentin Arce in
- <http://lists.gnu.org/archive/html/bug-grep/2012-04/msg00056.html>.
+ <http://lists.gnu.org/r/bug-grep/2012-04/msg00056.html>.
* lib/exclude.c (struct exclude): Remove 'tail' member.
(new_exclude_segment): Prepend the new segment instead of appending.
Return void, since that's now more convenient.
Do not define _Noreturn if __STDC_VERSION__ indicates this is
C11 or later. This is more likely to work with random future C
compilers that are neither GNUish nor MSVCish. See Vincent Lefevre in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-04/msg00195.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-04/msg00195.html>.
exclude: handle wildcards with FNM_EXTMATCH
* lib/exclude.c (fnmatch_pattern_has_wildcards): Also treat '+(',
Fix recursion of install-* into po directories.
Bison's install-pdf bug reported by Hans Aberg at
- <http://lists.gnu.org/archive/html/bug-bison/2011-05/msg00008.html>.
+ <http://lists.gnu.org/r/bug-bison/2011-05/msg00008.html>.
* build-aux/po/Makefile.in.in (install-dvi, install-html)
(install-info, install-pdf, install-ps): New targets.
regex: remove unnecessary type punning
Problem reported by Vladimir Serbinenko in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-04/msg00006.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-04/msg00006.html>.
* lib/regex.h (struct re_pattern_buffer): Change the type of
__REPB_PREFIX(buffer) from unsigned char * to struct re_dfa_t *.
Fix comment to match code.
regex: pacify GCC when compiling GRUB
* lib/regcomp.c (init_dfa): Make a pointer 'const', to avoid
a diagnostic. Reported by Vladimir Serbinenko in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00163.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-03/msg00163.html>.
2012-03-29 Eric Blake <eblake@redhat.com>
until automake 1.11.4 (not yet released at the moment of writing,
but soon to appear). That behaviour was generally considered a
feature rather than a bug, at least until this discussion:
- <http://lists.gnu.org/archive/html/automake/2012-03/msg00014.html>
+ <http://lists.gnu.org/r/automake/2012-03/msg00014.html>
See also automake bugs #10997 and #11030.
2012-03-12 Simon Josefsson <simon@josefsson.org>
Collapse list of copyright years to ranges. See
- <https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00051.html>.
+ <https://lists.gnu.org/r/bug-gnulib/2012-03/msg00051.html>.
* build-aux/bootstrap.conf, build-aux/csharpcomp.sh.in,
build-aux/csharpexec.sh.in, build-aux/gnupload,
build-aux/install-reloc, build-aux/javacomp.sh.in,
stdnoreturn: port to MSVC better
MSVC standard headers use __declspec(noreturn), so #define noreturn
to empty on that platform. Reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-02/msg00152.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-02/msg00152.html>.
* lib/stdnoreturn.in.h (noreturn): Define to empty on MSVC.
* doc/posix-headers/stdnoreturn.texi (stdnoreturn.h): Document this.
stdalign: check that alignof and offsetof are consistent
* m4/stdalign.m4 (gl_STDALIGN_H): Check for GCC bug 52023.
Problem reported for gnulib by Richard W.M. Jones in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00340.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-01/msg00340.html>.
2012-01-27 Jim Meyering <meyering@redhat.com>
gnupload: we hold the master copy of this script now
For motivation and more information, see:
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00222.html>
+ <http://lists.gnu.org/r/bug-gnulib/2012-01/msg00222.html>
* build-aux/gnupload: Make it clear in the heading comments that the
master copy of this file is maintained by gnulib. Since we are at
it, bump its copyright year and ...
* tests/test-posixtm.c (main): Don't assume wraparound semantics
after signed integer overflow. Inspired by (though it may not
fix) Bruno Haible's bug report in
- <http://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00066.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2012-01/msg00066.html>.
Spell out "Windows 9x" and "Windows XP".
* lib/poll.c, lib/select.c: In comments, replace "Win9x" with
But in gnulib, we treat Cygwin like a Unix platform, therefore the main
line of distinction is between "native Windows" on one side and Unix/
POSIX systems on the other side. More details in
- <https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00027.html>.
+ <https://lists.gnu.org/r/bug-gnulib/2012-01/msg00027.html>.
Suggested by Paul Eggert.
2012-01-03 Bruno Haible <bruno@clisp.org>
stdint: don't assume C++11 when compiling with g++
Problem reported for glibc 2.14 and g++ by Alexander V. Lukyanov in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00099.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-12/msg00099.html>.
* m4/stdint.m4 (gl_STDINT_H): Don't go to extra work to make it
work also in C++ before C++11, as that improperly inhibits
generating a substitute stdint.h for that case.
nonblocking tests: Fix test failure on Linux/PPC.
Suggested by Prerna Saxena in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00080.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-12/msg00080.html>.
* tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/PPC64]:
Set to 1100000.
stdalign: port to Clang 3.0
Problem reported by Simon Josefsson in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00005.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-12/msg00005.html>.
* doc/posix-headers/stdalign.texi (stdalign.h): Mention Clang 3.0,
which has <stdalign.h> but which does not define alignof.
* m4/stdalign.m4 (gl_STDALIGN_H): Check for Clang 3.0's problem.
HAVE_WORKING_FSTATAT_ZERO_FLAG, to decide whether to define
rpl_fstatat or fstatat. This should fix the other problem
reported by Kai Habel in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00237.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-11/msg00237.html>.
A similar problem was reported for OpenBSD 4.6 by Mats Erik Andersson
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00239.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-11/msg00239.html>
and I reproduced it on a Solaris 8 host we still have in production.
2011-11-18 Jim Meyering <meyering@redhat.com>
* modules/getcwd (Depends-on): Add fdopendir.
This fixes one of the two problems reported by Kai Habel in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00237.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-11/msg00237.html>.
modules/crypto/gc-*: simplify dependencies and fix stdalign.h bug
stdalign problem reported by Ian Beckwith in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00238.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-11/msg00238.html>.
* modules/crypto/gc-arcfour (Depends-on):
Depend conditionally on crypto/arcfour.
* modules/crypto/gc-arctwo (Depends-on):
fstatat: work with cross-compilation
Problem reported by Ludovic Courtès in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00136.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-11/msg00136.html>.
* m4/fstatat.m4 (gl_FUNC_FSTATAT): When cross-compiling, report
"cross-compiling" and assume the bug is present. Replace
FSTATAT_ZERO_FLAG_BROKEN with HAVE_WORKING_FSTATAT_ZERO_FLAG with
contains (possibly-quoted) backslashes. This should avoid
all-too-common shell bugs if COMPLICATED contains backslashes in
the "wrong" places. Reported by David Evans in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00013.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-11/msg00013.html>.
When 'sed' uses character ranges like A-Z, invoke it in the C locale,
because we want ASCII ranges. Is there some reason we don't use
the C locale everywhere in this script?
* tests/test-stdalign.c (TEST_ALIGNMENT): Shrink back to 8.
mingw supports alignments only up to 8 (!). Reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00006.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-11/msg00006.html>.
* doc/posix-headers/stdalign.texi (stdalign.h): Document this.
2011-11-01 Bruno Haible <bruno@clisp.org>
stdalign: port better to MSVC and to Sun C 5.11
This fixes some of the problems reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-10/msg00300.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-10/msg00300.html>.
* doc/posix-headers/stdalign.texi (stdalign.h): Document more
shortcomings of MSVC and of Sun C 5.11.
* lib/stdalign.in.h (_Alignas): Omit bogus extra parenthesis
Add stdalign module and use it in other modules.
This is based on a previous proposal by Bruno Haible
- <https://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00226.html>.
+ <https://lists.gnu.org/r/bug-gnulib/2011-07/msg00226.html>.
stdalign: new module
* doc/posix-headers/stdalign.texi, lib/stdalign.in.h, m4/stdalign.m4:
by the current information for GNU maintainers, except say "file"
rather than "program". The new wording gives a license version
number, which addresses an issue raised by Glenn Morris in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00397.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-09/msg00397.html>.
* m4/onceonly.m4: Use that same wording here, too.
dup2: minor simplification
so we can't simply #undef openat. Use the orig_openat trick (similar
to orig_open in lib/open.c) to work around the problem. Problem
reported by Kevin Brott for GNU tar, in the thread containing
- <http://lists.gnu.org/archive/html/bug-tar/2011-09/msg00032.html>.
+ <http://lists.gnu.org/r/bug-tar/2011-09/msg00032.html>.
* lib/openat.c (__need_system_fcntl_h): Define first.
Include <fcntl.h> and <sys/types.h> before undefining.
(orig_openat) [HAVE_OPENAT]: New inline function.
openat: test for fstatat (..., 0) bug
Further testing with tar suggests that fstatat (..., 0)
does not work in general, on AIX 7.1; see
- <http://lists.gnu.org/archive/html/bug-tar/2011-09/msg00023.html>.
+ <http://lists.gnu.org/r/bug-tar/2011-09/msg00023.html>.
So, give up entirely on AIX 7.1's fstatat, and fall back on our
replacement fstatat (which is what older AIX releases were using
anyway).
openat: test for fstatat (AT_FDCWD, ..., 0) bug
This tests for another fstatat bug on AIX 7.1:
fstatat (AT_FDCWD, ..., 0) does not work. See
- <http://lists.gnu.org/archive/html/bug-tar/2011-09/msg00015.html>.
+ <http://lists.gnu.org/r/bug-tar/2011-09/msg00015.html>.
* lib/fstatat.c (FSTATAT_AT_FDCWD_0_BROKEN)
(LSTAT_FOLLOWS_SLASHED_SYMLINK): Default to 0.
(rpl_fstatat): Adjust so that it works around either (or both)
openat: work around AIX 7.1 fstatat bug
Problem reported by Kevin Brott for GNU tar, in the thread containing
- <http://lists.gnu.org/archive/html/bug-tar/2011-08/msg00015.html>.
+ <http://lists.gnu.org/r/bug-tar/2011-08/msg00015.html>.
* lib/fstatat.c (rpl_fstatat): Do not invoke underlying fstatat if
FSTATAT_ST_SIZE_ETC_BROKEN.
(fstatat) [FSTATAT_ST_SIZE_ETC_BROKEN && HAVE_FSTATAT]: #define to
* lib/regex_internal.h (internal_function) [!_LIBC]: Simply
define to empty, rather than attempting nonportable optimizations.
Problem reported by Paul Green in:
- http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00047.html
+ http://lists.gnu.org/r/bug-diffutils/2011-08/msg00047.html
and fix suggested by Eric Blake in:
- http://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00143.html
+ http://lists.gnu.org/r/bug-gnulib/2011-08/msg00143.html
2011-08-17 Eric Blake <eblake@redhat.com>
* modules/configmake (configmake.h): Update configmake.h's time stamp
even if the file does not change. Otherwise, 'make -q' fails.
Problem reported by Simon Josefsson in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00088.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-08/msg00088.html>.
2011-08-11 Jim Meyering <meyering@redhat.com>
base64: fix off-by-one buffer size bug
Problem and (trivial) fix reported by Gijs van Tulder in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00083.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-08/msg00083.html>.
* lib/base64.c (base64_decode_alloc_ctx): Allocate one more byte.
* tests/test-base64.c (main): Catch the bug.
* m4/close.m4 (gl_REPLACE_CLOSE): Use gl_REPLACE_FCLOSE only if it
is defined. The close module doesn't depend on the fclose module
any more, so gl_REPLACE_CLOSE's existence cannot be assumed. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00392.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-07/msg00392.html>.
I reproduced the problem with "./gnulib-tool --test close sys_socket".
2011-07-24 Jim Meyering <meyering@redhat.com>
* doc/posix-functions/sigaction.texi (sigaction):
* doc/posix-headers/signal.texi (signal.h):
Document NonStop. See Joachim Schmitz in
- http://lists.gnu.org/archive/html/bug-coreutils/2011-07/msg00062.html
+ http://lists.gnu.org/r/bug-coreutils/2011-07/msg00062.html
2011-07-15 Bruno Haible <bruno@clisp.org>
stdnoreturn, stdnoreturn-tests: remove modules
They're not needed here and a bit premature for use elsewhere. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00209.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-07/msg00209.html>.
* m4/stdnoreturn.m4, modules/stdnoreturn, modules/stdnoreturn-tests:
* tests/test-stdnoreturn.c: Remove files.
* MODULES.html.sh (_Noreturn <stdnoreturn.h>): Remove section.
uintmax_t. This is for some Mac OS X builds, where intmax_t is
long but int64_t is long long, and where we will clash with the
system intmax_t if we override it. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00160.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-07/msg00160.html>.
(INTMAX_C, UINTMAX_C): For consistency, respect the system's
INTMAX_C if INTMAX_MAX and INTMAX_C are both defined, and
similarly for UINTMAX_C.
sys_select: don't depend on sys_socket
This is so that Emacs doesn't have to drag in m4/sockpfaf.m4 etc; see
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00358.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-06/msg00358.html>.
This fix works on GNU and GNU-like platforms, but has not been tested
on native Windows.
* lib/sys_select.in.h: Include <sys/socket.h> only if native Windows.
ftoastr: use strtof only if HAVE_STRTOF
This is needed on HP-UX 11.11 with GCC 4.2.4; see Bruno Haible's report
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00154.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-06/msg00154.html>.
* lib/ftoastr.c (STRTOF) [LENGTH == 1]: Use strtof only if HAVE_STRTOF.
* modules/ftoastr (configure.ac): Check for strtof.
* tests/test-intprops.c: Use a pragma to ignore -Wtype-limits
diagnostics. Otherwise, the integer overflow macros generate many
diagnostics. Reported by Jim Meyering in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00528.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00528.html>.
intprops: shorten, to pacify gcc -Woverlength-strings
* lib/intprops.h (_GL_INT_CONVERT, _GL_INT_NEGATE_CONVERT):
(_GL_BINARY_OP_OVERFLOW): Say "0 * (x)" rather than "(x) - (x)",
so that, for example, verify (INT_MULTIPLY_OVERFLOW (...)) is less
likely to run afoul of C compiler limits for string constant lengths.
- See <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00528.html>.
+ See <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00528.html>.
2011-05-24 Eric Blake <eblake@redhat.com>
gnulib-tool: fix portability problem with MacOS sed
A sed command like "/x/{s/a/b/}" is not portable; a newline is needed
before the "}". Problem reported by Leo in
- <http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00717.html>.
+ <http://lists.gnu.org/r/emacs-devel/2011-05/msg00717.html>.
* gnulib-tool (func_modules_transitive_closure): Insert newlines in
sed_extract_condition1, sed_extract_condition2.
is defined, not if _GL_STATIC_ASSERT_H is not defined.
Perhaps there's a better way, but this fixes the immediate problem.
Problem reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00478.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00478.html>.
2011-05-22 Bruno Haible <bruno@clisp.org>
all known practical hosts, the C standard doesn't guarantee it,
and the code need not assume it. Also, this change may work around
HP-UX 11.23 and IRIX 6.5 cc bugs reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00426.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00426.html>.
2011-05-20 Eric Blake <eblake@redhat.com>
intprops-tests: work around HP-UX 11.23 cc bug with constants
* tests/test-intprops.c (VERIFY): New macro.
(main): Use it, instead of verify, to work around the compiler bug; see
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00401.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00401.html>.
intprops: work around IRIX 6.5 cc bug with 0u - 0u + -1
- See http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00406.html
+ See http://lists.gnu.org/r/bug-gnulib/2011-05/msg00406.html
* lib/intprops.h (_GL_INT_NEGATE_CONVERT): New macro.
(_GL_INT_SIGNED, _GL_INT_MAXIMUM, _GL_DIVIDE_OVERFLOW):
(_GL_REMAINDER_OVERFLOW): Use it.
* tests/test-intprops.c (UINT_MAX, ULONG_MAX, UINTMAX_MAX, U0, U1):
Remove; they weren't actually needed. All uses of U0 and U1 removed,
and other casts to 'unsigned int' reverted to 'u' suffixes. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00406.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00406.html>.
2011-05-19 Bruno Haible <bruno@clisp.org>
to an integer constant expression in that case.
(UINT_MAX, ULONG_MAX, UINTMAX_MAX): Redefine to work around
compiler bugs reported by Bruno Haible. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00401.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00401.html>.
(U0, U1): New constants, to work around the same bugs. Also,
in tests, use e.g., "(unsigned int) 39" rather than "39u".
intprops: work around C compiler bugs
* lib/intprops.h (INT_MULTIPLY_RANGE_OVERFLOW): Work around compiler
bug in Sun C 5.11 2010/08/13 and other compilers; see
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00401.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00401.html>.
intprops: TYPE_IS_INTEGER, TYPE_SIGNED not integer constant exprs
* doc/intprops.texi (Integer Type Determination): Fix
Don't put ignore-value.h, or verify.h, into lib_SOURCES, as
that leads Automake to duplicate use of am__objects_... variables
in Makefile.in. See
- <http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00257.html>.
+ <http://lists.gnu.org/r/emacs-devel/2011-05/msg00257.html>.
2011-05-07 Bruno Haible <bruno@clisp.org>
* modules/strtoimax (License): Change to LGPL.
* modules/strtoumax (License): Likewise.
With permission from Jim Meyering, Paul Eggert:
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00124.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00109.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00124.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00109.html>
getgroups: Relicense under LGPL.
* modules/getgroups (License): Change to LGPL.
With permission from Jim Meyering, Paul Eggert, Eric Blake:
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00111.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00148.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00138.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00111.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00148.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00138.html>
nanosleep: Relicense under LGPL.
* modules/nanosleep (License): Change to LGPL.
With permission from Jim Meyering, Paul Eggert, Eric Blake, Bruno
Haible:
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00111.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00148.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00138.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00131.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00111.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00148.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00138.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00131.html>
futimens: Relicense under LGPL.
* modules/futimens (License): Change to LGPL.
With permission from Eric Blake:
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00138.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00138.html>
fflush: Relicense under LGPL.
* modules/fflush (License): Change to LGPL.
With permission from Eric Blake, Bruno Haible, Jim Meyering:
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00138.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00131.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00133.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00138.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00131.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00133.html>
tmpfile: Relicense under LGPL.
* modules/tmpfile (License): Change to LGPL.
With permission from Ben Pfaff:
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00185.html>
+ <http://lists.gnu.org/r/bug-gnulib/2010-12/msg00185.html>
isfinite: Relicense under LGPL.
* modules/isfinite (License): Change to LGPL.
With permission from Ben Pfaff, Bruno Haible:
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00185.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00130.html>
+ <http://lists.gnu.org/r/bug-gnulib/2010-12/msg00185.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00130.html>
acosl..tanl: Relicense under LGPL.
* modules/acosl (License): Change to LGPL.
* modules/sqrtl (License): Likewise.
* modules/tanl (License): Likewise.
Source code originally from glibc and Paolo Bonzini. Agreements:
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00137.html>
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00128.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00137.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-05/msg00128.html>
2011-05-05 Bruno Haible <bruno@clisp.org>
This supports apps that need pointers to strtoimax and strtoumax,
and ports to HP-UX 11.00 64.bit, which has macros that expand to
nonexistent functions. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00241.html>
+ <http://lists.gnu.org/r/bug-gnulib/2011-04/msg00241.html>
et seq.
* lib/inttypes.in.h (strtoimax, strtoumax): #undef before declaring.
* m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Don't check whether it's
* modules/strnlen (Depends-on): Remove memchr.
The strnlen implementation doesn't need the memchr module's fixes; see
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00237.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-04/msg00237.html>.
strtol: remove dependency on wchar
* lib/strtol.c: Include <wchar.h> only if USE_WIDE_CHAR is defined.
* lib/allocator.h (struct allocator): Rename members from
malloc/realloc to allocate/reallocate, to avoid problems if malloc
and realloc are #define'd. Reported by Eric Blake in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00091.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-04/msg00091.html>.
* lib/careadlinkat.c (careadlinkat): Adjust to renaming.
2011-04-08 Eric Blake <eblake@redhat.com>
* lib/allocator.h, lib/careadlinkat.h, lib/careadlinkat.c:
* modules/careadlinkat: New files, written by me with
a review and feedback from Ben Pfaff in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00008.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-04/msg00008.html>.
2011-04-01 Bruno Haible <bruno@clisp.org>
xmalloc: Do not leak if underlying realloc is C99 compatible.
* lib/xmalloc.c (xrealloc): If N is zero, call 'free' directly.
This avoids a leak on C99-based systems. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-03/msg00243.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-03/msg00243.html>.
2011-03-24 Eric Blake <eblake@redhat.com>
* lib/getloadavg.c (getloadavg) [sgi]: Make ldav_off of type ptrdiff_t.
It was 'int', but this doesn't match the IRIX 6.5 manual.
Suggested by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-02/msg00207.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-02/msg00207.html>.
2011-02-17 Bruno Haible <bruno@clisp.org>
error number looks appropriate, set it to ENOSYS if the getloadavg
looks like it can't possibly ever work, ENOTSUP otherwise.
Suggested by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-02/msg00187.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-02/msg00187.html>.
getloadavg: trim unused parts and speed up 'configure'
* NEWS: Document this.
* tests/test-getloadavg.c: New file, containing previous
contents of test from lib/getloadavg.c. It also contains
suggestions by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-02/msg00186.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-02/msg00186.html>.
* modules/getloadavg-tests: New file.
* m4/getloadavg.m4 (gl_GETLOADAVG): Do not check for getloadavg twice.
Do tests in the same order as they're needed for getloadavg.c.
stdlib: don't get in the way of non-GCC __attribute__
See thread starting at
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-02/msg00161.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-02/msg00161.html>.
Revert previous stdlib change, installing the following instead:
* lib/stdlib.in.h (__attribute__): Remove. We do not want
to get in the way of a non-GCC compiler that supports __attribute__.
* modules/wchar (Makefile.am): Likewise.
Reported by Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
Suggestion by Ralf Wildenhues <Ralf.Wildenhues@gmx.de> in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-01/msg00216.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-01/msg00216.html>.
2011-02-08 Paul Eggert <eggert@cs.ucla.edu>
Bruno Haible <bruno@clisp.org>
getloadavg: don't depend on c-strtod, cloexec, fcntl-safer
See the thread rooted at
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-02/msg00090.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-02/msg00090.html>.
* lib/getloadavg.c: Do not include c-strtod.h, cloexec.h, or fcntl--.h.
Include <fcntl.h> only if (defined __linux__ || defined __CYGWIN__
|| defined SUNOS_5 || (defined LOAD_AVE_TYPE && ! defined
* lib/mktime.c (long_int_is_wide_enough): Move this assertion to
the top level, to make it clearer that the assumption about
long_int width is being checked. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00554.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-01/msg00554.html>.
2011-01-30 Simon Josefsson <simon@josefsson.org>
negative number, which the C Standard says has undefined behavior.
In practice this is not a problem, but might as well do it by the book.
Reported by Rich Felker and Eric Blake; see
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00493.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-01/msg00493.html>.
* lib/strtol.c (TYPE_MINIMUM, TYPE_MAXIMUM): Likewise.
* m4/mktime.m4 (AC_FUNC_MKTIME): Likewise.
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
mktime: fix some integer overflow issues and sidestep the rest
This was prompted by a bug report by Benjamin Lindner for MinGW
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00472.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-01/msg00472.html>.
His bug is due to signed integer overflow (0 - INT_MIN), and I
I scanned through mktime.c looking for other integer overflow
problems, fixing all the bugs I found.
no need to test for alternatives. All uses removed.
(TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by
the C standard. Problem reported by Rich Felker in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00488.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-01/msg00488.html>.
(twos_complement_arithmetic): Also check long_int and time_t.
(time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions.
(guess_time_tm, ranged_convert, __mktime_internal): Use them.
multiarch: remove AA_APPLE_UNIVERSAL_BUILD
* m4/multiarch.m4 (gl_MULTIARCH): Don't AC_DEFINE
AA_APPLE_UNIVERSAL_BUILD. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00247.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-01/msg00247.html>.
* NEWS: Document this.
2011-01-19 Eric Blake <eblake@redhat.com>
* lib/strftime.c (MULTIBYTE_IS_FORMAT_SAFE): Define to 1 always.
Suggested by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00238.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-01/msg00238.html>.
* m4/strftime.m4 (gl_FUNC_STRFTIME): Do not require AC_TYPE_MBSTATE_T,
and do not check for wchar.h.
* modules/strftime (Files): Remove m4/mbstate_t.m4.
to fall back on save_cwd when memory is tight, and for save_cwd to
fail instead of dying when memory is tight, but that's good enough.
Problem and initial idea for fix reported by Bastien Roucaries in
- <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00170.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2011-01/msg00170.html>.
* lib/openat-proc.c: Include stdlib.h (for malloc), not
xalloc.h (for xmalloc).
tests: minor indenting change
* tests/init.sh: Sync from coreutils housekeeping patch
- <http://lists.gnu.org/archive/html/coreutils/2010-12/msg00116.html>
+ <http://lists.gnu.org/r/coreutils/2010-12/msg00116.html>
to keep lines within 80 columns.
2010-12-28 Jim Meyering <meyering@redhat.com>
utimens: work around glibc rounding bug on more platforms
* lib/utimens.c (fdutimens): Work around rounding bug even if
HAVE_WORKING_UTIMES. Reported for Linux 2.4.21 by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00298.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-12/msg00298.html>.
2010-12-27 Bruno Haible <bruno@clisp.org>
on Linux with a glibc whose utimes might not work, then work
around a longstanding glibc bug involving rounding rather than
truncated time stamps. Reported for Linux 2.4.21 by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00113.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-11/msg00113.html>.
2010-12-26 Bruno Haible <bruno@clisp.org>
* m4/utimes.m4 (gl_FUNC_UTIMES): Don't assume that utimes (f, NULL)
uses the clock of the local host. It might use the clock of the
NFS server. Reported for Linux 2.4.21 client by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00113.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-11/msg00113.html>.
2010-12-25 Bruno Haible <bruno@clisp.org>
ftoastr: fix comment again
* lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00149.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-12/msg00149.html>.
Also, simplify example a bit by using flags = 0.
2010-12-20 Bruno Haible <bruno@clisp.org>
ftoastr: fix comment
* lib/ftoastr.h: Fix typo in comment. Noted by Ben Pfaff in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00130.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-12/msg00130.html>.
2010-12-19 Bruno Haible <bruno@clisp.org>
* tests/init.sh (setup_): Move fail=0 initialization here ...
(mktempd_): ... from here, so that tests can rely on fail being
set to 0 initially. This fixes a problem in coreutils; see:
- http://lists.gnu.org/archive/html/coreutils/2010-12/msg00083.html
+ http://lists.gnu.org/r/coreutils/2010-12/msg00083.html
2010-12-18 Bruno Haible <bruno@clisp.org>
problems with C++ style name mangling. Instead, trust the system
definition if INT64_MAX is defined, and likewise for the unsigned
variant. Problem reported by Jarno Rajahalme in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-04/msg00143.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-04/msg00143.html>.
* lib/stdint.in.h (GL_INT64_T): Define if INT64_MAX is defined,
and don't mess with int64_t and INT64_MAX in this case.
(GL_UINT64_T): Likewise for UINT64_MAX and uint64_t.
bootstrap: add bootstrap_sync option.
See discussion at
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-10/msg00369.html>,
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00200.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-10/msg00369.html>,
+ <http://lists.gnu.org/r/bug-gnulib/2010-11/msg00200.html>.
* build-aux/bootstrap: Accept --bootstrap-sync to update
bootstrap if it is not identical to the local gnulib's
bootstrap. Accept bootstrap_sync=true in bootstrap.conf to
ftoastr: port to hosts lacking strtof and strtold
Problem reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00242.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-11/msg00242.html>.
* lib/ftoastr.c (STRTOF): Define to strtod if in a pre-C99
environment and strtold (and presumably strtof) are not available.
* modules/ftoastr (Files): Add m4/c-strtod.m4.
bootstrap: port to Solaris sed
* build-aux/bootstrap (get_version): Port to Solaris sed.
See Ralf Wildenhues's note in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00156.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-11/msg00156.html>.
2010-11-14 Jim Meyering <meyering@redhat.com>
Reported by Gary V. Vaughan <gary@gnu.org>.
rename, renameat: Document Linux bug with NFS
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00154.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-11/msg00154.html>.
* doc/posix-functions/rename.texi: Mention the NFS bug on Linux.
* doc/posix-functions/renameat.texi: Likewise.
Suggested by Eric Blake.
unlink: Fix "is it should" typo in diagnostic.
* m4/unlink.m4 (gl_FUNC_UNLINK): Fix typo, as per Reuben Thomas in
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00106.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-11/msg00106.html>.
2010-11-11 Bruno Haible <bruno@clisp.org>
less than the maximum number of open file descriptors, because
save_cwd fails with errno == EMFILE. Problem reported by tsteven4
on Mac OS X 10.6.4 for tar 1.24
- <http://lists.gnu.org/archive/html/bug-tar/2010-10/msg00084.html>
- <http://lists.gnu.org/archive/html/bug-tar/2010-11/msg00000.html>
+ <http://lists.gnu.org/r/bug-tar/2010-10/msg00084.html>
+ <http://lists.gnu.org/r/bug-tar/2010-11/msg00000.html>
and for tar 1.25
- <http://lists.gnu.org/archive/html/bug-tar/2010-11/msg00038.html>.
+ <http://lists.gnu.org/r/bug-tar/2010-11/msg00038.html>.
2010-11-07 Bruno Haible <bruno@clisp.org>
* lib/fts.c (opendirat): New arg extra_flags.
(__opendir2): Use it to avoid following symlinks when opening
a directory, if symlinks are not supposed to be followed. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-09/msg00213.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-09/msg00213.html>.
fdopendir: preserve argument fd before returning
* lib/fdopendir.c: Adjust comments to say POSIX, not Solaris.
closed while fdopendir is running, so this not thread- or
signal-safe.) Be careful to do the right thing even when file
descriptors are scarce and dup fails with errno == EMFILE. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2010-09/msg00208.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2010-09/msg00208.html>.
2010-09-10 Paolo Bonzini <bonzini@gnu.org>
priv-set: fix comments
* lib/priv-set.c (priv_set_remove, priv_set_restore): Fix comments
to match code, as suggested by David Bartley in:
- http://lists.gnu.org/archive/html/bug-tar/2010-08/msg00018.html
+ http://lists.gnu.org/r/bug-tar/2010-08/msg00018.html
2010-08-23 Eric Blake <eblake@redhat.com>
on Solaris, since its getcwd succeeds even if the path to the root
is inaccessible, and this is helpful in common cases such as .zfs
hidden directories. Problem reported by J Chapman Flack in
- http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00000.html
+ http://lists.gnu.org/r/bug-tar/2010-06/msg00000.html
Use system getcwd if it's declared, not merely if it's partly
working; use the partly-working test only to avoid needless effort
if the system getcwd fails.
priv-set: Don't assume that priv.h exists merely because getppriv does.
See Jan Andersen's bug report about AIX 5L in
- http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00019.html
+ http://lists.gnu.org/r/bug-tar/2010-06/msg00019.html
* m4/priv-set.m4 (gl_PRIV_SET): Check for priv.h.
* lib/priv-set.c: Do nothing unless HAVE_PRIV_H.
* lib/priv-set.h: Likewise.
guarantee behavior relied on by m4.
* tests/test-getopt.c (main): Use it.
* modules/getopt-posix-tests (Depends-on): Add setenv.
- See http://lists.gnu.org/archive/html/bug-m4/2006-09/msg00028.html.
+ See http://lists.gnu.org/r/bug-m4/2006-09/msg00028.html.
getopt: fix compilation on darwin
* lib/getopt.in.h (includes): Leave breadcrumbs during system
Also, be a little more predictable and safer by always failing
when the full copyright format is not perfectly recognized as an
unbroken whole. Discussed at
- <http://lists.gnu.org/archive/html/bug-gnulib/2009-07/msg00131.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2009-07/msg00131.html>.
Rewrite documentation.
2009-08-03 Bruno Haible <bruno@clisp.org>
* tests/test-ldexpl.h (main): Likewise.
* tests/test-roundl.h (main): Likewise.
* tests/test-truncl.h (main): Likewise.
- See http://lists.gnu.org/archive/html/bug-gnulib/2009-02/msg00190.html.
+ See http://lists.gnu.org/r/bug-gnulib/2009-02/msg00190.html.
2009-02-26 Eric Blake <ebb9@byu.net>
Bruno Haible <bruno@clisp.org>
(gl_MULTIARCH_BODY): ...into new macro, to work around bug in Autoconf
2.63 and older.
Reported by Bruno Haible, and analyzed in
- http://lists.gnu.org/archive/html/bug-autoconf/2008-12/msg00039.html
+ http://lists.gnu.org/r/bug-autoconf/2008-12/msg00039.html
2008-12-29 Bruno Haible <bruno@clisp.org>
* lib/gc-gnulib.c: On Windows, use CryptGenRandom from CSP instead
of attempting to use non-existing /dev/*random. Based on patch
from Adam Strzelecki <ono@java.pl> in
- <http://lists.gnu.org/archive/html/help-gsasl/2008-02/msg00000.html>.
+ <http://lists.gnu.org/r/help-gsasl/2008-02/msg00000.html>.
2008-04-08 Bruno Haible <bruno@clisp.org>
* lib/wchar.in.h [defined __need_mbstate_t]: Just include <wchar.h>.
Problem reported by Erik Benada in
- <http://lists.gnu.org/archive/html/bug-gnulib/2008-03/msg00249.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2008-03/msg00249.html>.
2008-03-30 Bruno Haible <bruno@clisp.org>
2008-01-15 Paul Eggert <eggert@cs.ucla.edu>
Fix problem with getdate on mingw32 reported by Simon Josefsson
- in <http://lists.gnu.org/archive/html/bug-gnulib/2008-01/msg00192.html>.
+ in <http://lists.gnu.org/r/bug-gnulib/2008-01/msg00192.html>.
* lib/getdate.y (get_date): Check "HAVE_DECL_TZNAME", not "defined
tzname", when deciding whether to declare tzname.
* lib/strftime.c (tzname): Likewise.
2008-01-09 Paul Eggert <eggert@cs.ucla.edu>
gl_FUNC_ALLOCA no longer defines HAVE_ALLOCA_H unconditionally.
- See <http://lists.gnu.org/archive/html/bug-gnulib/2007-12/msg00149.html>.
+ See <http://lists.gnu.org/r/bug-gnulib/2007-12/msg00149.html>.
* NEWS: announce this.
* m4/alloca.m4 (gl_FUNC_ALLOCA): Don't define HAVE_ALLOCA_H.
* lib/printf-parse.c (PRINTF_PARSE): Handle a size specifier "q"
on MacOS X and a size specifier "I64" on mingw. Needed for PRIdMAX.
Reported by Peter Fales in
- <http://lists.gnu.org/archive/html/bug-coreutils/2007-12/msg00148.html>.
+ <http://lists.gnu.org/r/bug-coreutils/2007-12/msg00148.html>.
2008-01-08 Bruno Haible <bruno@clisp.org>
* lib/stdint.in.h (_GL_JUST_INCLUDE_SYSTEM_INTTYPES_H): Define
before any system include files, and undef after them all. This
should fix a problem on VMS reported by John E. Malmberg in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-12/msg00118.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-12/msg00118.html>.
2007-12-17 Eric Blake <ebb9@byu.net>
* m4/acl.m4 (gl_FUNC_ACL): Renamed from AC_FUNC_ACL. On Solaris,
put -lsec in even for programs other than 'ls'. This fixes a problem
for gettext reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-12/msg00007.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-12/msg00007.html>.
* lib/acl.c (copy_acl, qset_acl) [USE_ACL && defined ACL_NO_TRIVIAL]:
Add support for Solaris 10. This isn't efficient, but should get the
job done for now.
* lib/vasnprintf.c (decode_long_double): Don't abort if the
'long double' type has excess precision.
Reported by Jim Meyering in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00120.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-11/msg00120.html>.
2007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Port test-getaddrinfo to Solaris.
Problem reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00171.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-03/msg00171.html>.
* tests/test-getaddrinfo.c (simple): Add a comment asking for an
explanation of setting 'hints'.
Don't reject an implementation merely because it returns EAI_SERVICE.
[! (defined __cplusplus || defined __BEOS__) && !defined __GNUC__]:
Don't declare as an enum in this situation; it runs afoul of Tru64.
Problem reported by Steven M. Schweda in
- <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00019.html>.
+ <http://lists.gnu.org/r/bug-autoconf/2007-10/msg00019.html>.
2007-10-22 Eric Blake <ebb9@byu.net>
* m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not
-1u, in preprocessor expression, so that we don't test for the bug
in HP-UX 11.00 cpp. Testing for this bug caused problems; see
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-10/msg00329.html>.
2007-10-22 Eric Blake <ebb9@byu.net>
Check for 64-bit int errors in HP-UX 10.20 preprocessor.
Problem reported by H.Merijn Brand in
- <http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
+ <http://lists.gnu.org/r/bug-tar/2007-10/msg00018.html>.
* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Check preprocessor too.
* m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
* m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): No longer filter out
Interix on cross-compile.
Reported by Martin Koeppe in
- http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00005.html.
+ http://lists.gnu.org/r/bug-gnulib/2007-10/msg00005.html.
2007-10-11 Bruno Haible <bruno@clisp.org>
#define __STDC_LIMIT_MACROS temporarily while including
<stdint.h>, so that __STDC_LIMIT_MACROS is defined.
Problem reported by Joel E. Denny in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-07/msg00008.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-07/msg00008.html>.
2007-07-01 Bruno Haible <bruno@clisp.org>
* lib/time_.h: Port to Solaris 8 with Sun Studio 11, using a
method that I hope also handles the double-include problem noted
by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-05/msg00186.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-05/msg00186.html>.
2007-06-23 Bruno Haible <bruno@clisp.org>
Detect porting problems to FreeBSD/arm, which has time_t wider than
long int. Original problem reported for GNU diff by Xin Li in
- <http://lists.gnu.org/archive/html/bug-gnu-utils/2007-06/msg00091.html>.
+ <http://lists.gnu.org/r/bug-gnu-utils/2007-06/msg00091.html>.
* modules/getdate (Depends-on): Add intprops, verify.
* lib/getdate.y: Include intprops.h, verify.h. Verify that time_t
is an integer type no wider than long int.
* m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Fix POSIX sed portability
glitch reported by Ralf Wildenhues in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-06/msg00114.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-06/msg00114.html>.
* m4/regex.m4 (gl_REGEX): Catch a bug with [[:alnum:]_-] reported by
Vin Shelton.
2007-06-06 Paul Eggert <eggert@cs.ucla.edu>
Work around problem reported by Steven M. Schweda in
- <http://lists.gnu.org/archive/html/bug-tar/2007-06/msg00002.html>:
+ <http://lists.gnu.org/r/bug-tar/2007-06/msg00002.html>:
Tru64 5.1B with the Compaq compiler environment installed declares
an 'isblank' function but does not define it in the C library.
* lib/fnmatch.c (isblank): Check for HAVE_ISBLANK, too.
* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Test whether
readdir returns garbage in d_ino. Problem reported by Kaz Sasayama in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-05/msg00021.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-05/msg00021.html>.
2007-05-02 Sergey Poznyakoff <gray@gnu.org.ua>
* lib/wctype_.h [__DECC]: Likewise.
* lib/inttypes_.h [__DECC]: Likewise.
Reported by Albert Chin <china@thewrittenword.com> in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00088.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-04/msg00088.html>.
2007-04-04 Eric Blake <ebb9@byu.net>
try to remove a parent directory if the child couldn't be removed
(except for the first rmdir, which could fail because the child
doesn't exist). Problem reported by Jeff Blaine in
- <http://lists.gnu.org/archive/html/bug-tar/2007-03/msg00014.html>.
+ <http://lists.gnu.org/r/bug-tar/2007-03/msg00014.html>.
2007-03-28 Bruno Haible <bruno@clisp.org>
2007-03-01 Paul Eggert <eggert@cs.ucla.edu>
Followup to the 2007-02-12 patch, using suggestions from Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-02/msg00136.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-02/msg00136.html>.
* doc/gnulib-tool.texi (Initial import): Mention _FILE_OFFSET_BITS
as another example.
* lib/time_.h: Fix misspelling.
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Check for a nanosleep that
loops on small arguments. This attempts to avoid the problem
Bruno Haible reported for AIX 4.3.2 in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-02/msg00309.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-02/msg00309.html>.
2007-02-23 Bruno Haible <bruno@clisp.org>
* lib/getcwd.c (__getcwd): Undo previous change; it mishandled
long unreadable paths in GNU/Linux. Problem reported by Andreas
Schwab in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-02/msg00261.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-02/msg00261.html>.
I'll try to think of a better way to fix the Solaris problem.
* lib/getcwd.c (__getcwd): Don't assume getcwd (NULL, 0) works
* lib/regex.h (_Restrict_): Renamed from __restrict, to avoid
a circularity problem with HP-UX ia64 reported by Bob Proulx in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-01/msg00394.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-01/msg00394.html>.
All uses changed.
(_Restrict_arr_): Renamed from __restrict_arr, for similar reasons.
All uses changed.
2007-01-24 Bruno Haible <bruno@clisp.org>
Don't AC_REQUIRE autoconf macros that invoke AC_LIBOBJ. See
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00279.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-10/msg00279.html>.
* m4/argp.m4 (gl_ARGP): Invoke, don't require, gl_GETOPT_SUBSTITUTE.
* m4/fts.m4 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): Invoke, don't require,
gl_FUNC_FTS_CORE.
* gnulib-tool (func_create_testdir): Don't unnecessarily run configure
and make.
Reported by Simon Josefsson in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-01/msg00139.html>
+ <http://lists.gnu.org/r/bug-gnulib/2007-01/msg00139.html>
2007-01-14 Bruno Haible <bruno@clisp.org>
* m4/wctype.m4 (gl_WCTYPE_H): Compute ABSOLUTE_WCTYPE_H even if
WCTYPE_H is empty, for the benefit of builds from non-distclean
directories. Problem reported by Eric Blake in
- <http://lists.gnu.org/archive/html/bug-gnulib/2007-01/msg00157.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2007-01/msg00157.html>.
2007-01-08 Bruno Haible <bruno@clisp.org>
2006-12-23 Paul Eggert <eggert@cs.ucla.edu>
Fix bug reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00228.html>
+ <http://lists.gnu.org/r/bug-gnulib/2006-12/msg00228.html>
where quotearg.c didn't compile on Mac OS X 10.2 because it
lacks <wchar.h> and wint_t.
* lib/wctype_.h (__wctype_wint_t): New type.
Include <limits.h>, and use its INT_MAX to rewrite the
j loop so that it does not overflow 'int'. Problem reported by
Ralf Wildenhues in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-12/msg00084.html>.
Play it safe by shifting left by 1 rather than multiplying by 2,
as GCC is less likely to optimize this away when the value
is signed (when it assumes overflow leads to undefined behavior).
the chown.
Fix porting problem for iswctype reported by Georg Schwarz in:
- http://lists.gnu.org/archive/html/bug-coreutils/2006-12/msg00017.html
+ http://lists.gnu.org/r/bug-coreutils/2006-12/msg00017.html
* lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too.
* lib/regex_internal.h (RE_ENABLE_I18N): Likewise.
* m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for iswctype, too.
captures the dependency in AC_C_INLINE.
New module canonicalize-lgpl, proposed by Charles Wilson in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-11/msg00020.html>
+ <http://lists.gnu.org/r/bug-gnulib/2006-11/msg00020.html>
with a few small changes afterwards.
* MODULES.html.sh (File system functions): New module
canonicalize-lgpl.
* lib/canonicalize.c (ELOOP): Define if not already defined.
Problem reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00282.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-10/msg00282.html>.
2006-10-21 Paul Eggert <eggert@cs.ucla.edu>
equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
system. We hope this is rare in practice, but it's clearly worth
fixing. Problem reported by Alex Unleashed in
- <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
+ <http://lists.gnu.org/r/bug-autoconf/2006-10/msg00012.html>.
Also, don't bother to check for -m bugs unless we're using -m;
suggested by Stepan Kasal.
Port to Tandem NSK OSS, which has 64-bit signed int but at most
32-bit unsigned int. Problem reported by Matthew Woehlke in:
- http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00062.html
+ http://lists.gnu.org/r/bug-coreutils/2006-10/msg00062.html
More generally, don't assume that 64-bit signed int is available
if unsigned int is, and vice versa.
* lib/inttypes_.h (_PRIu64_PREFIX, _SCNu64_PREFIX): Depend on
e.g., when config.h has "#define intmax_t long long int" and
we include <config.h>, <inttypes.h>, <config.h> in that order.
Problem reported by Matthew Woehlke in:
- http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00073.html
+ http://lists.gnu.org/r/bug-coreutils/2006-10/msg00073.html
* lib/fprintftime.c: Don't include config.h or fprintftime.h.
* lib/fts-cycle.c: Don't include config.h.
* lib/strftime.c: Include fprintftime.h if FPRINTFTIME is defined.
2006-10-05 Paul Eggert <eggert@cs.ucla.edu>
Fix some Darwin-7.9.0 porting problems reported by Bruno Haible in
- <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00063.html>.
+ <http://lists.gnu.org/r/bug-coreutils/2006-10/msg00063.html>.
* lib/dirchownmod.c: Include lchown.h.
* lib/lchown.c: Don't include files that lchown.h now includes.
Don't declare chown, since lchown.h now does that.
* m4/getloadavg.m4 (gl_GETLOADAVG): Use CONFIGURING_GETLOADAVG,
not gl_GETLOADAVG. Omit unneeded semicolons.
Problems reported by Ralf Wildenhues in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-09/msg00000.html>.
(gl_PREREQ_GETLOADAVG): Use AC_DEFUN, not m4_define. Put
at the end, which is the usual gnulib style.
* lib/getloadavg.c: Use CONFIGURING_GETLOADAVG, not gl_GETLOADAVG.
Problem reported by Ralf Wildenhues in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-09/msg00000.html>.
* lib/mountlist.c: All uses of HAVE_F_FSTYPENAME_IN_STATFS replaced by
HAVE_STRUCT_STATFS_F_FSTYPENAME.
Work around a bug in both the Linux and SunOS 64-bit kernels:
nanosleep mishandles sleeps for longer than 2**31 seconds.
Problem reported by Frank v Waveren in
- <http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00298.html>.
+ <http://lists.gnu.org/r/bug-coreutils/2006-08/msg00298.html>.
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Require gl_CLOCK_TIME.
Check for nanosleep bug.
(LIB_NANOSLEEP): Append clock_gettime library if needed.
Work around a bug in both the Linux and SunOS 64-bit kernels:
nanosleep mishandles sleeps for longer than 2**31 seconds.
Problem reported by Frank v Waveren in
- <http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00298.html>.
+ <http://lists.gnu.org/r/bug-coreutils/2006-08/msg00298.html>.
* lib/nanosleep.c (BILLION): New constant.
(getnow) [HAVE_BUG_BIG_NANOSLEEP]: New functions.
(rpl_nanosleep) [HAVE_BUG_BIG_NANOSLEEP]: Completely new
* lib/memcoll.c (memcoll): Set errno = 0 in the shortcut case, too.
Problem and fix reported by Pádraig Brady in
- <http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00099.html>.
+ <http://lists.gnu.org/r/bug-coreutils/2006-08/msg00099.html>.
2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
* m4/lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
--as-needed option if available. Problem reported by Albert Chin in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-06/msg00114.html>.
However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
cc merely issues a bunch of annoying warnings for --as-needed
(this problem was reported by Bob Proulx). Also, try linking with
* lib/stdint_.h: Include <sys/types.h> after @FULL_PATH_STDINT_H@, for
MacOS X 10.4.6. Don't mention <sys/int_types.h>. Problems
reported by Mark D. Baushke, one in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00015.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-07/msg00015.html>.
Merge from coreutils.
* lib/base64.c (B64): Use _ as the formal parameter, not x, to avoid
bug in IBM C V6 for AIX. Problem reported by Larry Jones in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00181.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-06/msg00181.html>.
2006-06-26 Mark D. Baushke <mdb@gnu.org>
* lib/glob.c (collated_compare): Remove 'const' uses that weren't
needed. Some compiler complained about some of them. Problem reported
by Larry Jones in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00172.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-06/msg00172.html>.
2006-06-21 Simon Josefsson <jas@extundo.com>
* lib/openat.c (openat): Use ?:, not if, to work around GCC bug 4210
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210>.
Problem reported by Denis Excoffier in
- <http://lists.gnu.org/archive/html/bug-tar/2006-06/msg00023.html>.
+ <http://lists.gnu.org/r/bug-tar/2006-06/msg00023.html>.
2006-06-19 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
(__gen_tempname): Use small_open and large_open instead of __open
and __open64. This fixes a portability bug on HP-UX 11.11i
reported by Simon Wing-Tang in
- <http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00114.html>.
+ <http://lists.gnu.org/r/bug-coreutils/2006-05/msg00114.html>.
2006-05-24 Bruno Haible <bruno@clisp.org>
* lib/fnmatch.c (L_): Renamed from L, to work around a bug in
Mac OS X 10.3.9 with GCC 3 reported by Claudio Fontana in
- <http://lists.gnu.org/archive/html/bug-gnulib/2006-01/msg00074.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2006-01/msg00074.html>.
All uses changed.
2006-01-26 Simon Josefsson <jas@extundo.com>
2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
Work around porting bugs reported by Dieter in
- <http://lists.gnu.org/archive/html/bug-bison/2006-01/msg00049.html>.
+ <http://lists.gnu.org/r/bug-bison/2006-01/msg00049.html>.
* lib/getopt.c (_NOPROTO): Remove; no longer needed.
Include <stdlib.h> and <unistd.h> in all environments; it's safe now.
Include "getopt.h" first, to check interface.
Work around a bug in 64-bit PGC (before version 6.1-2), where the
preprocessor mishandles large unsigned values as if they were signed.
Problem reported by Claudio Fontana in
- <http://lists.gnu.org/archive/html/bug-gnulib/2005-12/msg00061.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2005-12/msg00061.html>.
2006-01-10 Jim Meyering <jim@meyering.net>
* m4/stat-time.m4 (gl_STAT_TIME): Add check for
TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
porting problem reported by Georg Schwarz in
- <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
+ <http://lists.gnu.org/r/bug-coreutils/2005-12/msg00083.html>.
2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
* lib/stat-time.h (STATE_TIMESPEC, STAT_TIMESPEC_NS): Add check for
TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
porting problem reported by Georg Schwarz in
- <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
+ <http://lists.gnu.org/r/bug-coreutils/2005-12/msg00083.html>.
2005-12-05 Bruno Haible <bruno@clisp.org>
New private symbol, used to keep the enum signed in all cases.
* lib/regex.h (RE_NO_EMPTY_RANGES): Fix doc bug reported by James
Youngman in
- <http://lists.gnu.org/archive/html/bug-gnulib/2005-07/msg00132.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2005-07/msg00132.html>.
* lib/regex_internal.c (re_string_skip_chars, register_state):
(calc_state_hash):
2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
Fix problems reported by Sam Steingold in
- <http://lists.gnu.org/archive/html/bug-gnulib/2005-08/msg00007.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2005-08/msg00007.html>.
* lib/regexec.c (sift_states_bkref): Fix portability bug: the code
assumed that reg_errcode_t is a signed type, which is not
necessarily true if _XOPEN_SOURCE is not defined.
Use the hash-table-based cycle-detection code not just when
FTS_TIGHT_CYCLE_CHECK if specified, but also with FTS_LOGICAL.
Reported by James Youngman in
- <http://lists.gnu.org/archive/html/bug-gnulib/2005-08/msg00011.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2005-08/msg00011.html>.
* lib/fts_.h: Mention that with FTS_LOGICAL, we use
FTS_TIGHT_CYCLE_CHECK.
* lib/fts.c (fts_cross_check) [FTS_DEBUG]:
Add an assertion and a test driver.
This fixes a bug introduced on 2004-07-02.
Andreas Schwab reported the resulting failure of cp --parents:
- http://lists.gnu.org/archive/html/bug-coreutils/2005-01/msg00130.html
+ http://lists.gnu.org/r/bug-coreutils/2005-01/msg00130.html
2005-03-21 Jim Meyering <jim@meyering.net>
substitute for >> that should work even on Crays.
(TIME_T_MIDPOINT, ydhms_diff, __mktime_internal): Use it.
Problem reported by Mark D. Baushke in
- <http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00071.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2004-11/msg00071.html>.
* lib/getdate.y (SHR): Likewise.
(tm_diff): Use it.
* lib/strftime.c (SHR): Likewise.
(xreadlink): Use it instead of SSIZE_MAX. Ensure initial buffer
size does not exceed MAXSIZE. Avoid cast.
As suggested by Mark D. Baushke in
- <http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00009.html>,
+ <http://lists.gnu.org/r/bug-gnulib/2004-11/msg00009.html>,
if readlink fails with buffer size just under MAXSIZE, try again
with MAXSIZE.
* modules/regex (lib_SOURCES): Add regex.c.
Reported by James Youngman in
- <http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00199.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2004-10/msg00199.html>.
2004-10-24 Paul Eggert <eggert@cs.ucla.edu>
* m4/getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
implementation of getopt_long. Problem reported by Alexander Taler in:
- http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
+ http://lists.gnu.org/r/bug-gnulib/2004-10/msg00103.html
2004-10-15 Bruno Haible <bruno@clisp.org>
* lib/argp-pvh.c (argp_program_version_hook): Provide initial value.
Problem reported by Bruno Haible in:
- http://lists.gnu.org/archive/html/bug-tar/2004-09/msg00023.html
+ http://lists.gnu.org/r/bug-tar/2004-09/msg00023.html
2004-09-13 Paul Eggert <eggert@cs.ucla.edu>
* lib/mempcpy.h: Wrap the entire include file inside #ifndef mempcpy,
in case some system header has #define'd it. Problem reported by
Soeren D. Schulze in
- <http://lists.gnu.org/archive/html/bug-gnulib/2004-09/msg00017.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2004-09/msg00017.html>.
2004-09-09 Karl Berry <karl@gnu.org>
Do not set *uid, *gid unless entirely successful.
Avoid memory leak in some failing cases.
Fix regression for USER.GROUP reported by Dmitry V. Levin in
- <http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00102.html>
+ <http://lists.gnu.org/r/bug-coreutils/2004-08/msg00102.html>
(parse_user_spec): Rewrite to use parse_with_separator.
2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
* m4/getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
as discussed with Paul Eggert in threads rooted at
- <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
+ <http://lists.gnu.org/r/bug-gnulib/2004-06/msg00039.html>
and
- <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
+ <http://lists.gnu.org/r/bug-gnulib/2004-07/msg00001.html>.
Before, the test was empty, and relied on ELIDE_CODE in source
code.)
(gl_PREREQ_GETOPT): New macro.
* m4/c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
All uses changed. Check for sa_sigaction member; this fixes
a bug first reported by Jason Andrade in
- <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
+ <http://mail.gnu.org/r/bug-textutils/2003-03/msg00027.html>.
2004-03-07 Paul Eggert <eggert@twinsun.com>
depend on (defined _SC_PAGESIZE). However, it does depend on
HAVE_STRUCT_SIGACTION_SA_SIGACTION; this last change fixes a bug
first reported by Jason Andrade in
- <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
+ <http://mail.gnu.org/r/bug-textutils/2003-03/msg00027.html>.
2004-02-25 Simon Josefsson <jas@extundo.com>
* lib/md5.h (rol) [__GNUC__ && __i386__]: Don't use `asm' code. These
days, gcc-3.x does better all by itself. Patch from Dean Gaudet:
- http://mail.gnu.org/archive/html/bug-coreutils/2003-11/msg00144.html
+ http://mail.gnu.org/r/bug-coreutils/2003-11/msg00144.html
* lib/posixver.c (DEFAULT_POSIX2_VERSION): Use definition of new,
optional configure-time default.
* m4/getline.m4 (AM_FUNC_GETLINE):
Don't include getndelim2.o twice into LIBOBJS; this breaks on some
hosts. Problem reported by Derek Robert Price in
- <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
+ <http://mail.gnu.org/r/bug-gnulib/2003-10/msg00092.html>.
This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
* m4/getndelim2.m4 (gl_GETNDELIM2): Likewise.
[__STDC__ && defined __GNUC__ && __GNUC__ >= 2]:
Omit the special code that used __typeof__, since we worry that
it could be more trouble than it's worth. See:
- http://mail.gnu.org/archive/html/bug-gnulib/2003-01/msg00090.html
- http://mail.gnu.org/archive/html/bug-gnulib/2003-01/msg00095.html
+ http://mail.gnu.org/r/bug-gnulib/2003-01/msg00090.html
+ http://mail.gnu.org/r/bug-gnulib/2003-01/msg00095.html
* lib/free.c: New file.
Assume C89 or better; remove K&R cruft.
A few of these changes were first proposed by Derek Robert Price
- in <http://mail.gnu.org/archive/html/bug-gnulib/2003-07/msg00105.html>.
+ in <http://mail.gnu.org/r/bug-gnulib/2003-07/msg00105.html>.
* lib/addext.c: Include <string.h> unconditionally.
* lib/backupfile.c: Include <string.h>, <stdlib.h> unconditionally.
2003-09-07 Paul Eggert <eggert@twinsun.com>
* modules/time_r: Depend on 'restrict'. Fix from Simon Josefsson in
- <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00028.html>.
+ <http://mail.gnu.org/r/bug-gnulib/2003-09/msg00028.html>.
2003-09-07 Paul Eggert <eggert@twinsun.com>
* lib/time_r.c (gmtime_r, localtime_r): Fix silly typo: missing arg to
copy_tm_result. Bug reported by Simon Josefsson in
- <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00028.html>.
+ <http://mail.gnu.org/r/bug-gnulib/2003-09/msg00028.html>.
2003-09-06 Paul Eggert <eggert@twinsun.com>
* lib/human.c (human_readable): Fix bug that rounded 10501 to 10k.
Bug reported by Lute Kamstra in
- <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00003.html>.
+ <http://mail.gnu.org/r/bug-gnulib/2003-09/msg00003.html>.
* lib/getdate.y (relative_time_table): Use tDAY_UNIT for "tomorrow",
"yesterday", "today", and "now" rather than tMINUTE_UNIT. Of
* m4/mkstemp.m4: Require that the system mkstemp be able to create
70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
would fail after 32. Reported by Danny Levinson. Details here:
- http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
+ http://mail.gnu.org/r/bug-coreutils/2003-08/msg00124.html
2003-08-24 Bruno Haible <bruno@clisp.org>
2003-08-19 Jim Meyering <jim@meyering.net>
* m4/lib-ld.m4: Revert yesterday's change, per Bruno's request here:
- http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
+ http://mail.gnu.org/r/bug-gnulib/2003-08/msg00155.html
2003-08-19 Bruno Haible <bruno@clisp.org>
* lib/regex.h, strdup.c, strtoll.c, strtoul.c: Do not normalize white
space, undoing this 2003-08-12 change:
- <http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00080.html>
+ <http://mail.gnu.org/r/bug-gnulib/2003-08/msg00080.html>
2003-08-16 Paul Eggert <eggert@twinsun.com>
* config/srclist.txt: Get regex.h, strdup.c, strtoll.c,
strtoul.c from libc, undoing this 2003-08-12 change:
- <http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00080.html>
+ <http://mail.gnu.org/r/bug-gnulib/2003-08/msg00080.html>
2003-08-16 Jim Meyering <jim@meyering.net>
* lib/stdbool_.h (_Bool): Make it signed char, instead of
an enum type, so that it's guaranteed to promote to int. See:
- <http://mail.gnu.org/archive/html/bug-gnulib/2003-07/msg00124.html>
+ <http://mail.gnu.org/r/bug-gnulib/2003-07/msg00124.html>
2003-08-03 Karl Berry <karl@gnu.org>
* m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
* m4/strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
Suggested by Akim Demaille <akim@epita.fr> in
- http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
+ http://mail.gnu.org/r/bug-autoconf/2003-05/threads.html
2003-05-12 Jim Meyering <jim@meyering.net>
* m4/error.m4 (gl_ERROR): Do not put under dynamic conditions some
code which expansion is under static control. Patch imported from
Akim Demaille's patch to Bison; see
- <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
+ <http://mail.gnu.org/r/bison-patches/2003-03/msg00057.html>.
2003-04-14 Bruno Haible <bruno@clisp.org>
* lib/argmatch.c (EXIT_FAILURE): Define if the system doesn't.
Reported by Bruce Becker; see:
- http://mail.gnu.org/archive/html/bug-bison/2003-03/msg00017.html
+ http://mail.gnu.org/r/bug-bison/2003-03/msg00017.html
2003-03-03 Paul Eggert <eggert@twinsun.com>
Bruno Haible <bruno@clisp.org>
* lib/mbswidth.h: Include <wchar.h>. Needed for UnixWare 7.1.1.
Reported by John Hughes, see
- http://mail.gnu.org/archive/html/bug-bison/2003-02/msg00030.html
+ http://mail.gnu.org/r/bug-bison/2003-02/msg00030.html
2003-02-20 Bruno Haible <bruno@clisp.org>