gnulib.git
15 years agoMove the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible [Sun, 19 Oct 2008 12:05:30 +0000 (14:05 +0200)]
Move the isnanf(), isnand(), isnanl() declarations to <math.h>.

15 years agoAdd getusershell(), setusershell(), endusershell() declarations to <unistd.h>.
Bruno Haible [Sun, 19 Oct 2008 11:07:15 +0000 (13:07 +0200)]
Add getusershell(), setusershell(), endusershell() declarations to <unistd.h>.

15 years agoAdd a getloadavg() declaration to <stdlib.h>.
Bruno Haible [Sun, 19 Oct 2008 10:57:06 +0000 (12:57 +0200)]
Add a getloadavg() declaration to <stdlib.h>.

15 years agoMove the lchmod() declaration to <sys/stat.h>.
Bruno Haible [Sun, 19 Oct 2008 10:50:40 +0000 (12:50 +0200)]
Move the lchmod() declaration to <sys/stat.h>.

15 years agoMove the dirfd() declaration to <dirent.h>.
Bruno Haible [Sun, 19 Oct 2008 10:47:52 +0000 (12:47 +0200)]
Move the dirfd() declaration to <dirent.h>.

15 years agoMove the euidaccess() declaration to <unistd.h>.
Bruno Haible [Sun, 19 Oct 2008 10:43:15 +0000 (12:43 +0200)]
Move the euidaccess() declaration to <unistd.h>.

15 years agoMove the getdomainname() declaration to <unistd.h>.
Bruno Haible [Sun, 19 Oct 2008 01:36:00 +0000 (03:36 +0200)]
Move the getdomainname() declaration to <unistd.h>.

15 years agoRestore the ChangeLog tail.
Bruno Haible [Sat, 18 Oct 2008 23:49:18 +0000 (01:49 +0200)]
Restore the ChangeLog tail.

15 years agoNew module 'dirent'.
Bruno Haible [Sat, 18 Oct 2008 23:44:46 +0000 (01:44 +0200)]
New module 'dirent'.

15 years agoAvoid -Wunused-parameter warnings in public gnulib header files.
Bruno Haible [Sat, 18 Oct 2008 21:08:51 +0000 (23:08 +0200)]
Avoid -Wunused-parameter warnings in public gnulib header files.

15 years agoDocument existing modules.
Bruno Haible [Sat, 18 Oct 2008 12:17:41 +0000 (14:17 +0200)]
Document existing modules.

15 years agoAvoid compilation error due to MacOS X 10.5 gcc cross-compilation bug.
Bruno Haible [Sat, 18 Oct 2008 01:15:17 +0000 (03:15 +0200)]
Avoid compilation error due to MacOS X 10.5 gcc cross-compilation bug.

15 years agoAvoid gcc warnings because of #pragma GCC system_header on older gcc.
Bruno Haible [Sat, 18 Oct 2008 00:43:18 +0000 (02:43 +0200)]
Avoid gcc warnings because of #pragma GCC system_header on older gcc.

15 years agoAvoid gcc warnings because of #pragma GCC system_header on older gcc.
Bruno Haible [Fri, 17 Oct 2008 23:41:46 +0000 (01:41 +0200)]
Avoid gcc warnings because of #pragma GCC system_header on older gcc.

15 years agoignore-value: don't depend on inline module
Jim Meyering [Fri, 17 Oct 2008 11:43:21 +0000 (13:43 +0200)]
ignore-value: don't depend on inline module

* modules/ignore-value (Depends-on): Remove 'inline'.
(configure.ac): Instead, add AC_REQUIRE([AC_C_INLINE]) here.
Suggestion from Bruno Haible.

15 years agoNew implementation of condition variables for Win32.
Bruno Haible [Fri, 17 Oct 2008 11:33:22 +0000 (13:33 +0200)]
New implementation of condition variables for Win32.

15 years agomodules/recvfrom (Depends-on): Add dependency on getpeername.
Simon Josefsson [Fri, 17 Oct 2008 09:54:40 +0000 (11:54 +0200)]
modules/recvfrom (Depends-on): Add dependency on getpeername.

