gnulib.git
17 years agoBreak long lines.
Bruno Haible [Fri, 2 Mar 2007 01:40:17 +0000 (01:40 +0000)]
Break long lines.

17 years agoMight not work on OpenBSD.
Bruno Haible [Fri, 2 Mar 2007 01:30:36 +0000 (01:30 +0000)]
Might not work on OpenBSD.

17 years agoGnulib doesn't impose ordering constraints between include files, except
Bruno Haible [Fri, 2 Mar 2007 01:18:28 +0000 (01:18 +0000)]
Gnulib doesn't impose ordering constraints between include files, except
for <config.h>.

17 years agoFollowup to the 2007-02-12 patch, using suggestions from Bruno Haible in
Paul Eggert [Thu, 1 Mar 2007 21:24:55 +0000 (21:24 +0000)]
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>.
* doc/gnulib-tool.texi (Initial import): Mention _FILE_OFFSET_BITS
as another example.
* lib/time_.h: Fix misspelling.
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP):
Require gl_HEADER_TIME_H_DEFAULTS.
* m4/strptime.m4 (gl_FUNC_STRPTIME): Likewise.
* m4/time_r.m4 (gl_TIME_R): Likewise.
* m4/timegm.m4 (gl_FUNC_TIMEGM): Likewise.

17 years ago* m4/utimecmp.m4 (gl_UTIMECMP): Don't require gl_TIMESPEC.
Eric Blake [Thu, 1 Mar 2007 13:16:29 +0000 (13:16 +0000)]
* m4/utimecmp.m4 (gl_UTIMECMP): Don't require gl_TIMESPEC.
* m4/utimens.m4 (gl_UTIMENS): Likewise.

17 years ago* modules/xreadlink (Maintainer): Add my name.
Jim Meyering [Thu, 1 Mar 2007 07:34:19 +0000 (07:34 +0000)]
* modules/xreadlink (Maintainer): Add my name.
* modules/xreadlink-with-size (Depends-on): Alphabetize.

    Bruno Haible  <bruno@clisp.org>

17 years agoDon't depend on relocatable-lib, because of -DNO_XMALLOC.
Bruno Haible [Thu, 1 Mar 2007 03:04:56 +0000 (03:04 +0000)]
Don't depend on relocatable-lib, because of -DNO_XMALLOC.

17 years agoNew modules relocatable, relocatable-lib, relocatable-script.
Bruno Haible [Thu, 1 Mar 2007 02:14:04 +0000 (02:14 +0000)]
New modules relocatable, relocatable-lib, relocatable-script.

17 years agoNew module 'relocatable-script'. From Ben Pfaff.
Bruno Haible [Thu, 1 Mar 2007 02:09:07 +0000 (02:09 +0000)]
New module 'relocatable-script'. From Ben Pfaff.

17 years agoNew module 'relocatable-lib'. From Ben Pfaff.
Bruno Haible [Thu, 1 Mar 2007 02:08:49 +0000 (02:08 +0000)]
New module 'relocatable-lib'. From Ben Pfaff.

17 years agoNew module 'relocatable'. From Ben Pfaff.
Bruno Haible [Thu, 1 Mar 2007 02:08:35 +0000 (02:08 +0000)]
New module 'relocatable'. From Ben Pfaff.

17 years agoDocumentation of 'relocatable' module - for maintainers.
Bruno Haible [Thu, 1 Mar 2007 02:08:18 +0000 (02:08 +0000)]
Documentation of 'relocatable' module - for maintainers.

17 years agoDocumentation of relocatability for users / installers.
Bruno Haible [Thu, 1 Mar 2007 02:07:56 +0000 (02:07 +0000)]
Documentation of relocatability for users / installers.

17 years agoSnippet of code that provides relocatability to shell scripts.
Bruno Haible [Thu, 1 Mar 2007 02:07:34 +0000 (02:07 +0000)]
Snippet of code that provides relocatability to shell scripts.

