gnulib.git
17 years agoautoupdate
Karl Berry [Fri, 18 May 2007 13:31:16 +0000 (13:31 +0000)]
autoupdate

17 years ago* lib/dirent_.h: Prefer #include_next <foo.h> to #include
Paul Eggert [Thu, 17 May 2007 15:56:05 +0000 (15:56 +0000)]
* lib/dirent_.h: Prefer #include_next <foo.h> to #include
@ABSOLUTE_FOO_H@ if @HAVE_INCLUDE_NEXT@.  This works better with
GCC 4.2, which otherwise issues a lot of warnings.
* lib/iconv_.h, lib/locale_.h, lib/netinet_in_.h, lib/sys_select_.h:
* lib/sys_socket_.h, lib/sys_stat_.h, lib/sysexits_.h, lib/unistd_.h:
Likewise.
* modules/fchdir (dirent.h): Substitute @HAVE_INCLUDE_NEXT@.
* modules/iconv_open (iconv.h): Likewise.
* modules/locale (locale.h): Likewise.
* modules/netinet_in (netinet/in.h): Likewise.
* modules/sys_select (sys_select.h): Likewise.
* modules/sys_socket (sys/socket.h): Likewise.
* modules/sys_stat (sys/stat.h): Likewise.
* modules/sysexits (sysexits.h): Likewise.
* modules/unistd (unistd.h): Likewise.