15 years agoignore-value: new module
Jim Meyering [Thu, 16 Oct 2008 21:20:44 +0000 (23:20 +0200)]
ignore-value: new module

* modules/ignore-value: New file.
* lib/ignore-value.h: New file.
* MODULES.html.sh (Compiler warning management): New section,
just for this module.  More to come.

15 years agoopen-safer.c: avoid 'signed and unsigned in conditional...' warning
Paul Eggert [Thu, 16 Oct 2008 19:48:54 +0000 (21:48 +0200)]
open-safer.c: avoid 'signed and unsigned in conditional...' warning

* lib/open-safer.c (open_safer): Use an "if/else" statement in place
of the ternary operator.  Reported by Reuben Thomas <rrt@sc3d.org>.

15 years agoupdate from texinfo
Karl Berry [Thu, 16 Oct 2008 17:13:34 +0000 (10:13 -0700)]
update from texinfo

15 years agoopenat-die.c: avoid 'no previous prototype' warning
Jim Meyering [Thu, 16 Oct 2008 12:35:41 +0000 (14:35 +0200)]
openat-die.c: avoid 'no previous prototype' warning

* lib/openat-die.c: Include "openat.h".
Reported by Reuben Thomas <rrt@sc3d.org>.

15 years agoFixes for netdb.h.
Simon Josefsson [Thu, 16 Oct 2008 07:26:07 +0000 (09:26 +0200)]
Fixes for netdb.h.
* m4/netdb_h.m4: Assume that if netdb.h exists, it works.
* lib/netdb.in.h: Fix typo.
Reported by Bruno Haible  <bruno@clisp.org>

* lib/netdb.in.h: Include sys/socket.h for platforms without
netdb.h, to get structures like hostent on MinGW.
* modules/netdb (Depends-on): Add sys_socket.

15 years agoupdate from texinfo
Karl Berry [Thu, 16 Oct 2008 00:51:16 +0000 (17:51 -0700)]
update from texinfo

15 years agoAdd netdb.h replacement module.
Simon Josefsson [Wed, 15 Oct 2008 12:48:59 +0000 (14:48 +0200)]
Add netdb.h replacement module.
Currently empty and unused, but that will change soon.

15 years agognulib.texi (Getaddrinfo and WINVER): Sync documentation with code.
Simon Josefsson [Wed, 15 Oct 2008 12:20:43 +0000 (14:20 +0200)]
gnulib.texi (Getaddrinfo and WINVER): Sync documentation with code.

15 years agoautoupdate
Karl Berry [Tue, 14 Oct 2008 15:13:35 +0000 (08:13 -0700)]
autoupdate

15 years agoAdd a comment.
Bruno Haible [Tue, 14 Oct 2008 01:54:08 +0000 (03:54 +0200)]
Add a comment.

15 years agoInclude <sys/ioctl.h>, for ioctl().
Yoann Vandoorselaere [Tue, 14 Oct 2008 01:43:12 +0000 (03:43 +0200)]
Include <sys/ioctl.h>, for ioctl().

15 years agoFix syntax error in native Win32 code.
Bruno Haible [Tue, 14 Oct 2008 01:40:49 +0000 (03:40 +0200)]
Fix syntax error in native Win32 code.

15 years agoFix getaddrinfo emulation for systems with struct sockaddr.sa_len.
Paolo Bonzini [Mon, 13 Oct 2008 17:49:44 +0000 (19:49 +0200)]
Fix getaddrinfo emulation for systems with struct sockaddr.sa_len.

2008-10-13  Paolo Bonzini  <bonzini@gnu.org>

fix getaddrinfo emulation for systems with struct sockaddr.sa_len
* m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Detect
struct sockaddr.sa_len.
* lib/getaddrinfo.c (getaddrinfo): Set it if appropriate.

15 years agopmccabe2html: Add css and css_url parameters.
Simon Josefsson [Mon, 13 Oct 2008 10:20:30 +0000 (12:20 +0200)]
pmccabe2html: Add css and css_url parameters.

15 years agoComplete ChangeLog entry.
Bruno Haible [Mon, 13 Oct 2008 02:41:25 +0000 (04:41 +0200)]
Complete ChangeLog entry.

