gnulib.git
15 years agoRevert "poll-win32"
Paolo Bonzini [Fri, 29 Aug 2008 07:10:31 +0000 (09:10 +0200)]
Revert "poll-win32"

This reverts commit 4ced5d92be93b997c280be8d436e8a49b3b5e0dc
which was merged in by mistake.

15 years agomaint.mk: adjust to file name change
Jose E. Marchesi [Fri, 29 Aug 2008 01:33:04 +0000 (19:33 -0600)]
maint.mk: adjust to file name change

* top/maint.mk: s/Makefile.cfg/cfg.mk/.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years ago* modules/getndelim2 (License): Relicense to LGPLv2+.
Jim Meyering [Thu, 28 Aug 2008 12:32:52 +0000 (14:32 +0200)]
* modules/getndelim2 (License): Relicense to LGPLv2+.

15 years agouse unlocked I/O in getdelim
Paolo Bonzini [Wed, 27 Aug 2008 12:44:58 +0000 (14:44 +0200)]
use unlocked I/O in getdelim

2008-08-27  Paolo Bonzini  <bonzini@gnu.org>

* lib/getdelim.c (flockfile, funlockfile): Make all of them
dummy if one is not available.  Do not touch them if
USE_UNLOCKED_IO, instead letting unlocked-io.h do that.
(getc_maybe_unlocked): New.
* m4/getdelim.m4 (gl_PREREQ_GETDELIM): Check for getc_unlocked.

15 years agodoc/INSTALL: resync from autoconf
Eric Blake [Tue, 26 Aug 2008 21:42:04 +0000 (15:42 -0600)]
doc/INSTALL: resync from autoconf

* doc/Makefile (INSTALL, INSTALL.ISO, INSTALL.UTF-8): Simplify.
(INSTALL_PRELUDE): Delete; this is done more efficiently by
moving...
* install.texi [!autoconf]: ...here.  Resync from autoconf.
* INSTALL: Regenerate.
* INSTALL.ISO: New file.
* INSTALL.UTF-8: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoGNUmakefile: cfg.mk definitions override default autoreconf-rerun policy
Jim Meyering [Tue, 26 Aug 2008 08:14:36 +0000 (10:14 +0200)]
GNUmakefile: cfg.mk definitions override default autoreconf-rerun policy

* top/GNUmakefile (_is-dist-target, _is-install-target): Make
these definitions conditional, so that they may be overridden, too.

15 years agoGenerate INSTALL file variants with prettier quotes.
Bruno Haible [Tue, 26 Aug 2008 07:15:51 +0000 (09:15 +0200)]
Generate INSTALL file variants with prettier quotes.

15 years agoRun makeinfo in an English locale.
Bruno Haible [Tue, 26 Aug 2008 06:42:59 +0000 (08:42 +0200)]
Run makeinfo in an English locale.

15 years agoAvoid error message during generation of INSTALL.
Bruno Haible [Tue, 26 Aug 2008 06:33:53 +0000 (08:33 +0200)]
Avoid error message during generation of INSTALL.

15 years agoIndent all paragraphs in the INSTALL file in the same way.
Bruno Haible [Tue, 26 Aug 2008 06:32:04 +0000 (08:32 +0200)]
Indent all paragraphs in the INSTALL file in the same way.

15 years agosync against install.texi since Autoconf no longer provides INSTALL
Karl Berry [Mon, 25 Aug 2008 18:34:07 +0000 (11:34 -0700)]
sync against install.texi since Autoconf no longer provides INSTALL

15 years agoc-stack: test that stack overflow can be caught
Eric Blake [Mon, 25 Aug 2008 12:26:56 +0000 (06:26 -0600)]
c-stack: test that stack overflow can be caught

* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Also check
that platform allows handling stack overflow; at least OS/2 EMX
has sigaltstack, but crashes before transferring control to
handler on stack overflow.
* lib/c-stack.c [HAVE_SIGALTSTACK]: Adjust conditions to also
check for HAVE_STACK_OVERFLOW_HANDLING.
Reported by Elbert Pol.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoFix description of strftime module.
Bruno Haible [Mon, 25 Aug 2008 10:22:45 +0000 (12:22 +0200)]
Fix description of strftime module.