17 years agoInfrastructure for relocatable installation, from GNU gettext.
Bruno Haible [Thu, 1 Mar 2007 01:15:40 +0000 (01:15 +0000)]
Infrastructure for relocatable installation, from GNU gettext.
See http://lists.gnu.org/archive/html/bug-gnulib/2003-03/msg00020.html

17 years agoUpdate for xreadlink -> xreadlink-with-size rename.
Bruno Haible [Thu, 1 Mar 2007 00:39:40 +0000 (00:39 +0000)]
Update for xreadlink -> xreadlink-with-size rename.

17 years agoAdd the xreadlink module from GNU gettext (based on code from Jim Meyering).
Bruno Haible [Thu, 1 Mar 2007 00:07:34 +0000 (00:07 +0000)]
Add the xreadlink module from GNU gettext (based on code from Jim Meyering).

17 years ago * lib/xreadlink-with-size.c: Renamed from lib/xreadlink.c.
Bruno Haible [Wed, 28 Feb 2007 23:55:48 +0000 (23:55 +0000)]
    * lib/xreadlink-with-size.c: Renamed from lib/xreadlink.c.
        (xreadlink_with_size): Renamed from xreadink.
        * lib/xreadlink.h (xreadlink_with_size): Renamed from xreadink.

17 years agoRename module xreadlink to xreadlink-with-size.
Bruno Haible [Wed, 28 Feb 2007 23:53:47 +0000 (23:53 +0000)]
Rename module xreadlink to xreadlink-with-size.

17 years agoMove to xreadlink-with-size.c.
Bruno Haible [Wed, 28 Feb 2007 23:52:08 +0000 (23:52 +0000)]
Move to xreadlink-with-size.c.

17 years agoMove to here from xreadlink.c.
Bruno Haible [Wed, 28 Feb 2007 23:52:05 +0000 (23:52 +0000)]
Move to here from xreadlink.c.

17 years agoMove to xreadlink-with-size.
Bruno Haible [Wed, 28 Feb 2007 23:49:12 +0000 (23:49 +0000)]
Move to xreadlink-with-size.

17 years agoMove to here from xreadlink.
Bruno Haible [Wed, 28 Feb 2007 23:49:09 +0000 (23:49 +0000)]
Move to here from xreadlink.

17 years ago* build-aux/announce-gen: When complaining about excess arguments,
Jim Meyering [Tue, 27 Feb 2007 12:38:45 +0000 (12:38 +0000)]
* build-aux/announce-gen: When complaining about excess arguments,
list them.

17 years ago* README: Document signed integer overflow situation more
Paul Eggert [Mon, 26 Feb 2007 07:43:43 +0000 (07:43 +0000)]
* README: Document signed integer overflow situation more
accurately.

17 years agoFix estimate of size needed for a 'a' or 'A' conversion.
Bruno Haible [Sun, 25 Feb 2007 21:17:11 +0000 (21:17 +0000)]
Fix estimate of size needed for a 'a' or 'A' conversion.

17 years agoAdd comment about FLT_RADIX.
Bruno Haible [Sun, 25 Feb 2007 18:08:24 +0000 (18:08 +0000)]
Add comment about FLT_RADIX.

17 years agoNo assumptions about FLT_RADIX need to be made.
Bruno Haible [Sun, 25 Feb 2007 17:43:12 +0000 (17:43 +0000)]
No assumptions about FLT_RADIX need to be made.

17 years agoRename module 'pathname' to 'filename'.
Bruno Haible [Sun, 25 Feb 2007 15:31:15 +0000 (15:31 +0000)]
Rename module 'pathname' to 'filename'.
Rename concatenated_pathname to concatenated_filename.

17 years agoMove to concat-filename.c.
Bruno Haible [Sun, 25 Feb 2007 15:06:43 +0000 (15:06 +0000)]
Move to concat-filename.c.

17 years agoMove to here from concatpath.c.
Bruno Haible [Sun, 25 Feb 2007 15:06:41 +0000 (15:06 +0000)]
Move to here from concatpath.c.

17 years agoMove to filename.h.
Bruno Haible [Sun, 25 Feb 2007 15:05:23 +0000 (15:05 +0000)]
Move to filename.h.