15 years agoCorrect use of uninitialized variable on AIX.
Bruno Haible [Mon, 13 Oct 2008 02:27:50 +0000 (04:27 +0200)]
Correct use of uninitialized variable on AIX.

15 years agoMerge branch 'master' of ssh://haible@git.sv.gnu.org/srv/git/gnulib
Bruno Haible [Mon, 13 Oct 2008 00:35:20 +0000 (02:35 +0200)]
Merge branch 'master' of ssh://haible@git.sv.gnu.org/srv/git/gnulib

15 years agoAdd a comment.
Bruno Haible [Mon, 13 Oct 2008 00:32:53 +0000 (02:32 +0200)]
Add a comment.

15 years agoupdate from texinfo
Karl Berry [Mon, 13 Oct 2008 00:30:52 +0000 (17:30 -0700)]
update from texinfo

15 years agoMerge branch 'master' of ssh://haible@git.sv.gnu.org/srv/git/gnulib
Bruno Haible [Sun, 12 Oct 2008 23:46:58 +0000 (01:46 +0200)]
Merge branch 'master' of ssh://haible@git.sv.gnu.org/srv/git/gnulib

15 years agoupdate from texinfo
Karl Berry [Sun, 12 Oct 2008 22:19:19 +0000 (15:19 -0700)]
update from texinfo

15 years agoComment.
Bruno Haible [Sun, 12 Oct 2008 19:56:57 +0000 (21:56 +0200)]
Comment.

15 years agoUse msvcrt aware primitives for creation/termination of Win32 threads.
Bruno Haible [Sun, 12 Oct 2008 13:13:06 +0000 (15:13 +0200)]
Use msvcrt aware primitives for creation/termination of Win32 threads.

15 years agoProvide a Win32 implementation of the 'cond' module.
Yoann Vandoorselaere [Sat, 11 Oct 2008 22:14:22 +0000 (00:14 +0200)]
Provide a Win32 implementation of the 'cond' module.

15 years agoMake sleep work on older versions of mingw.
Bruno Haible [Sat, 11 Oct 2008 21:39:55 +0000 (23:39 +0200)]
Make sleep work on older versions of mingw.

15 years agoautoupdate
Karl Berry [Sat, 11 Oct 2008 17:20:58 +0000 (10:20 -0700)]
autoupdate

15 years agoNew module 'shutdown'.
Bruno Haible [Sat, 11 Oct 2008 13:00:33 +0000 (15:00 +0200)]
New module 'shutdown'.

15 years ago* lib/fclose.c: Fix typo in comment: s/close/fclose/.
Jim Meyering [Sat, 11 Oct 2008 12:24:41 +0000 (14:24 +0200)]
* lib/fclose.c: Fix typo in comment: s/close/fclose/.

15 years agoNew module 'fclose'.
Bruno Haible [Sat, 11 Oct 2008 12:18:29 +0000 (14:18 +0200)]
New module 'fclose'.

15 years agoFix error handling when closesocket fails.
Bruno Haible [Sat, 11 Oct 2008 11:59:38 +0000 (13:59 +0200)]
Fix error handling when closesocket fails.

15 years agoFix test failure on Cygwin.
Bruno Haible [Sat, 11 Oct 2008 01:26:03 +0000 (03:26 +0200)]
Fix test failure on Cygwin.

15 years agoImprove announce-gen user messages.
Ben Pfaff [Fri, 10 Oct 2008 05:12:51 +0000 (22:12 -0700)]
Improve announce-gen user messages.

15 years agobootstrap: use git's --depth=N option only if it's supported
Jim Meyering [Fri, 10 Oct 2008 06:34:05 +0000 (08:34 +0200)]
bootstrap: use git's --depth=N option only if it's supported

* build-aux/bootstrap: Work with git-1.4.4.4, which does not
recognize the --depth option.  Reported by Pádraig Brady.

15 years agoKeep ChangeLog entries in at most 80 screen columns.
Bruno Haible [Fri, 10 Oct 2008 02:35:51 +0000 (04:35 +0200)]
Keep ChangeLog entries in at most 80 screen columns.