15 years agoCorrect attribution.
Bruno Haible [Sun, 24 Aug 2008 10:28:42 +0000 (12:28 +0200)]
Correct attribution.

15 years agoComplete test of uc_width results.
Bruno Haible [Sun, 24 Aug 2008 10:27:42 +0000 (12:27 +0200)]
Complete test of uc_width results.

15 years agoFix uc_width(0x00AB) bug, introduced on 2007-07-08.
Bruno Haible [Sun, 24 Aug 2008 10:26:56 +0000 (12:26 +0200)]
Fix uc_width(0x00AB) bug, introduced on 2007-07-08.

15 years agotest-lock, test-tls: mention why a test is skipped
Eric Blake [Tue, 19 Aug 2008 12:42:05 +0000 (06:42 -0600)]
test-lock, test-tls: mention why a test is skipped

* tests/test-lock.c (main) [!USE_*_THREADS]: Print why test is
skipped.
* tests/test-tls.c (main) [!USE_*_THREADS]: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoautoupdate
Eric Blake [Sat, 23 Aug 2008 01:26:34 +0000 (19:26 -0600)]
autoupdate

* doc/INSTALL: Regenerate from Autoconf.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agocount-one-bits: relax license
Eric Blake [Fri, 22 Aug 2008 19:45:41 +0000 (13:45 -0600)]
count-one-bits: relax license

* modules/count-one-bits (License): Relicense to LGPLv2+.
Suggested by Ludovic Courtès, approved by Ben Pfaff.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agogl_FUNC_OBSTACK_PRINTF_POSIX: fix typo
Andreas Schwab [Fri, 22 Aug 2008 16:40:23 +0000 (18:40 +0200)]
gl_FUNC_OBSTACK_PRINTF_POSIX: fix typo

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agom4/autobuild.m4: Use TZ=UTC0 instead of TZ=UTC.
Simon Josefsson [Thu, 21 Aug 2008 07:24:17 +0000 (09:24 +0200)]
m4/autobuild.m4: Use TZ=UTC0 instead of TZ=UTC.
Reported by Paul Eggert <eggert@CS.UCLA.EDU>.

15 years agoadd m4/threadlib.m4 to the gettext module
Paolo Bonzini [Thu, 21 Aug 2008 07:22:03 +0000 (09:22 +0200)]
add m4/threadlib.m4 to the gettext module

2008-08-20  Paolo Bonzini  <bonzini@gnu.org>

* modules/gettext: Add m4/threadlib.m4.

15 years agoMerge branch 'master' of ssh://bonzini@git.sv.gnu.org/srv/git/gnulib
Paolo Bonzini [Wed, 20 Aug 2008 08:00:53 +0000 (10:00 +0200)]
Merge branch 'master' of ssh://bonzini@git.sv.gnu.org/srv/git/gnulib

15 years agotest-c-stack: fix compilation failure on FreeBSD 5.0
Eric Blake [Wed, 20 Aug 2008 03:36:21 +0000 (21:36 -0600)]
test-c-stack: fix compilation failure on FreeBSD 5.0

* tests/test-c-stack.c [HAVE_SETRLIMIT]: Include prerequisite
headers before <sys/resource.h>.
* doc/posix-headers/sys_resource.texi (sys/resource.h): Document
the bug.
Reported by Nelson H. F. Beebe.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agostrverscmp: migrate from "strverscmp.h" to <string.h>
Eric Blake [Tue, 19 Aug 2008 15:23:40 +0000 (09:23 -0600)]
strverscmp: migrate from "strverscmp.h" to <string.h>

* modules/string (Makefile.am): Add new hooks.
* modules/strverscmp (Files): Remove strverscmp.h.
(Depends-on): Add string.
(configure.ac): Add indicator.
(Include): Mention new header.
* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Provide new
defaults.
* m4/strverscmp.m4 (gl_FUNC_STRVERSCMP): Inform string module of
results.
* lib/strverscmp.h: Delete.
* lib/string.in.h (strverscmp): Provide declaration, when needed.
* tests/test-strverscmp.c (includes): Adjust client.
* lib/check-version.c (includes): Likewise.
* NEWS: Document the change.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agostrverscmp: add unit test
Eric Blake [Tue, 19 Aug 2008 15:40:10 +0000 (09:40 -0600)]
strverscmp: add unit test