17 years agoMove to here from pathname.h.
Bruno Haible [Sun, 25 Feb 2007 15:05:21 +0000 (15:05 +0000)]
Move to here from pathname.h.

17 years agoMove to filename.
Bruno Haible [Sun, 25 Feb 2007 15:04:52 +0000 (15:04 +0000)]
Move to filename.

17 years agoMove to here from pathname.
Bruno Haible [Sun, 25 Feb 2007 15:04:50 +0000 (15:04 +0000)]
Move to here from pathname.

17 years agoLine breaking.
Bruno Haible [Sun, 25 Feb 2007 14:56:48 +0000 (14:56 +0000)]
Line breaking.

17 years agoTests for module 'printf-frexpl'.
Bruno Haible [Sun, 25 Feb 2007 14:29:34 +0000 (14:29 +0000)]
Tests for module 'printf-frexpl'.

17 years agoNew module 'printf-frexpl'.
Bruno Haible [Sun, 25 Feb 2007 14:28:50 +0000 (14:28 +0000)]
New module 'printf-frexpl'.

17 years agoTests for module 'printf-frexp'.
Bruno Haible [Sun, 25 Feb 2007 14:21:42 +0000 (14:21 +0000)]
Tests for module 'printf-frexp'.

17 years agoNew module 'printf-frexp'.
Bruno Haible [Sun, 25 Feb 2007 14:20:46 +0000 (14:20 +0000)]
New module 'printf-frexp'.

17 years agoAssume automake >= 1.10.
Bruno Haible [Sun, 25 Feb 2007 13:22:57 +0000 (13:22 +0000)]
Assume automake >= 1.10.

17 years agoAlso handle the case that isnan is a "type-generic" macro.
Bruno Haible [Sun, 25 Feb 2007 04:46:17 +0000 (04:46 +0000)]
Also handle the case that isnan is a "type-generic" macro.

17 years agoMerge isnan and isnanl into a single source file.
Bruno Haible [Sun, 25 Feb 2007 02:35:37 +0000 (02:35 +0000)]
Merge isnan and isnanl into a single source file.

17 years agoCorrect handling of ARM when cross-compiling.
Bruno Haible [Sun, 25 Feb 2007 01:57:58 +0000 (01:57 +0000)]
Correct handling of ARM when cross-compiling.

17 years agoautoupdate
Karl Berry [Sun, 25 Feb 2007 01:36:56 +0000 (01:36 +0000)]
autoupdate

17 years agoAvoid conflicting types for 'unsetenv' on FreeBSD.
Jim Meyering [Sun, 25 Feb 2007 00:47:36 +0000 (00:47 +0000)]
Avoid conflicting types for 'unsetenv' on FreeBSD.
* lib/putenv.c (_unsetenv): Rename from "unsetenv", to avoid
conflicting with FreeBSD's (5.0 and 6.1) function declaration
in stdlib.h.

17 years agoTests for module 'isnanl-nolibm'.
Bruno Haible [Sat, 24 Feb 2007 19:16:00 +0000 (19:16 +0000)]
Tests for module 'isnanl-nolibm'.

17 years agoNew module 'isnanl-nolibm'.
Bruno Haible [Sat, 24 Feb 2007 19:15:21 +0000 (19:15 +0000)]
New module 'isnanl-nolibm'.

17 years agoTests for module 'isnan-nolibm'.
Bruno Haible [Sat, 24 Feb 2007 19:09:57 +0000 (19:09 +0000)]
Tests for module 'isnan-nolibm'.

17 years agoNew module 'isnan-nolibm'.
Bruno Haible [Sat, 24 Feb 2007 19:08:56 +0000 (19:08 +0000)]
New module 'isnan-nolibm'.

17 years agoFix a bug with 1.0.
Bruno Haible [Sat, 24 Feb 2007 16:31:38 +0000 (16:31 +0000)]
Fix a bug with 1.0.