15 years agoNew module 'ioctl'.
Bruno Haible [Fri, 10 Oct 2008 02:33:25 +0000 (04:33 +0200)]
New module 'ioctl'.

15 years agoNew module 'sys_ioctl'.
Bruno Haible [Fri, 10 Oct 2008 02:25:28 +0000 (04:25 +0200)]
New module 'sys_ioctl'.

15 years agoMake the ioctl() signature POSIX compliant.
Bruno Haible [Fri, 10 Oct 2008 02:17:02 +0000 (04:17 +0200)]
Make the ioctl() signature POSIX compliant.

15 years agoArrange to replace the close() function when needed.
Bruno Haible [Fri, 10 Oct 2008 01:57:05 +0000 (03:57 +0200)]
Arrange to replace the close() function when needed.

15 years agoMention new module 'close'.
Bruno Haible [Fri, 10 Oct 2008 00:35:24 +0000 (02:35 +0200)]
Mention new module 'close'.

15 years agoDocument <sys/ioctl.h> status.
Bruno Haible [Fri, 10 Oct 2008 00:05:36 +0000 (02:05 +0200)]
Document <sys/ioctl.h> status.

15 years agoCombine the two replacements of 'close'.
Paolo Bonzini [Thu, 9 Oct 2008 22:23:06 +0000 (00:23 +0200)]
Combine the two replacements of 'close'.

15 years agoNew module 'close'.
Paolo Bonzini [Thu, 9 Oct 2008 22:06:58 +0000 (00:06 +0200)]
New module 'close'.

15 years agoMerge the two replacements for open() into a single one.
Paolo Bonzini [Thu, 9 Oct 2008 21:47:06 +0000 (23:47 +0200)]
Merge the two replacements for open() into a single one.

15 years agoGNUmakefile: use the more name-space-friendly "_version"
Jim Meyering [Thu, 9 Oct 2008 08:35:37 +0000 (10:35 +0200)]
GNUmakefile: use the more name-space-friendly "_version"

* top/GNUmakefile (_dummy): Update.
(_version): Rename from "version".

15 years agoReduce code duplication.
Paolo Bonzini [Thu, 9 Oct 2008 11:31:16 +0000 (13:31 +0200)]
Reduce code duplication.

15 years agoFix organization of 'open' replacement.
Paolo Bonzini [Thu, 9 Oct 2008 11:20:03 +0000 (13:20 +0200)]
Fix organization of 'open' replacement.

15 years agoLink test-getdate with libintl.
Bruno Haible [Wed, 8 Oct 2008 20:35:55 +0000 (22:35 +0200)]
Link test-getdate with libintl.

15 years agom4/sys_socket_h.m4: Don't AC_LIBOBJ(winsock).
Simon Josefsson [Wed, 8 Oct 2008 15:57:12 +0000 (17:57 +0200)]
m4/sys_socket_h.m4: Don't AC_LIBOBJ(winsock).

15 years agoGNUmakefile: add 'make version' target
Eric Blake [Wed, 8 Oct 2008 14:46:29 +0000 (08:46 -0600)]
GNUmakefile: add 'make version' target

* top/GNUmakefile (_curr-ver): Split version update rules...
(version): ...into a target.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoUse a more portable replacement expression for -0.0L.
Bruno Haible [Wed, 8 Oct 2008 00:05:26 +0000 (02:05 +0200)]
Use a more portable replacement expression for -0.0L.

15 years agoAdd pmccabe2html to MODULES.html.sh.
Simon Josefsson [Tue, 7 Oct 2008 12:16:37 +0000 (14:16 +0200)]
Add pmccabe2html to MODULES.html.sh.

15 years agoAdd pmccabe2html module, from gnupdf.
Simon Josefsson [Tue, 7 Oct 2008 07:24:34 +0000 (09:24 +0200)]
Add pmccabe2html module, from gnupdf.

15 years agoflock: new module
Richard W.M. Jones [Fri, 3 Oct 2008 13:58:14 +0000 (14:58 +0100)]
flock: new module