* modules/strverscmp-tests: New file.
* tests/test-strverscmp.c: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agolib/gc-gnulib.c: Indentation cleanup. Add some comments regarding Windows crypto...
Simon Josefsson [Tue, 19 Aug 2008 15:58:08 +0000 (17:58 +0200)]
lib/gc-gnulib.c: Indentation cleanup.  Add some comments regarding Windows crypto stuff, from Mono.

15 years agoWindows initialization fixes, tiny change from Adam Strzelecki <ono@java.pl>.
Simon Josefsson [Tue, 19 Aug 2008 15:02:58 +0000 (17:02 +0200)]
Windows initialization fixes, tiny change from Adam Strzelecki <ono@java.pl>.
lib/gc-gnulib.c: Use CRYPT_VERIFY_CONTEXT.  Try to use Intel CSP
if present, for intel RND.  Return error on failures.

15 years agogitlog-to-changelog: give better diagnostic for failed pipe-open
Ben Pfaff [Tue, 19 Aug 2008 06:20:22 +0000 (08:20 +0200)]
gitlog-to-changelog: give better diagnostic for failed pipe-open

* build-aux/gitlog-to-changelog: Improve error message: suggest
that the version of Git may be too old.

15 years agopoll-win32
Paolo Bonzini [Tue, 19 Aug 2008 05:59:49 +0000 (07:59 +0200)]
poll-win32

15 years agoUse ISO 8601 format. Attribution.
Simon Josefsson [Mon, 18 Aug 2008 17:47:23 +0000 (19:47 +0200)]
Use ISO 8601 format.  Attribution.

15 years agoautobuild.m4: Use TZ=UTC to avoid time zone complexity.
Simon Josefsson [Mon, 18 Aug 2008 17:40:11 +0000 (19:40 +0200)]
autobuild.m4: Use TZ=UTC to avoid time zone complexity.

15 years agoFix link error with Solaris threads.
Bruno Haible [Mon, 18 Aug 2008 10:49:10 +0000 (12:49 +0200)]
Fix link error with Solaris threads.

15 years agoInclude <pthread.h>.
Bruno Haible [Mon, 18 Aug 2008 10:44:48 +0000 (12:44 +0200)]
Include <pthread.h>.

15 years agoFix 2008-08-03 change.
Bruno Haible [Mon, 18 Aug 2008 10:41:12 +0000 (12:41 +0200)]
Fix 2008-08-03 change.

15 years agoAvoid forcing a context switch right after thread creation.
Bruno Haible [Mon, 18 Aug 2008 09:39:40 +0000 (11:39 +0200)]
Avoid forcing a context switch right after thread creation.

15 years agoImplement thread control primitives for Win32.
Bruno Haible [Mon, 18 Aug 2008 00:23:32 +0000 (02:23 +0200)]
Implement thread control primitives for Win32.

15 years agoInclude the right header files.
Bruno Haible [Sun, 17 Aug 2008 19:56:29 +0000 (21:56 +0200)]
Include the right header files.

15 years agoFix syntax errors in C++ mode.
Bruno Haible [Sun, 17 Aug 2008 19:26:13 +0000 (21:26 +0200)]
Fix syntax errors in C++ mode.

15 years agoMake gl_create_thread easier to use.
Bruno Haible [Sun, 17 Aug 2008 19:18:02 +0000 (21:18 +0200)]
Make gl_create_thread easier to use.

15 years agoNew module 'yield'.
Bruno Haible [Sun, 17 Aug 2008 19:02:11 +0000 (21:02 +0200)]
New module 'yield'.

15 years agoLink with LIBMULTITHREAD, not LIBTHREAD.
Bruno Haible [Sun, 17 Aug 2008 17:46:23 +0000 (19:46 +0200)]
Link with LIBMULTITHREAD, not LIBTHREAD.

15 years agoNew module 'thread'.
Bruno Haible [Sun, 17 Aug 2008 17:29:30 +0000 (19:29 +0200)]
New module 'thread'.