17 years ago* m4/regex.m4: Update the description of the configure-time option,
Jim Meyering [Sat, 24 Feb 2007 11:54:07 +0000 (11:54 +0000)]
* m4/regex.m4: Update the description of the configure-time option,
--without-included-regex, to state accurately what the defaults are,
and perhaps to give people an idea why using this option is risky.

17 years ago* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Check for a nanosleep that
Paul Eggert [Sat, 24 Feb 2007 10:01:49 +0000 (10:01 +0000)]
* 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>.

17 years ago* m4/perl.m4 (gl_PERL): Require version 5.005, not 5.003.
Jim Meyering [Sat, 24 Feb 2007 07:58:11 +0000 (07:58 +0000)]
* m4/perl.m4 (gl_PERL): Require version 5.005, not 5.003.
Needed for help2man.

17 years agoif have foo_.h, cvs-ignore foo.h
Karl Berry [Sat, 24 Feb 2007 01:13:51 +0000 (01:13 +0000)]
if have foo_.h, cvs-ignore foo.h

17 years agoRemove a duplicate ChangeLog entry.
Jim Meyering [Fri, 23 Feb 2007 19:14:39 +0000 (19:14 +0000)]
Remove a duplicate ChangeLog entry.

17 years ago* lib/getdate.h (includes): Include <time.h>, not "timespec.h".
Eric Blake [Fri, 23 Feb 2007 18:25:21 +0000 (18:25 +0000)]
* lib/getdate.h (includes):  Include <time.h>, not "timespec.h".
* lib/stat-time.h (includes): Likewise.
* lib/utimecmp.c (includes): Likewise.
* lib/utimens.h (includes): Likewise.
* lib/getdate.y (includes): Also include "timespec.h" for use
internal to the module.
* modules/utimens (Depends-on): Revert yesterday's patch.
* modules/nanosleep (Depends-on): Add missing dependency.

17 years agogetlogin_r.h was replaced with <unistd.h>.
Bruno Haible [Thu, 22 Feb 2007 23:33:19 +0000 (23:33 +0000)]
getlogin_r.h was replaced with <unistd.h>.

17 years agoFix comment.
Bruno Haible [Thu, 22 Feb 2007 23:32:46 +0000 (23:32 +0000)]
Fix comment.

17 years ago* modules/utimens (Depends-on): Add timespec, required for
Jim Meyering [Thu, 22 Feb 2007 21:27:01 +0000 (21:27 +0000)]
* modules/utimens (Depends-on): Add timespec, required for
utimens.h's inclusion of timespec.h.

17 years agoRevert.
Simon Josefsson [Thu, 22 Feb 2007 14:08:02 +0000 (14:08 +0000)]
Revert.

17 years agomodules/time (Depends-on): Add restrict.
Simon Josefsson [Thu, 22 Feb 2007 08:14:32 +0000 (08:14 +0000)]
modules/time (Depends-on): Add restrict.

17 years ago* lib/getcwd.c (__getcwd): Undo previous change; it mishandled
Paul Eggert [Wed, 21 Feb 2007 20:49:59 +0000 (20:49 +0000)]
* 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>.
I'll try to think of a better way to fix the Solaris problem.

17 years ago* lib/getcwd.c (__getcwd): Don't assume getcwd (NULL, 0) works
Paul Eggert [Wed, 21 Feb 2007 08:36:35 +0000 (08:36 +0000)]
* lib/getcwd.c (__getcwd): Don't assume getcwd (NULL, 0) works
like glibc; on Solaris 10, it fails with errno == EINVAL.
POSIX says the behavior is unspecified if the first argument is NULL,
so play it safe and never pass NULL to the system getcwd.

17 years ago* lib/gettimeofday.c (rpl_gettimeofday): Remove declaration
Jim Meyering [Wed, 21 Feb 2007 07:57:33 +0000 (07:57 +0000)]
* lib/gettimeofday.c (rpl_gettimeofday): Remove declaration
of gettimeofday.  It would conflict with the one now always
provided via sys_time_.h.  Reported by Matthew Woehlke, as
an IRIX 6.5 build failure.