* MODULES.html.sh: Add to list of modules.
* lib/flock.c: flock implementation for Windows and Unix systems
which have fcntl.
* doc/glibc-functions/flock.texi: Update documentation.
* lib/sys_file.in.h: <sys/file.h> header file.
* m4/flock.m4: M4 macros.
* m4/sys_file_h.m4: M4 macros for replacement sys/file.h.
* modules/flock: flock module.
* modules/flock-tests: flock tests module.
* modules/sys_file: sys/file.h module.
* tests/test-flock.c: test suite for flock.

15 years agobootstrap: check for LT_INIT more portably still ;-)
Jim Meyering [Sun, 5 Oct 2008 17:47:18 +0000 (19:47 +0200)]
bootstrap: check for LT_INIT more portably still ;-)

* build-aux/bootstrap: Don't rely on \>, since it's not portable.
Spotted by Bruno Haible.

15 years agotest-signbit: avoid tripping Irix cc bug on -0.0L
Eric Blake [Mon, 6 Oct 2008 12:23:12 +0000 (06:23 -0600)]
test-signbit: avoid tripping Irix cc bug on -0.0L

* tests/test-signbit.c (minus_zerol): Delete, and replace with
'-zerol'.  This may break on HP-UX/hppa, but at least makes the
entire testsuite consistent and avoids an Irix 6.2 bug.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoAdd an option for ignoring EPIPE during close_stdout.
Bruno Haible [Mon, 6 Oct 2008 00:38:03 +0000 (02:38 +0200)]
Add an option for ignoring EPIPE during close_stdout.

15 years agoNew modules 'accept', 'bind', 'connect', 'getpeername', 'getsockname', 'getsockopt...
Bruno Haible [Mon, 6 Oct 2008 00:15:14 +0000 (02:15 +0200)]
New modules 'accept', 'bind', 'connect', 'getpeername', 'getsockname', 'getsockopt', 'listen', 'recv', 'recvfrom', 'send', 'sendto', 'setsockopt', 'socket'.

15 years agoTiny tweaks.
Bruno Haible [Sun, 5 Oct 2008 23:49:54 +0000 (01:49 +0200)]
Tiny tweaks.

15 years agoOops, typo in warning.
Bruno Haible [Sun, 5 Oct 2008 23:27:51 +0000 (01:27 +0200)]
Oops, typo in warning.

15 years agoAdd a link warning when the 'select' module is not used.
Bruno Haible [Sun, 5 Oct 2008 23:10:08 +0000 (01:10 +0200)]
Add a link warning when the 'select' module is not used.

15 years agobootstrap: check for LT_INIT more portably
Jim Meyering [Sun, 5 Oct 2008 15:49:55 +0000 (17:49 +0200)]
bootstrap: check for LT_INIT more portably

* build-aux/bootstrap: Avoid using grep -E, since it's not
portable enough.  Suggestion from Bruno Haible.

15 years agoUpdate doc of OSF/1 4.0 problem.
Bruno Haible [Sun, 5 Oct 2008 15:37:21 +0000 (17:37 +0200)]
Update doc of OSF/1 4.0 problem.

15 years agoUpdate after module 'select' was created.
Bruno Haible [Sun, 5 Oct 2008 15:31:59 +0000 (17:31 +0200)]
Update after module 'select' was created.

15 years agoSplit sys_select-tests module into select-tests and sys_select-tests.
Bruno Haible [Sun, 5 Oct 2008 15:30:02 +0000 (17:30 +0200)]
Split sys_select-tests module into select-tests and sys_select-tests.

15 years agoNew module 'select'.
Bruno Haible [Sun, 5 Oct 2008 15:20:58 +0000 (17:20 +0200)]
New module 'select'.

15 years agoAttribution.
Bruno Haible [Sun, 5 Oct 2008 15:01:24 +0000 (17:01 +0200)]
Attribution.

15 years agoUse getdtablesize module.
Bruno Haible [Sun, 5 Oct 2008 14:58:03 +0000 (16:58 +0200)]
Use getdtablesize module.

15 years agoTests for module 'getdtablesize'.
Bruno Haible [Sun, 5 Oct 2008 14:52:15 +0000 (16:52 +0200)]
Tests for module 'getdtablesize'.

