51 Commits
Author SHA1 Message Date
Paul Eggert a3fd683de3 version-etc: new year
* build-aux/gendocs.sh (version):
* doc/gendocs_template:
* doc/gendocs_template_min:
* doc/gnulib.texi:
* lib/version-etc.c (COPYRIGHT_YEAR):
Update copyright dates by hand in templates and the like.
* all files: Run 'make update-copyright'.
2017-01-01 02:59:23 +00:00
Paul Eggert 71090a2a31 version-etc: new year
* build-aux/gendocs.sh (version):
* doc/gendocs_template:
* doc/gendocs_template_min:
* doc/gnulib.texi:
* lib/version-etc.c (COPYRIGHT_YEAR):
Update copyright dates by hand in templates and the like.
* all files: Run 'make update-copyright'.
2016-01-01 00:57:21 -08:00
Paul Eggert b9bfe78424 version-etc: new year
* doc/gnulib.texi:
* lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date.
* all files: Run 'make update-copyright'.
2014-12-31 17:47:54 -08:00
Eric Blake 1276a2c5f2 maint: update copyright
I ran 'make update-copyright'.

Signed-off-by: Eric Blake <eblake@redhat.com>
2014-01-01 00:07:10 -07:00
Eric Blake 9fc81090f6 maint: update all copyright year number ranges
Run "make update-copyright".  Compare to commit 1602f0a from last year.