17 years agoMinor fixups to port to Solaris 10 with Sun C 5.8.
Paul Eggert [Wed, 21 Feb 2007 07:54:16 +0000 (07:54 +0000)]
Minor fixups to port to Solaris 10 with Sun C 5.8.
* lib/getcwd.c [!_LIBC]: Include dirfd.h, since we use dirfd.
* modules/getcwd (Depends-on): Add dirfd.
* lib/putenv.c (putenv): #undef it.
(rpl_putenv): New decl.
(malloc, free): Include <stdlib.h> rather than prototyping separately.

17 years agosnprintf.h is gone.
Bruno Haible [Wed, 21 Feb 2007 02:28:29 +0000 (02:28 +0000)]
snprintf.h is gone.

17 years agoTests for module 'stdio'.
Bruno Haible [Wed, 21 Feb 2007 02:25:35 +0000 (02:25 +0000)]
Tests for module 'stdio'.

17 years agovsnprintf.h is replaced with <stdio.h>.
Bruno Haible [Wed, 21 Feb 2007 02:21:08 +0000 (02:21 +0000)]
vsnprintf.h is replaced with <stdio.h>.

17 years agosnprintf.h is replaced with <stdio.h>.
Bruno Haible [Wed, 21 Feb 2007 02:19:34 +0000 (02:19 +0000)]
snprintf.h is replaced with <stdio.h>.

17 years agoNew module 'stdio'.
Bruno Haible [Wed, 21 Feb 2007 02:18:10 +0000 (02:18 +0000)]
New module 'stdio'.

17 years agoWhitespace change in macros.
Bruno Haible [Wed, 21 Feb 2007 00:02:37 +0000 (00:02 +0000)]
Whitespace change in macros.

17 years ago* lib/ftruncate.c [HAVE_CHSIZE]: Document that this code is
Jim Meyering [Tue, 20 Feb 2007 09:54:19 +0000 (09:54 +0000)]
* lib/ftruncate.c [HAVE_CHSIZE]: Document that this code is
used by e.g., mingw.  From Bruno Haible.

17 years agoAvoid some "gcc -Wmissing-prototypes" warnings on mingw.
Bruno Haible [Tue, 20 Feb 2007 00:10:42 +0000 (00:10 +0000)]
Avoid some "gcc -Wmissing-prototypes" warnings on mingw.

17 years ago* m4/ftruncate.m4 (gl_FUNC_FTRUNCATE): Don't request a complaint mail
Bruno Haible [Mon, 19 Feb 2007 23:55:02 +0000 (23:55 +0000)]
* m4/ftruncate.m4 (gl_FUNC_FTRUNCATE): Don't request a complaint mail
from mingw users.

17 years agoOops, correct attribution.
Bruno Haible [Mon, 19 Feb 2007 22:52:28 +0000 (22:52 +0000)]
Oops, correct attribution.

17 years agoSuppress some gcc warnings in glibc header files.
Bruno Haible [Mon, 19 Feb 2007 22:51:33 +0000 (22:51 +0000)]
Suppress some gcc warnings in glibc header files.

17 years agoDon't use FD after a successful "fdopendir (fd)".
Jim Meyering [Mon, 19 Feb 2007 20:03:22 +0000 (20:03 +0000)]
Don't use FD after a successful "fdopendir (fd)".
* lib/getcwd.c (__getcwd) [AT_FDCWD]: fdopendir (fd) usually closes fd.
Reset it by calling dirfd on the just-obtained DIR*.

17 years ago* m4/ftruncate.m4: Adjust comment to give this module a 3-year reprieve.
Jim Meyering [Mon, 19 Feb 2007 18:19:34 +0000 (18:19 +0000)]
* m4/ftruncate.m4: Adjust comment to give this module a 3-year reprieve.
Prompted by a report from Bruno Haible that mingw lacks ftruncate.

SCALAR(0x704170)

17 years agoReplaced with <unistd.h>.
Bruno Haible [Mon, 19 Feb 2007 02:26:34 +0000 (02:26 +0000)]
Replaced with <unistd.h>.