15 years agoInclude <stdlib.h> always.
Bruno Haible [Sun, 17 Aug 2008 16:33:47 +0000 (18:33 +0200)]
Include <stdlib.h> always.

15 years agoAC_C_INLINE can be AC_REQUIREd.
Bruno Haible [Sun, 17 Aug 2008 16:02:05 +0000 (18:02 +0200)]
AC_C_INLINE can be AC_REQUIREd.

15 years agoUpdate modules list.
Bruno Haible [Sun, 17 Aug 2008 15:23:23 +0000 (17:23 +0200)]
Update modules list.

15 years agoNew module 'cond'.
Yoann Vandoorselaere [Sun, 17 Aug 2008 15:21:35 +0000 (17:21 +0200)]
New module 'cond'.

15 years agoMove some code from module 'lock' to module 'threadlib'.
Bruno Haible [Sun, 17 Aug 2008 14:26:05 +0000 (16:26 +0200)]
Move some code from module 'lock' to module 'threadlib'.

15 years agoc-stack: fix regression on Irix 5.3 from 2008-06-21
Eric Blake [Sat, 16 Aug 2008 19:47:58 +0000 (13:47 -0600)]
c-stack: fix regression on Irix 5.3 from 2008-06-21

* m4/c-stack.m4 (gl_PREREQ_C_STACK): Move check for
sa_sigaction...
* m4/sigaction.m4 (gl_PREREQ_SIG_HANDLER_H): ...here.
(gl_PREREQ_SIGACTION): Depend on sig-handler.h prereq's.
* m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Set the default.
* modules/signal (Makefile.am): Use the value.
* lib/signal.in.h (sa_sigaction) [HAVE_SIGACTION
&& !HAVE_STRUCT_SIGACTION_SA_SIGACTION]: Define.
* doc/posix-headers/signal.texi (signal.h): Document this
portability issue.
* doc/posix-functions/sigaction.texi (sigaction): Likewise.
Reported by Tom G. Christensen.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoNew module 'threadlib'.
Bruno Haible [Sun, 17 Aug 2008 13:49:29 +0000 (15:49 +0200)]
New module 'threadlib'.

15 years agoSeparate the macros and the function symbols.
Bruno Haible [Thu, 14 Aug 2008 10:51:54 +0000 (12:51 +0200)]
Separate the macros and the function symbols.

15 years agoMove the lock and tls source files into a subdirectory.
Bruno Haible [Thu, 14 Aug 2008 08:56:24 +0000 (10:56 +0200)]
Move the lock and tls source files into a subdirectory.

15 years ago* lib/fts_.h: Fix grammar (insert a missing "is") in a comment.
Jim Meyering [Mon, 11 Aug 2008 13:29:40 +0000 (15:29 +0200)]
* lib/fts_.h: Fix grammar (insert a missing "is") in a comment.

15 years agotest-c-stack: avoid C99-ism
Eric Blake [Mon, 11 Aug 2008 12:33:56 +0000 (06:33 -0600)]
test-c-stack: avoid C99-ism

* tests/test-c-stack.c (main): Fix whitespace, move declaration
before statement.
Reported by Alain Guibert.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoensure that return value of uinttostr et al are not ignored
Jim Meyering [Sun, 10 Aug 2008 14:40:12 +0000 (16:40 +0200)]
ensure that return value of uinttostr et al are not ignored

* lib/inttostr.h (__GNUC_PREREQ): Define.
(__attribute_warn_unused_result__): Define.
(offtostr, imaxtostr, umaxtostr, uinttostr): Apply the attribute.

15 years ago* modules/tempname (License): Relicense under LGPLv2+.
Jim Meyering [Thu, 7 Aug 2008 09:27:02 +0000 (11:27 +0200)]
* modules/tempname (License): Relicense under LGPLv2+.

15 years agofix typo in lib/lock.c (fixes compilation on Darwin)
Paolo Bonzini [Thu, 7 Aug 2008 10:09:59 +0000 (12:09 +0200)]
fix typo in lib/lock.c (fixes compilation on Darwin)

2008-08-07  Paolo Bonzini  <bonzini@gnu.org>