Signed-off-by: Eric Blake <eblake@redhat.com>
2013-01-01 00:50:58 +00:00
Paul Eggert bdaf232db9 dup, execute, fatal-signal, etc.: no 'static inline'
* lib/dup.c (dup_nothrow):
* lib/execute.c (nonintr_close, nonintr_open):
* lib/fatal-signal.c (uninstall_handlers, install_handlers):
* lib/fopen.c (orig_fopen):
* lib/freadseek.c (freadptrinc):
* lib/freopen.c (orig_freopen):
* lib/fstat.c (orig_fstat, fstat_nothrow):
* lib/get-rusage-as.c (get_rusage_as_via_setrlimit)
(get_rusage_as_via_iterator):
* lib/get-rusage-data.c (get_rusage_data_via_setrlimit):
* lib/getdtablesize.c (_setmaxstdio_nothrow):
* lib/isatty.c (_isatty_nothrow):
* lib/open.c (orig_open):
* lib/read.c (read_nothrow):
* lib/sigprocmask.c (signal_nothrow):
* lib/spawn-pipe.c (nonintr_close, nonintr_open):
* lib/vasnprintf.c (MAX_ROOM_NEEDED):
* lib/wait-process.c (unregister_slave_subprocess):
* lib/write.c (write_nothrow):
Now static, not static inline.
* lib/spawn-pipe.c (nonintr_open): Define only if
(defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__.
* m4/dup.m4 (gl_PREREQ_DUP):
* m4/execute.m4 (gl_EXECUTE):
* m4/fatal-signal.m4 (gl_FATAL_SIGNAL):
* m4/fopen.m4 (gl_PREREQ_FOPEN):
* m4/freadseek.m4 (gl_FUNC_FREADSEEK):
* m4/freopen.m4 (gl_PREREQ_FREOPEN):
* m4/fstat.m4 (gl_PREREQ_FSTAT):
* m4/getdtablesize.m4 (gl_PREREQ_GETDTABLESIZE):
* m4/isatty.m4 (gl_PREREQ_ISATTY):
* m4/open.m4 (gl_PREREQ_OPEN):
* m4/read.m4 (gl_PREREQ_READ):
* m4/signalblocking.m4 (gl_PREREQ_SIGPROCMASK):
* m4/spawn-pipe.m4 (gl_SPAWN_PIPE):
* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
* m4/wait-process.m4 (gl_WAIT_PROCESS):
* m4/write.m4 (gl_PREREQ_WRITE):
* modules/get-rusage-as, modules/get-rusage-data (configure.ac):
Do not require AC_C_INLINE.
2012-11-29 23:38:55 -08:00
Paul Eggert a4d796fb14 maint: spelling fixes 2012-02-05 13:42:03 -08:00
Jim Meyering 1602f0afed maint: update all copyright year number ranges
Run "make update-copyright".
2012-01-01 10:04:58 +01:00
Bruno Haible 8f9c414718 vasnprintf: Optimize bit search operation.
* lib/vasnprintf.c (divide): Use optimizations from integer_length.c.
* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Require
gl_DOUBLE_EXPONENT_LOCATION.
* modules/vasnprintf (Files): Add m4/exponentd.m4.
* modules/unistdio/u8-vasnprintf (Files): Likewise.
* modules/unistdio/u8-u8-vasnprintf (Files): Likewise.
* modules/unistdio/u16-vasnprintf (Files): Likewise.
* modules/unistdio/u16-u16-vasnprintf (Files): Likewise.
* modules/unistdio/u32-vasnprintf (Files): Likewise.
* modules/unistdio/u32-u32-vasnprintf (Files): Likewise.
* modules/unistdio/ulc-vasnprintf (Files): Likewise.
* m4/isnand.m4 (gl_PREREQ_ISNAND): Use AC_REQUIRE.
2011-10-15 13:20:29 +02:00
Bruno Haible f76a70dc02 Properly quote AC_CHECK_DECLS' 4th argument.
* m4/c-stack.m4 (gl_PREREQ_C_STACK): Double-quote AC_CHECK_DECLS' 4th
argument.
* m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
* m4/ceill.m4 (gl_FUNC_CEILL): Likewise.
* m4/dirfd.m4 (gl_FUNC_DIRFD): Likewise.
* m4/floorf.m4 (gl_FUNC_FLOORF): Likewise.
* m4/floorl.m4 (gl_FUNC_FLOORL): Likewise.
* m4/fnmatch.m4 (gl_PREREQ_FNMATCH): Likewise.
* m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Likewise.
* m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Likewise.
* m4/gethrxtime.m4 (gl_GETHRXTIME): Likewise.
* m4/getpass.m4 (gl_PREREQ_GETPASS): Likewise.
* m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Likewise.
* m4/inet_pton.m4 (gl_FUNC_INET_PTON): Likewise.
* m4/isfinite.m4 (gl_ISFINITE): Likewise.
* m4/isinf.m4 (gl_ISINF): Likewise.
* m4/logb.m4 (gl_FUNC_LOGB): Likewise.
* m4/readutmp.m4 (gl_READUTMP): Likewise.
* m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
* m4/round.m4 (gl_FUNC_ROUND): Likewise.
* m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
* m4/roundl.m4 (gl_FUNC_ROUNDL): Likewise.
* m4/signbit.m4 (gl_SIGNBIT): Likewise.
* m4/sleep.m4 (gl_FUNC_SLEEP): Likewise.
* m4/strsignal.m4 (gl_PREREQ_STRSIGNAL): Likewise.
* m4/trunc.m4 (gl_FUNC_TRUNC): Likewise.
* m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise.
* m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Likewise.
* m4/wctob.m4 (gl_FUNC_WCTOB): Likewise.
* m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
Reported by Eric Blake.
2011-09-15 00:23:57 +02:00
Jim Meyering d60f3b0c6b maint: update almost all copyright ranges to include 2011
Run the new "make update-copyright" rule.
2011-01-01 22:12:59 +01:00
Bruno Haible b2e33d4db3 Ensure that <features.h> is included before __GLIBC__ is tested.
* lib/printf-parse.h: Include <features.h>.
* m4/vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gl_FEATURES_H.

* lib/wchar.in.h: Include <features.h>.
* m4/wchar_h.m4 (gl_WCHAR_H): Require gl_FEATURES_H.
* modules/wchar (Makefile.am): Substitute HAVE_FEATURES_H.

* lib/arpa_inet.in.h: Include <features.h>.
* m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Require gl_FEATURES_H.
* modules/arpa_inet (Makefile.am): Substitute HAVE_FEATURES_H.

* build-aux/link-warning.h: Include <features.h>.
* modules/link-warning (configure.ac): Require gl_FEATURES_H.
(Makefile.am): Substitute HAVE_FEATURES_H into link-warning.h.

* m4/gnulib-common.m4 (gl_FEATURES_H): New macro.
Reported by Mike Frysinger <vapier@gentoo.org>.
2010-11-20 23:46:16 +01:00
Bruno Haible 0167c1923d vasnprintf: Correct handling of unconvertible wide string arguments. 2010-04-10 22:25:31 +02:00
Jim Meyering b2e2010c7c update nearly all FSF copyright year lists to include 2010
Use the same procedure as for 2009, outlined in
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
2010-01-01 10:42:00 +01:00
Bruno Haible 5d9a617e08 Avoid warning about use AC_REQUIRE in recent autoconf. 2009-05-04 00:25:06 +02:00
Bruno Haible 220f76a18a Fix *printf behaviour regarding the %ls directive. 2009-02-26 12:54:20 +01:00
Bruno Haible e8e63d1b31 vasnprintf: Fix invalid read past end of memory block. 2009-02-24 04:10:02 +01:00
Jim Meyering 42d1eda5dc many *.m4 files: improve m4 quoting
99% of this change was performed by running the following commands:
git ls-files | grep '\.m4$' | xargs perl -pi \
  -e 's/(AC_\w+\()([^[()]+?)([,)])/$1\[$2]$3/g;' \
  -e 's/(AC_\w+\((?:\[[^,]+?\], ){1})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
  -e 's/(AC_\w+\((?:\[[^,]+?\], ){2})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
  -e 's/(AC_\w+\((?:\[[^,]+?\], ){3})([^,[()]+?)([,)])/$1\[$2]$3/g'
perl -pi -e 's/\[\.\.\.\]/.../' m4/onceonly.m4

The remainder were to add Copyright dates, increment serial numbers,
undo some changes in comments, exclude m4/intl.m4, and add quotes
around the "1" in ",1" where the unusual spacing prohibited the
above regexps from doing the job.  For more details, see
<http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/16175>.
2009-01-14 11:24:37 +01:00
Bruno Haible dac3bbf963 Use module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C
code.
2008-03-30 15:18:13 +02:00
Bruno Haible 6cad9c9121 Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20. 2008-02-07 02:08:13 +01:00
Bruno Haible bb47b632d3 Align checks for ptrdiff_t. 2007-11-11 01:37:52 +01:00
Bruno Haible 474d4b34c6 Fix *printf behaviour for large precisions on mingw and BeOS. 2007-11-04 17:19:42 +01:00
Bruno Haible 7cd87873c8 Fix *printf behaviour in out-of-memory situations on MacOS X and *BSD. 2007-11-03 16:52:20 +01:00
Bruno Haible cce88f340d Add support for Unicode strings (both as output format and as arguments to
the %U directive).
2007-06-11 01:10:07 +00:00
Bruno Haible 3dec403bde Test for _snprintf (missing since 2003-11-16). 2007-06-10 15:05:31 +00:00
Bruno Haible aa5f3d93ba Fix typo. 2007-06-06 01:30:59 +00:00
Bruno Haible 82485375cc Fix *printf result for NaN, Inf on AIX, Solaris, OSF/1. 2007-05-20 09:01:48 +00:00
Bruno Haible 118b9d3f01 Fix *printf result for NaN, Inf, -0.0 on mingw. 2007-05-19 14:52:36 +00:00
Bruno Haible 060ad6de5e Add support for 'long double' number output. 2007-05-18 18:26:01 +00:00
Bruno Haible e9bb23084a Work around an incorrect implementation of the 0 flag on most platforms. 2007-05-06 23:02:10 +00:00
Bruno Haible 2bb894abc6 Work around lack of support of grouping flag. 2007-05-06 15:29:04 +00:00
Bruno Haible 9f9bd78aba Implement the %F directive if the system doesn't implement it correctly. 2007-04-11 23:46:07 +00:00
Bruno Haible 9f88c0b0e0 Assume 'long double' exists. 2007-04-06 14:36:56 +00:00
Bruno Haible 9afb597f0d No tabs please. 2007-03-26 20:59:46 +00:00
Eric Blake f60b02cefc * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
regression in logic sense of previous patch.
2007-03-26 18:25:16 +00:00
Eric Blake caac5eb109 * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
regression in logic sense of previous patch.
2007-03-26 18:25:16 +00:00
Bruno Haible ff139a5281 Don't use unportable shell statement. 2007-03-26 10:24:24 +00:00
Bruno Haible 5b57d6d54b Prefer nl_langinfo over localeconv. 2007-03-26 02:15:46 +00:00
Bruno Haible 6f89cf0336 Test for vasnprintf in the macro that need it. 2007-03-07 01:34:55 +00:00
Bruno Haible db199c4e54 Small reorganization. 2007-03-05 00:37:10 +00:00
Bruno Haible b4548f0e8f New module 'vasnprintf-posix'. 2007-03-04 23:28:59 +00:00
Bruno Haible 537839f53e Assume that the C compiler understands the 'signed' keyword. 2006-10-27 17:11:53 +00:00
Bruno Haible cfc2c6cad8 Use HAVE_LONG_LONG_INT instead of HAVE_LONG_LONG. 2006-10-11 16:09:38 +00:00
Bruno Haible 52aceb00a8 Use an all-permissive copyright notice, recommended by RMS. 2005-01-18 13:07:56 +00:00
Bruno Haible 9233887175 Provide a substitute for EOVERFLOW if <errno.h> doesn't define it. 2004-09-09 12:31:36 +00:00
Paul Eggert c4da5fc90f Merge from coreutils CVS. 2004-06-01 20:27:08 +00:00
Jim Meyering 23fe10e274 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses. 2004-04-18 18:12:50 +00:00
Bruno Haible 4831ead44d Use size_t instead of ssize_t. 2003-11-25 11:18:46 +00:00
Bruno Haible a416aa560a Use xsize.h to protect against memory size overflows. 2003-11-17 15:14:21 +00:00
Bruno Haible 8c21c43c77 Work around the lack of wcslen() on Solaris 2.5.1. 2003-08-11 13:02:26 +00:00