17 years agoMove more declarations into <unistd.h>.
Bruno Haible [Mon, 19 Feb 2007 02:23:32 +0000 (02:23 +0000)]
Move more declarations into <unistd.h>.

17 years agogetsubopt.h is replaced with <stdlib.h>.
Bruno Haible [Mon, 19 Feb 2007 00:08:40 +0000 (00:08 +0000)]
getsubopt.h is replaced with <stdlib.h>.

17 years agoDepends on dup2 function being available.
Bruno Haible [Sun, 18 Feb 2007 22:44:21 +0000 (22:44 +0000)]
Depends on dup2 function being available.

17 years agoexit.h is replaced with stdlib.h.
Bruno Haible [Sun, 18 Feb 2007 21:08:06 +0000 (21:08 +0000)]
exit.h is replaced with stdlib.h.

17 years agoWork around an ugly glibc hack.
Bruno Haible [Sun, 18 Feb 2007 20:55:53 +0000 (20:55 +0000)]
Work around an ugly glibc hack.

17 years agoTests for module 'stdlib'.
Bruno Haible [Sun, 18 Feb 2007 15:44:08 +0000 (15:44 +0000)]
Tests for module 'stdlib'.

17 years agomkstemp.h is replaced with <stdlib.h>.
Bruno Haible [Sun, 18 Feb 2007 15:43:07 +0000 (15:43 +0000)]
mkstemp.h is replaced with <stdlib.h>.

17 years agomkdtemp.h is replaced with <stdlib.h>.
Bruno Haible [Sun, 18 Feb 2007 15:42:40 +0000 (15:42 +0000)]
mkdtemp.h is replaced with <stdlib.h>.

17 years agoexit.h is replaced with <stdlib.h>.
Bruno Haible [Sun, 18 Feb 2007 15:42:12 +0000 (15:42 +0000)]
exit.h is replaced with <stdlib.h>.

17 years agoNew module 'stdlib'.
Bruno Haible [Sun, 18 Feb 2007 15:39:54 +0000 (15:39 +0000)]
New module 'stdlib'.

17 years agoNew module 'stdlib'.
Bruno Haible [Sun, 18 Feb 2007 15:39:54 +0000 (15:39 +0000)]
New module 'stdlib'.

17 years agoNew module 'math'.
Bruno Haible [Sun, 18 Feb 2007 15:38:34 +0000 (15:38 +0000)]
New module 'math'.

17 years agoTests for module 'math'.
Bruno Haible [Sun, 18 Feb 2007 15:11:27 +0000 (15:11 +0000)]
Tests for module 'math'.

17 years agoNew module 'math'. <math.h> replaces mathl.h.
Bruno Haible [Sun, 18 Feb 2007 15:10:28 +0000 (15:10 +0000)]
New module 'math'. <math.h> replaces mathl.h.

17 years agoEmit linker warnings for imaxabs, imaxdiv, strtoimax, strtoumax when these
Bruno Haible [Sun, 18 Feb 2007 04:28:27 +0000 (04:28 +0000)]
Emit linker warnings for imaxabs, imaxdiv, strtoimax, strtoumax when these
functions are missing.

17 years agoTests for module 'wctype'.
Bruno Haible [Sun, 18 Feb 2007 04:23:08 +0000 (04:23 +0000)]
Tests for module 'wctype'.

17 years agoTests for module 'wchar'.
Bruno Haible [Sun, 18 Feb 2007 04:22:23 +0000 (04:22 +0000)]
Tests for module 'wchar'.

17 years agoTests for module 'unistd'.
Bruno Haible [Sun, 18 Feb 2007 04:21:43 +0000 (04:21 +0000)]
Tests for module 'unistd'.

17 years agoTests for module 'time'.
Bruno Haible [Sun, 18 Feb 2007 04:20:26 +0000 (04:20 +0000)]
Tests for module 'time'.

17 years agoTests for module 'sysexits'.
Bruno Haible [Sun, 18 Feb 2007 04:19:44 +0000 (04:19 +0000)]
Tests for module 'sysexits'.