* lib/lock.c (glthread_recursive_lock_init_multithreaded)
[!PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: Fix typo.

15 years ago* m4/inet_pton.m4: Fix typo in comment: s/inet_ntop/inet_pton/.
Jim Meyering [Thu, 7 Aug 2008 09:48:23 +0000 (11:48 +0200)]
* m4/inet_pton.m4: Fix typo in comment: s/inet_ntop/inet_pton/.

15 years ago* modules/mkstemp (License): Relicense under LGPLv2+.
Jim Meyering [Thu, 7 Aug 2008 09:19:12 +0000 (11:19 +0200)]
* modules/mkstemp (License): Relicense under LGPLv2+.

15 years agoFurther micro-optimization.
Bruno Haible [Wed, 6 Aug 2008 22:15:07 +0000 (00:15 +0200)]
Further micro-optimization.

15 years agoinet_pton.c: use locale-independent tolower
Jim Meyering [Wed, 6 Aug 2008 09:49:11 +0000 (11:49 +0200)]
inet_pton.c: use locale-independent tolower

* lib/inet_pton.c: Include <c-ctype.h> rather than <ctype.h>.
(inet_pton6): Use c_tolower rather than tolower.
* modules/inet_pton (Depends-on): Add c-ctype.

15 years agomicrooptimization of lib/poll.c
Paolo Bonzini [Wed, 6 Aug 2008 08:27:53 +0000 (10:27 +0200)]
microoptimization of lib/poll.c

2008-08-06  Paolo Bonzini  <bonzini@gnu.org>

* lib/poll.c (poll): Avoid division when timeout is 0, cache
_SC_OPEN_MAX, avoid repeated access to errno.  Check for nfd < 0.

15 years ago* modules/inet_pton (License): Relicense under LGPLv2+.
Jim Meyering [Wed, 6 Aug 2008 07:40:32 +0000 (09:40 +0200)]
* modules/inet_pton (License): Relicense under LGPLv2+.

15 years agoautoupdate
Karl Berry [Tue, 5 Aug 2008 17:36:33 +0000 (10:36 -0700)]
autoupdate

15 years agoAdditional non-aborting API for lock and tls.
Bruno Haible [Sun, 3 Aug 2008 18:45:40 +0000 (20:45 +0200)]
Additional non-aborting API for lock and tls.

15 years agognumakefile: use space, not TAB, outside of targets
Eric Blake [Mon, 4 Aug 2008 18:45:23 +0000 (12:45 -0600)]
gnumakefile: use space, not TAB, outside of targets

* top/GNUmakefile (_dummy): Fix whitespace error in prior edit.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoadd replacement for ncftpput that uses cmdline ftp
Karl Berry [Mon, 4 Aug 2008 17:54:29 +0000 (10:54 -0700)]
add replacement for ncftpput that uses cmdline ftp

15 years agogetdate.y: avoid locale-dependent date parsing failure
Jim Meyering [Sat, 2 Aug 2008 13:40:39 +0000 (15:40 +0200)]
getdate.y: avoid locale-dependent date parsing failure

In Turkish locales, getdate would fail to recognize keywords
containing a lowercase "i".  The solution is not to rely on
locale-sensitive case-conversion.
* lib/getdate.y: Include <c-ctype.h> rather than <ctype.h>.
(lookup_word): Use c_toupper in place of toupper.
(yylex, get_date): Use c_ prefixed variants of isspace and isalpha, too.
Reported by Vefa Bicakci <bicave@superonline.com> in
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/14184>.
* modules/getdate (Depends-on): Add c-ctype.

15 years agognupload: restore lost executable bit
Eric Blake [Sun, 3 Aug 2008 19:28:46 +0000 (13:28 -0600)]
gnupload: restore lost executable bit

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoautoupdate
Karl Berry [Sun, 3 Aug 2008 14:02:43 +0000 (07:02 -0700)]
autoupdate

15 years ago-mautoupdate
Karl Berry [Sat, 2 Aug 2008 16:21:31 +0000 (09:21 -0700)]
-mautoupdate

15 years agoPrepend each added line in .gitignore files with a slash.
Bruno Haible [Sat, 2 Aug 2008 11:38:58 +0000 (13:38 +0200)]
Prepend each added line in .gitignore files with a slash.

15 years agoPortability fix for GNU make 3.79.1.
Ralf Wildenhues [Sat, 2 Aug 2008 08:23:16 +0000 (10:23 +0200)]
Portability fix for GNU make 3.79.1.

* top/GNUmakefile: Avoid 'else COND', which older GNU make
versions do not understand.

15 years agoWork around bug of HP-UX 10.20 cc with -0.0 literal.
Bruno Haible [Fri, 1 Aug 2008 09:30:27 +0000 (11:30 +0200)]
Work around bug of HP-UX 10.20 cc with -0.0 literal.

15 years agosha256.h: correct definition on SHA224_DIGEST_SIZE
Jim Meyering [Thu, 31 Jul 2008 13:35:25 +0000 (15:35 +0200)]
sha256.h: correct definition on SHA224_DIGEST_SIZE

* lib/sha256.h (SHA224_DIGEST_SIZE): Define to 28, not 24.
Reported by Paulie Pena IV <paulie4@gmail.com>.
Define as 224 / 8, rather than as a literal.
(SHA256_DIGEST_SIZE): Define as 256/8 rather than equivalent literal.
* lib/sha512.h (SHA384_DIGEST_SIZE): Likewise, define as equiv: 384/8.
(SHA512_DIGEST_SIZE): Likewise, define as equivalent quotient: 512/8.

15 years agoMake determination of BITSET_WORD_MAX work also with old HP-UX cc compilers.
Bruno Haible [Thu, 31 Jul 2008 10:04:14 +0000 (12:04 +0200)]
Make determination of BITSET_WORD_MAX work also with old HP-UX cc compilers.

15 years agoMake a sed program more robust.
Bruno Haible [Thu, 31 Jul 2008 09:34:41 +0000 (11:34 +0200)]
Make a sed program more robust.

15 years agotest-strtod: allow compilation without -lm
Eric Blake [Wed, 30 Jul 2008 14:37:31 +0000 (08:37 -0600)]
test-strtod: allow compilation without -lm

* tests/test-strtod.c (main): Avoid link dependence on fabs.
Reported by Dennis Clarke <blastwave@gmail.com>.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agobootstrap: work also when there are no .po files in po/
Jim Meyering [Mon, 28 Jul 2008 18:40:23 +0000 (20:40 +0200)]
bootstrap: work also when there are no .po files in po/

* build-aux/bootstrap (update_po_files): Complete the change
that I began in bc960df8c789c878f1c1c54a28a3c2648dead8d9.

15 years agoautoupdate
Karl Berry [Mon, 28 Jul 2008 14:27:55 +0000 (07:27 -0700)]
autoupdate

15 years ago* users.txt: Add zile.
Jim Meyering [Sun, 27 Jul 2008 21:38:05 +0000 (23:38 +0200)]
* users.txt: Add zile.

15 years agoAdd missing dependencies on new m4/exponent[fdl].m4 files.
Ben Pfaff [Sat, 26 Jul 2008 15:01:12 +0000 (08:01 -0700)]
Add missing dependencies on new m4/exponent[fdl].m4 files.

15 years agoAdd isinf module.
Ben Pfaff [Thu, 24 Jul 2008 04:48:35 +0000 (21:48 -0700)]
Add isinf module.

15 years agoMove macros for finding floating-point exponents into separate M4 files.
Ben Pfaff [Thu, 24 Jul 2008 04:34:48 +0000 (21:34 -0700)]
Move macros for finding floating-point exponents into separate M4 files.

15 years agomktime.c: normalize tp->tm_isdst value to -1/0/1.
Ulrich Drepper [Wed, 23 Jul 2008 14:19:15 +0000 (16:19 +0200)]
mktime.c: normalize tp->tm_isdst value to -1/0/1.

* lib/mktime.c (__mktime_internal): Normalize tp->tm_isdst value.
Reported by Michael Ringe <Michael.Ringe@gmx.de> in
<http://sourceware.org/bugzilla/show_bug.cgi?id=6723>.

15 years agoImprove ChangeLog entry for Ulrich Drepper's change.
Bruno Haible [Wed, 23 Jul 2008 10:34:14 +0000 (12:34 +0200)]
Improve ChangeLog entry for Ulrich Drepper's change.

15 years ago* lib/canonicalize-lgpl.c (__realpath): readlink can write too
Ulrich Drepper [Wed, 23 Jul 2008 08:24:43 +0000 (10:24 +0200)]
* lib/canonicalize-lgpl.c (__realpath): readlink can write too

much into the buffer on platforms without PATH_MAX.

15 years agoWarn, not fail, on stale version.
Eric Blake [Tue, 22 Jul 2008 03:45:30 +0000 (21:45 -0600)]
Warn, not fail, on stale version.

* top/GNUmakefile (_curr-ver): Tone down previous patch.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoDon't allow installation with stale devel version number.
Eric Blake [Mon, 21 Jul 2008 15:13:38 +0000 (09:13 -0600)]
Don't allow installation with stale devel version number.

* top/GNUmakefile (_is-install-target): New macro.
(_curr-ver): Forbid installation with stale version number.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoTest must fail if libsigsegv could not distinguish stack overflow and crash.
Bruno Haible [Sun, 20 Jul 2008 23:03:26 +0000 (01:03 +0200)]
Test must fail if libsigsegv could not distinguish stack overflow and crash.

15 years agoImprove documentation.
Bruno Haible [Sun, 20 Jul 2008 16:25:12 +0000 (18:25 +0200)]
Improve documentation.

15 years agoRelicense under LGPLv2+.
Bruno Haible [Sun, 20 Jul 2008 11:43:28 +0000 (13:43 +0200)]
Relicense under LGPLv2+.

15 years agoc-stack: fix typo.
Eric Blake [Thu, 17 Jul 2008 22:21:42 +0000 (16:21 -0600)]
c-stack: fix typo.

* modules/c-stack (Link): Fix typo.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoMake c-stack use libsigsegv, when available.
Eric Blake [Thu, 17 Jul 2008 12:23:47 +0000 (06:23 -0600)]
Make c-stack use libsigsegv, when available.

* modules/c-stack (Depends-on): Add libsigsegv.
* modules/c-stack-tests (Makefile.am): Link with libsigsegv, if
needed.
* lib/c-stack.c (SIGSTKSZ): Define fallback.
(segv_handler, overflow_handler, c_stack_action)
[HAVE_LIBSIGSEGV && !HAVE_XSI_STACK_OVERFLOW_HEURISTIC]: Add new
implementation when libsigsegv is available, but only when using
the library is necessary.
* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Add
comment, explaining why XSI check fails on Linux.
(gl_PREREQ_C_STACK): Supply LIBCSTACK, LTLIBCSTACK.
* tests/test-c-stack2.sh: Tweak skip message.
* NEWS: Document new link-time requirements.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoc-stack: Expose false positives when not using libsigsegv.
Eric Blake [Wed, 16 Jul 2008 22:28:13 +0000 (16:28 -0600)]
c-stack: Expose false positives when not using libsigsegv.

* modules/c-stack-tests (Files): Expand test.
* tests/test-c-stack.c (main): Add means to conditionally trigger
non-overflow SIGSEGV.
* tests/test-c-stack2.sh: New file.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoRemove unneeded AC_PREREQ.
Bruno Haible [Mon, 14 Jul 2008 22:30:36 +0000 (00:30 +0200)]
Remove unneeded AC_PREREQ.

15 years agoNew module 'libsigsegv'.
Bruno Haible [Mon, 14 Jul 2008 11:17:26 +0000 (13:17 +0200)]
New module 'libsigsegv'.

15 years agoImproves the doc in MODULES.html.
Bruno Haible [Mon, 14 Jul 2008 10:37:46 +0000 (12:37 +0200)]
Improves the doc in MODULES.html.

15 years agoNew module 'longlong'.
Ben Pfaff [Sun, 13 Jul 2008 03:56:44 +0000 (20:56 -0700)]
New module 'longlong'.

15 years agoChangeLog formatting.
Bruno Haible [Sat, 12 Jul 2008 23:12:18 +0000 (01:12 +0200)]
ChangeLog formatting.