17 years ago* modules/closein-tests (Makefile.am): Distribute
Eric Blake [Thu, 17 May 2007 12:38:22 +0000 (12:38 +0000)]
* modules/closein-tests (Makefile.am): Distribute
`test-closein.sh'.

17 years agoRenamed test-fprintf-posix.out to test-printf-posix.output.
Bruno Haible [Thu, 17 May 2007 09:18:53 +0000 (09:18 +0000)]
Renamed test-fprintf-posix.out to test-printf-posix.output.

17 years agoRename test-fprintf-posix.out to test-printf-posix.output.
Bruno Haible [Thu, 17 May 2007 09:10:42 +0000 (09:10 +0000)]
Rename test-fprintf-posix.out to test-printf-posix.output.

17 years agoMove to test-printf-posix.output.
Bruno Haible [Thu, 17 May 2007 09:07:35 +0000 (09:07 +0000)]
Move to test-printf-posix.output.

17 years agoMove to here from test-fprintf-posix.out.
Bruno Haible [Thu, 17 May 2007 09:07:32 +0000 (09:07 +0000)]
Move to here from test-fprintf-posix.out.

17 years ago* lib/fcntl_.h: Prefer #include_next <foo.h> to #include
Paul Eggert [Thu, 17 May 2007 06:14:29 +0000 (06:14 +0000)]
* lib/fcntl_.h: Prefer #include_next <foo.h> to #include
@ABSOLUTE_FOO_H@ if @HAVE_INCLUDE_NEXT@.  This works better with
GCC 4.2, which otherwise issues a lot of warnings.
* lib/inttypes_.h, lib/math_.h, lib/search_.h, lib/signal_.h:
* lib/stdint_.h, lib/stdio_.h, lib/stdlib_.h, lib/string_.h:
* lib/sys_time_.h, lib/time_.h, lib/wchar_.h, lib/wctype_.h: Likewise.
* lib/stdlib_.h: Don't bother with #pragma GCC system_header, as
it should no longer be needed.
* lib/string_.h: Likewise.
* modules/absolute-header (HAVE_INCLUDE_NEXT): New 'make' define.
* modules/fcntl (fcntl.h): Substitute @HAVE_INCLUDE_NEXT@.
* modules/inttypes (inttypes.h): Likewise.
* modules/math (math.h): Likewise.
* modules/search (search.h): Likewise.
* modules/signal (signal.h): Likewise.
* modules/stdint (stdint.h): Likewise.
* modules/stdio (stdio.h): Likewise.
* modules/stdlib (stdlib.h): Likewise.
* modules/string (string.h): Likewise.
* modules/sys_time (sys/time.h): Likewise.
* modules/time (time.h): Likewise.
* modules/wchar (wchar.h): Likewise.
* modules/wctype (wtype.h): Likewise.

17 years agoRemove opencdk (maintainer drop'ed gnulib).
Simon Josefsson [Wed, 16 May 2007 10:49:41 +0000 (10:49 +0000)]
Remove opencdk (maintainer drop'ed gnulib).

17 years ago2007-05-16 Thien-Thi Nguyen <ttn@gnuvola.org> (tiny change)
Bruno Haible [Wed, 16 May 2007 10:07:20 +0000 (10:07 +0000)]
2007-05-16  Thien-Thi Nguyen  <ttn@gnuvola.org>  (tiny change)
* doc/gnulib-tool.texi (CVS Issues): Fix typo.

17 years agoTweak doc.
Bruno Haible [Mon, 14 May 2007 21:36:29 +0000 (21:36 +0000)]
Tweak doc.

17 years agoComment fix.
Bruno Haible [Mon, 14 May 2007 00:34:40 +0000 (00:34 +0000)]
Comment fix.

17 years agoEnsure AC_C_RESTRICT is invoked.
Bruno Haible [Sun, 13 May 2007 21:57:40 +0000 (21:57 +0000)]
Ensure AC_C_RESTRICT is invoked.

17 years agoFix syntax error in C++ mode.
Bruno Haible [Sun, 13 May 2007 21:44:46 +0000 (21:44 +0000)]
Fix syntax error in C++ mode.

17 years ago* lib/linebuffer.c (readlinebuffer_delim): New function,
Jim Meyering [Sat, 12 May 2007 15:59:59 +0000 (15:59 +0000)]
* lib/linebuffer.c (readlinebuffer_delim): New function,
like readlinebuffer, but use a caller-specified delimiter.
(readlinebuffer): Just call readlinebuffer_delim with '\n'
as the delimiter.
* lib/linebuffer.h (readlinebuffer_delim): Declare it.

17 years agoChange ^[ ]{8} to TAB.
Jim Meyering [Sat, 12 May 2007 15:53:42 +0000 (15:53 +0000)]
Change ^[ ]{8} to TAB.

17 years agoUpdate
Sergey Poznyakoff [Sat, 12 May 2007 08:55:54 +0000 (08:55 +0000)]
Update

17 years agoNew module
Sergey Poznyakoff [Sat, 12 May 2007 08:55:33 +0000 (08:55 +0000)]
New module

17 years ago(Files): Remove openat-die.c
Sergey Poznyakoff [Sat, 12 May 2007 08:54:55 +0000 (08:54 +0000)]
(Files): Remove openat-die.c
(Depends-on): Add openat-die

17 years ago(gl_FUNC_OPENAT): Do not require openat-die
Sergey Poznyakoff [Sat, 12 May 2007 08:54:34 +0000 (08:54 +0000)]
(gl_FUNC_OPENAT): Do not require openat-die

17 years agoMore info about Cygwin.
Bruno Haible [Sun, 6 May 2007 23:17:49 +0000 (23:17 +0000)]
More info about Cygwin.

17 years agoMore info about Cygwin.
Bruno Haible [Sun, 6 May 2007 23:17:49 +0000 (23:17 +0000)]
More info about Cygwin.

17 years agoWork around an incorrect implementation of the 0 flag on most platforms.
Bruno Haible [Sun, 6 May 2007 23:02:10 +0000 (23:02 +0000)]
Work around an incorrect implementation of the 0 flag on most platforms.

17 years agoWork around lack of support of grouping flag.
Bruno Haible [Sun, 6 May 2007 15:29:04 +0000 (15:29 +0000)]
Work around lack of support of grouping flag.

17 years agoAvoid a test failure on mingw.
Bruno Haible [Sat, 5 May 2007 11:41:20 +0000 (11:41 +0000)]
Avoid a test failure on mingw.

17 years agoupdate from texinfo
Karl Berry [Fri, 4 May 2007 20:37:48 +0000 (20:37 +0000)]
update from texinfo

17 years ago* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use better
Paul Eggert [Fri, 4 May 2007 06:38:12 +0000 (06:38 +0000)]
* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use better
comment for D_INO_IN_DIRENT.  Problem reported by James Youngman.

17 years agoupdate from texinfo
Karl Berry [Thu, 3 May 2007 16:29:04 +0000 (16:29 +0000)]
update from texinfo

17 years agoClarify the strftime module's purpose.
Bruno Haible [Wed, 2 May 2007 22:18:36 +0000 (22:18 +0000)]
Clarify the strftime module's purpose.

17 years agotexinfo tweak
Bruno Haible [Wed, 2 May 2007 22:17:07 +0000 (22:17 +0000)]
texinfo tweak

17 years ago* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Test whether
Paul Eggert [Wed, 2 May 2007 19:06:46 +0000 (19:06 +0000)]
* 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>.

17 years agoautoupdate
Karl Berry [Wed, 2 May 2007 13:13:42 +0000 (13:13 +0000)]
autoupdate

17 years agoUpdate
Sergey Poznyakoff [Wed, 2 May 2007 04:34:41 +0000 (04:34 +0000)]
Update

17 years ago(struct hol_entry): New member `ord'.
Sergey Poznyakoff [Wed, 2 May 2007 04:33:22 +0000 (04:33 +0000)]
(struct hol_entry): New member `ord'.
(HOL_ENTRY_PTRCMP): Use ord for comparison
(hol_sort): Initialize ord.

17 years agoRename _Exit.texi.
Bruno Haible [Tue, 1 May 2007 22:37:10 +0000 (22:37 +0000)]
Rename _Exit.texi.

17 years agoMove to _Exit_C99.texi.
Bruno Haible [Tue, 1 May 2007 22:35:50 +0000 (22:35 +0000)]
Move to _Exit_C99.texi.

17 years agoMove to here from _Exit.texi.
Bruno Haible [Tue, 1 May 2007 22:35:46 +0000 (22:35 +0000)]
Move to here from _Exit.texi.

17 years agoRedundant through doc/functions/*.texi.
Bruno Haible [Tue, 1 May 2007 22:32:06 +0000 (22:32 +0000)]
Redundant through doc/functions/*.texi.

17 years agoarp depends on sleep.
Bruno Haible [Tue, 1 May 2007 22:20:41 +0000 (22:20 +0000)]
arp depends on sleep.

17 years agoTests for module 'sleep'.
Bruno Haible [Tue, 1 May 2007 22:17:02 +0000 (22:17 +0000)]
Tests for module 'sleep'.

17 years agoNew module 'sleep'.
Bruno Haible [Tue, 1 May 2007 22:15:01 +0000 (22:15 +0000)]
New module 'sleep'.

17 years ago'exec' and 'toc' are not functions.
Bruno Haible [Tue, 1 May 2007 21:02:01 +0000 (21:02 +0000)]
'exec' and 'toc' are not functions.

17 years agoMention non-portability to Interix 3.5.
Bruno Haible [Tue, 1 May 2007 19:24:43 +0000 (19:24 +0000)]
Mention non-portability to Interix 3.5.

17 years agosigprocmask.h is replaced with <signal.h>.
Bruno Haible [Tue, 1 May 2007 19:20:18 +0000 (19:20 +0000)]
sigprocmask.h is replaced with <signal.h>.

17 years agoNew module 'signal'.
Bruno Haible [Tue, 1 May 2007 18:49:26 +0000 (18:49 +0000)]
New module 'signal'.

17 years agoMake the generated wctype.h more self-contained.
Bruno Haible [Tue, 1 May 2007 18:21:31 +0000 (18:21 +0000)]
Make the generated wctype.h more self-contained.

17 years agoMake the generated sys/stat.h more self-contained.
Bruno Haible [Tue, 1 May 2007 18:14:44 +0000 (18:14 +0000)]
Make the generated sys/stat.h more self-contained.

17 years agoTweak last patch.
Bruno Haible [Tue, 1 May 2007 18:08:51 +0000 (18:08 +0000)]
Tweak last patch.

17 years agoMention non-portability to Interix 3.5.
Bruno Haible [Tue, 1 May 2007 17:59:19 +0000 (17:59 +0000)]
Mention non-portability to Interix 3.5.

17 years agoMake the generated glob.h self-contained.
Bruno Haible [Tue, 1 May 2007 15:48:24 +0000 (15:48 +0000)]
Make the generated glob.h self-contained.

17 years agoDon't mention the 'assert' module here.
Bruno Haible [Tue, 1 May 2007 15:33:25 +0000 (15:33 +0000)]
Don't mention the 'assert' module here.
It's documented in functions/assert.texi.

17 years agoAdd doc chapter about the POSIX functions.
Bruno Haible [Tue, 1 May 2007 15:14:20 +0000 (15:14 +0000)]
Add doc chapter about the POSIX functions.

17 years agoRanking of functions according to their number of hits on Google codesearch.
Bruno Haible [Tue, 1 May 2007 15:12:21 +0000 (15:12 +0000)]
Ranking of functions according to their number of hits on Google codesearch.

17 years agoDocumentation of what gnulib provides for each function.
Bruno Haible [Tue, 1 May 2007 15:11:37 +0000 (15:11 +0000)]
Documentation of what gnulib provides for each function.

17 years agoThere is no POSIX function called 'exec'.
Bruno Haible [Tue, 1 May 2007 14:03:44 +0000 (14:03 +0000)]
There is no POSIX function called 'exec'.

17 years agoThere is no POSIX function named 'toc'.
Bruno Haible [Tue, 1 May 2007 13:53:42 +0000 (13:53 +0000)]
There is no POSIX function named 'toc'.

17 years agoDepend on sys_stat, since it fixes an mkdir portability problem.
Bruno Haible [Tue, 1 May 2007 10:42:29 +0000 (10:42 +0000)]
Depend on sys_stat, since it fixes an mkdir portability problem.

17 years agoRanking of include files according to their number of hits on Google
Bruno Haible [Tue, 1 May 2007 08:21:00 +0000 (08:21 +0000)]
Ranking of include files according to their number of hits on Google
codesearch.

17 years agoPrefer fseeko to fseek.
Eric Blake [Mon, 30 Apr 2007 12:00:07 +0000 (12:00 +0000)]
Prefer fseeko to fseek.
* modules/getpass (Depends-on): Add fseeko.
* lib/getpass.c (getpass): Use fseeko, not fseek.

17 years agoUpdate
Sergey Poznyakoff [Mon, 30 Apr 2007 08:26:42 +0000 (08:26 +0000)]
Update

17 years agoRestore #include "progname.h"
Sergey Poznyakoff [Mon, 30 Apr 2007 08:26:26 +0000 (08:26 +0000)]
Restore #include "progname.h"

17 years ago(usage-indent test): Fix output
Sergey Poznyakoff [Mon, 30 Apr 2007 08:26:11 +0000 (08:26 +0000)]
(usage-indent test): Fix output
(func_compare): Restore diff options

17 years ago(hol_entry_cmp): Option sorting algorithm
Sergey Poznyakoff [Mon, 30 Apr 2007 08:25:46 +0000 (08:25 +0000)]
(hol_entry_cmp): Option sorting algorithm
assumes the sorting is stable, while most qsort implementations
are not.  Use argument addresses to ensure they never compare as
equal.

17 years agoGuard against vsnprintf implementations that mishandle a size=0 argument.
Bruno Haible [Sun, 29 Apr 2007 15:40:30 +0000 (15:40 +0000)]
Guard against vsnprintf implementations that mishandle a size=0 argument.

17 years agoThere is no POSIX function called 'contents'.
Bruno Haible [Sun, 29 Apr 2007 15:33:25 +0000 (15:33 +0000)]
There is no POSIX function called 'contents'.

17 years agoDon't blame me for a change that I didn't suggest.
Bruno Haible [Sun, 29 Apr 2007 13:50:12 +0000 (13:50 +0000)]
Don't blame me for a change that I didn't suggest.

17 years agogendocs_template_min
Karl Berry [Sun, 29 Apr 2007 13:35:40 +0000 (13:35 +0000)]
gendocs_template_min

17 years agoWork around fpurge bug on BSD systems.
Bruno Haible [Sun, 29 Apr 2007 12:16:55 +0000 (12:16 +0000)]
Work around fpurge bug on BSD systems.

17 years agoUpdate
Sergey Poznyakoff [Sun, 29 Apr 2007 12:04:15 +0000 (12:04 +0000)]
Update

17 years agoFix option ordering. Test deeply clustered options.
Sergey Poznyakoff [Sun, 29 Apr 2007 12:02:45 +0000 (12:02 +0000)]
Fix option ordering.  Test deeply clustered options.

17 years ago(hol_cluster_cmp): Reverse comparison. Change proposed by Sven Verdoolaege.
Sergey Poznyakoff [Sun, 29 Apr 2007 12:02:27 +0000 (12:02 +0000)]
(hol_cluster_cmp): Reverse comparison.  Change proposed by Sven Verdoolaege.

17 years agoMake test a bit easier to debug.
Bruno Haible [Sun, 29 Apr 2007 11:06:56 +0000 (11:06 +0000)]
Make test a bit easier to debug.

17 years agoBetter ASSERT macro.
Bruno Haible [Sun, 29 Apr 2007 09:15:13 +0000 (09:15 +0000)]
Better ASSERT macro.

17 years agofreading has an undefined value after repositioning a read-write stream.
Bruno Haible [Sun, 29 Apr 2007 08:38:22 +0000 (08:38 +0000)]
freading has an undefined value after repositioning a read-write stream.

17 years agoTrivial simplification.
Bruno Haible [Sun, 29 Apr 2007 08:24:53 +0000 (08:24 +0000)]
Trivial simplification.

17 years agoOops, fix details and comments of last patch.
Bruno Haible [Sun, 29 Apr 2007 07:44:02 +0000 (07:44 +0000)]
Oops, fix details and comments of last patch.

17 years agoMake the tests sharper: also test the interaction with fflush().
Bruno Haible [Sun, 29 Apr 2007 02:07:56 +0000 (02:07 +0000)]
Make the tests sharper: also test the interaction with fflush().

17 years agoWarn when fseek or ftell are used.
Bruno Haible [Sat, 28 Apr 2007 23:02:00 +0000 (23:02 +0000)]
Warn when fseek or ftell are used.

17 years agoAvoid false-negative in gl_STDINT_H's C99 conformance test.
Paul Eggert [Sat, 28 Apr 2007 18:05:58 +0000 (18:05 +0000)]
Avoid false-negative in gl_STDINT_H's C99 conformance test.
* m4/stdint.m4 (gl_STDINT_H): When checking whether stdint.h conforms
to C99, include all of gl_STDINT_INCLUDES, not just <stddef.h>.

17 years agotexinfo syntax fix.
Bruno Haible [Fri, 27 Apr 2007 22:54:42 +0000 (22:54 +0000)]
texinfo syntax fix.

17 years agoAdd reference to POSIX.
Bruno Haible [Fri, 27 Apr 2007 21:04:08 +0000 (21:04 +0000)]
Add reference to POSIX.

17 years ago* doc/headers/assert.texi (assert.h): Document assert module use.
Eric Blake [Fri, 27 Apr 2007 20:06:05 +0000 (20:06 +0000)]
* doc/headers/assert.texi (assert.h): Document assert module use.

17 years agoBump year.
Bruno Haible [Fri, 27 Apr 2007 19:58:36 +0000 (19:58 +0000)]
Bump year.

17 years agoAdd doc chapter about the POSIX header files.
Bruno Haible [Fri, 27 Apr 2007 19:58:15 +0000 (19:58 +0000)]
Add doc chapter about the POSIX header files.

17 years agoDocumentation of what gnulib provides for each header file.
Bruno Haible [Fri, 27 Apr 2007 19:57:14 +0000 (19:57 +0000)]
Documentation of what gnulib provides for each header file.

17 years agoRenamed socket_.h to sys_socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:24:50 +0000 (18:24 +0000)]
Renamed socket_.h to sys_socket_.h.

17 years agoRename lib/sysexit_.h to lib/sysexits_.h.
Bruno Haible [Fri, 27 Apr 2007 18:23:01 +0000 (18:23 +0000)]
Rename lib/sysexit_.h to lib/sysexits_.h.

17 years agoMove to sysexits_.h.
Bruno Haible [Fri, 27 Apr 2007 18:22:26 +0000 (18:22 +0000)]
Move to sysexits_.h.

17 years agoMove to here from sysexit_.h.
Bruno Haible [Fri, 27 Apr 2007 18:22:23 +0000 (18:22 +0000)]
Move to here from sysexit_.h.

17 years agoRename lib/socket_.h to lib/sys_socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:20:56 +0000 (18:20 +0000)]
Rename lib/socket_.h to lib/sys_socket_.h.

17 years agoMove to sys_socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:19:58 +0000 (18:19 +0000)]
Move to sys_socket_.h.

17 years agoMove to here from socket_.h.
Bruno Haible [Fri, 27 Apr 2007 18:19:55 +0000 (18:19 +0000)]
Move to here from socket_.h.

17 years agoRename lib/stat_.h to lib/sys_stat_.h.
Bruno Haible [Fri, 27 Apr 2007 18:18:49 +0000 (18:18 +0000)]
Rename lib/stat_.h to lib/sys_stat_.h.

17 years agoMove to sys_stat_.h.
Bruno Haible [Fri, 27 Apr 2007 18:17:09 +0000 (18:17 +0000)]
Move to sys_stat_.h.

17 years agoMove to here from stat_.h.
Bruno Haible [Fri, 27 Apr 2007 18:17:05 +0000 (18:17 +0000)]
Move to here from stat_.h.

17 years ago* lib/freading.h: Improve comments.
Eric Blake [Fri, 27 Apr 2007 18:05:08 +0000 (18:05 +0000)]
* lib/freading.h: Improve comments.
* lib/fwriting.h: Likewise.
* lib/fflush.c: Likewise.

17 years agoFix closein for mingw.
Eric Blake [Fri, 27 Apr 2007 17:14:39 +0000 (17:14 +0000)]
Fix closein for mingw.
* modules/closein-tests: Add tests for closein.
* tests/test-closein.c: New file.
* tests/test-closein.sh: Likewise.
* lib/unistd_.h [!SEEK_CUR]: Mingw also needs stdlib.h for _exit.
* lib/closein.c (close_stdin): Don't fflush non-seekable streams.

17 years agoI'm not responsible for these modules.
Bruno Haible [Fri, 27 Apr 2007 11:29:43 +0000 (11:29 +0000)]
I'm not responsible for these modules.

17 years agoOSF/1 "cc -nodtk" does not support #include_next.
Bruno Haible [Fri, 27 Apr 2007 11:09:11 +0000 (11:09 +0000)]
OSF/1 "cc -nodtk" does not support #include_next.

17 years agoRelax test, to avoid failure on mingw.
Bruno Haible [Fri, 27 Apr 2007 10:59:36 +0000 (10:59 +0000)]
Relax test, to avoid failure on mingw.