15 years agoNew module 'getdtablesize'.
Bruno Haible [Sun, 5 Oct 2008 14:51:07 +0000 (16:51 +0200)]
New module 'getdtablesize'.

15 years agoFix typo.
Bruno Haible [Sun, 5 Oct 2008 14:37:45 +0000 (16:37 +0200)]
Fix typo.

15 years agobootstrap: check for LT_INIT, too
Jim Meyering [Sun, 5 Oct 2008 12:11:23 +0000 (14:11 +0200)]
bootstrap: check for LT_INIT, too

* build-aux/bootstrap: Both AC_PROG_LIBTOOL and AM_PROG_LIBTOOL
are deprecated.  Suggestion from Ralf Wildenhues.

15 years agoUse the system's values, rather than overriding them by ours.
Bruno Haible [Sun, 5 Oct 2008 11:47:45 +0000 (13:47 +0200)]
Use the system's values, rather than overriding them by ours.

15 years agoChangeLog: adjust Debarshi's email address, on his request
Jim Meyering [Sun, 5 Oct 2008 11:00:23 +0000 (13:00 +0200)]
ChangeLog: adjust Debarshi's email address, on his request

15 years agobootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL
Jim Meyering [Sun, 5 Oct 2008 06:24:04 +0000 (08:24 +0200)]
bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL

* build-aux/bootstrap: Check for AC_PROG_LIBTOOL, as well as the
obsolete AM_PROG_LIBTOOL.
Spotted by Debarshi 'Rishi' Ray <debarshi.ray@gmail.com>.

15 years agoRelax license to LGPLv2+.
Bruno Haible [Sat, 4 Oct 2008 16:34:37 +0000 (18:34 +0200)]
Relax license to LGPLv2+.

15 years agoAvoid macro redefinition warnings.
Bruno Haible [Sat, 4 Oct 2008 15:39:03 +0000 (17:39 +0200)]
Avoid macro redefinition warnings.

15 years agoDefine EWOULDBLOCK to the same value as EAGAIN.
Paolo Bonzini [Fri, 3 Oct 2008 16:23:59 +0000 (18:23 +0200)]
Define EWOULDBLOCK to the same value as EAGAIN.

15 years agofilevercmp: new module
Kamil Dudka [Fri, 3 Oct 2008 08:31:28 +0000 (10:31 +0200)]
filevercmp: new module

* lib/filevercmp.h: New function filevercmp comparing version strings.
* lib/filevercmp.c: Implementation of filevercmp function.
* modules/filevercmp: Module metadata.
* tests/test-filevercmp.c: Unit test for new module.
* modules/filevercmp-tests: Unit test metadata.
* MODULES.html.sh: Add filevercmp module.

15 years agoAdd a comment.
Bruno Haible [Fri, 3 Oct 2008 12:04:31 +0000 (14:04 +0200)]
Add a comment.

15 years agoUse the fixed open() function.
Bruno Haible [Thu, 2 Oct 2008 10:24:27 +0000 (12:24 +0200)]
Use the fixed open() function.

15 years agoNew module 'fsync'.
Richard W.M. Jones [Thu, 2 Oct 2008 09:59:19 +0000 (11:59 +0200)]
New module 'fsync'.

15 years agoallow renaming bootstrap, and change the name of bootstrap.conf accordingly
Paolo Bonzini [Thu, 2 Oct 2008 09:03:52 +0000 (11:03 +0200)]
allow renaming bootstrap, and change the name of bootstrap.conf accordingly

2008-10-02  Paolo Bonzini  <bonzini@gnu.org>

* build-aux/bootstrap: Allow renaming bootstrap, and change the
name of bootstrap.conf accordingly.

15 years agohave bootstrap initialize git-merge-changelog if found
Paolo Bonzini [Thu, 2 Oct 2008 09:01:16 +0000 (11:01 +0200)]
have bootstrap initialize git-merge-changelog if found

2008-10-02  Paolo Bonzini  <bonzini@gnu.org>

* build-aux/bootstrap: Install git-merge-changelog configuration
items into .gitconfig if needed.