gnulib.git
13 years agodirfd: Fix compilation error in C++ mode on MacOS X, *BSD, IRIX.
Bruno Haible [Sat, 4 Sep 2010 11:35:19 +0000 (13:35 +0200)]
dirfd: Fix compilation error in C++ mode on MacOS X, *BSD, IRIX.

* lib/dirent.in.h (dirfd): In C++ mode with GNULIB_NAMESPACE, turn the
macro into a function.
Reported by Jarno Rajahalme <jarno.rajahalme@nsn.com>.

13 years agoSet PATH_SEPARATOR the same way autoconf does.
Bruno Haible [Sat, 4 Sep 2010 09:16:43 +0000 (11:16 +0200)]
Set PATH_SEPARATOR the same way autoconf does.

* build-aux/relocatable.sh.in (func_find_curr_installdir): Determine
the value of PATH_SEPARATOR the same way autoconf-generated configure
scripts do.
* m4/lib-ld.m4 (AC_LIB_PROG_LD): Likewise.
* m4/progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.

13 years agoSet PATH_SEPARATOR the same way autoconf does.
Stefano Lattarini [Sat, 4 Sep 2010 09:01:27 +0000 (11:01 +0200)]
Set PATH_SEPARATOR the same way autoconf does.

* gnulib-tool (func_gnulib_dir): Determine the value of PATH_SEPARATOR
the same way autoconf-generated configure scripts do.
* posix-modules: Likewise.

13 years agoautoupdate
Karl Berry [Fri, 3 Sep 2010 13:07:11 +0000 (06:07 -0700)]
autoupdate

13 years agotests: init.sh improvements for re-exec'ing with zsh
Eric Blake [Thu, 2 Sep 2010 19:49:41 +0000 (13:49 -0600)]
tests: init.sh improvements for re-exec'ing with zsh

Tom's IRIX setup had a broken bash, and proceeded to run zsh
outside of POSIX mode.  But trying to trace that setup proved
difficult, since the re-exec lost tracing.

* tests/init.sh: Borrow autoconf POSIX-mode sanitization.  Pass
-vx through shell re-exec.
Reported by Tom G. Christensen.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agohash: fix safe_hasher const typo
Paul Eggert [Thu, 2 Sep 2010 19:51:40 +0000 (12:51 -0700)]
hash: fix safe_hasher const typo

* lib/hash.c (safe_hasher): Result is pointer, not pointer to
const; otherwise, there is a type error later.

13 years agotest-update-copyright.sh: require perl 5.8.0
Jim Meyering [Thu, 2 Sep 2010 15:53:36 +0000 (17:53 +0200)]
test-update-copyright.sh: require perl 5.8.0

* tests/test-update-copyright.sh: Require 5.8.0,
which Tom G. Christensen has confirmed is adequate,
while 5.6.1 is not.

13 years agowctype: fix typo in previous commit
Eric Blake [Thu, 2 Sep 2010 14:49:58 +0000 (08:49 -0600)]
wctype: fix typo in previous commit

* m4/wctype_h.m4 (gl_WCTYPE_H): Fix spelling.
Reported by Ludovic Courtès.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agotest-update-copyright.sh: skip test if Perl is too old
Jim Meyering [Thu, 2 Sep 2010 11:51:56 +0000 (13:51 +0200)]
test-update-copyright.sh: skip test if Perl is too old

* tests/test-update-copyright.sh: Exit 77 if Perl is too old.
Reported by Tom G. Christensen.

13 years agowctype: Avoid compilation error on IRIX 6.5.30.
Bruno Haible [Thu, 2 Sep 2010 09:15:39 +0000 (11:15 +0200)]
wctype: Avoid compilation error on IRIX 6.5.30.

* lib/wctype.in.h (iswblank): Declare with a replacement if
REPLACE_ISWBLANK is set.
* m4/wctype_h.m4 (gl_WCTYPE_H): Check also whether iswblank is
declared. Set REPLACE_ISWBLANK.
* modules/wctype (Makefile.am): Substitute REPLACE_ISWBLANK.
* doc/posix-functions/iswblank.texi: Mention the IRIX 6.5.30 problem.
* doc/posix-headers/wctype.texi: Likewise.
Reported by Tom G. Christensen <tgc@jupiterrise.com>.

13 years agoNew module 'socketlib'.
Bruno Haible [Thu, 2 Sep 2010 08:45:43 +0000 (10:45 +0200)]
New module 'socketlib'.

* modules/socketlib: New file.
* m4/socketlib.m4: New file, extracted from m4/sockets.m4.
* m4/sockets.m4 (gl_SOCKETS): Require gl_SOCKETLIB.
* modules/sockets (Depends-on): Add socketlib.
Suggested by Sam Steingold <sds@gnu.org>.

13 years agofcntl-h, etc.: prefer O_SEARCH to O_RDONLY when applicable
Paul Eggert [Wed, 1 Sep 2010 20:45:53 +0000 (13:45 -0700)]
fcntl-h, etc.: prefer O_SEARCH to O_RDONLY when applicable

POSIX 2008 specifies a new 'open' flag O_SEARCH, which can be used
when one needs search access to a directory but not read access.
On systems where it is available, it works in some cases where
O_RDONLY does not, namely on directories that are searchable but
not readable, and which need only to be searchable.  If O_SEARCH
is not available, fall back to the traditional method of using
O_RDONLY.

* lib/fcntl.in.h (O_SEARCH): #define to O_RDONLY if not defined.
* lib/chdir-long.c (cdb_advance_fd): Use O_SEARCH, not O_RDONLY,
when opening a directory that needs only to be searchable.
* lib/chdir-safer.c (chdir_no_follow): Likewise.
* lib/fts.c (diropen, fts_open, fd_ring_check): Likewise.
* lib/openat-proc.c (openat_proc_name): Likewise.
* lib/openat.c (openat_needs_fchdir): Likewise.
* lib/save-cwd.c (save_cwd): Likewise.
* lib/savewd.c (savewd_save, savewd_chdir): Likewise.

13 years agoautoupdate
Karl Berry [Wed, 1 Sep 2010 13:43:13 +0000 (06:43 -0700)]
autoupdate

13 years agoNew module 'host-cpu-c-abi'.
Bruno Haible [Tue, 31 Aug 2010 21:57:08 +0000 (23:57 +0200)]
New module 'host-cpu-c-abi'.

13 years agohash: factor, and guard against misbehaving hasher function
Eric Blake [Tue, 31 Aug 2010 08:10:32 +0000 (10:10 +0200)]
hash: factor, and guard against misbehaving hasher function

* lib/hash.c (safe_hasher): New function, to encapsulate the checking
of table->hasher's return value.  Also protect against a hash value
so large that adding it to table->bucket results in a NULL pointer.
(hash_lookup, hash_get_next, hash_find_entry, transfer_entries):
Use it in place of open-coded check-and-abort.

13 years agohash: silence spurious clang warning
Bruno Haible [Tue, 31 Aug 2010 06:43:53 +0000 (08:43 +0200)]
hash: silence spurious clang warning

* lib/hash.c (hash_get_next): Remove unnecessary test against NULL.
Reported by Eric Blake.

13 years agostrstr, memmem, strcasestr: avoid leaked shell message
Eric Blake [Mon, 30 Aug 2010 23:13:53 +0000 (17:13 -0600)]
strstr, memmem, strcasestr: avoid leaked shell message

* m4/strstr.m4 (gl_FUNC_STRSTR): Avoid "Alarm clock" message from
FreeBSD.
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise.
* m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agotests: silence clang warning
Eric Blake [Mon, 30 Aug 2010 21:40:44 +0000 (15:40 -0600)]
tests: silence clang warning

* tests/test-malloca.c (do_allocation): Avoid dead store.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agogettext: Fix recent mistake.
Bruno Haible [Sun, 29 Aug 2010 20:39:42 +0000 (22:39 +0200)]
gettext: Fix recent mistake.

13 years agoselinux-h: Offer a --without-selinux option.
Bruno Haible [Sun, 29 Aug 2010 19:35:03 +0000 (21:35 +0200)]
selinux-h: Offer a --without-selinux option.

13 years agoMake the module 'realloc-gnu' work again on AIX and OSF/1.
Bruno Haible [Sun, 29 Aug 2010 19:13:46 +0000 (21:13 +0200)]
Make the module 'realloc-gnu' work again on AIX and OSF/1.

13 years agoMake the module 'calloc-gnu' work again on AIX and OSF/1.
Bruno Haible [Sun, 29 Aug 2010 17:29:56 +0000 (19:29 +0200)]
Make the module 'calloc-gnu' work again on AIX and OSF/1.

13 years agoMake the module 'malloc-gnu' work again on AIX and OSF/1.
Bruno Haible [Sun, 29 Aug 2010 17:20:47 +0000 (19:20 +0200)]
Make the module 'malloc-gnu' work again on AIX and OSF/1.

13 years agoUpdate modules list.
Bruno Haible [Sun, 29 Aug 2010 08:18:12 +0000 (10:18 +0200)]
Update modules list.

13 years agorealloc-gnu: Really add the module description.
Bruno Haible [Sat, 28 Aug 2010 21:54:20 +0000 (23:54 +0200)]
realloc-gnu: Really add the module description.

13 years agoTests for module 'realloc-gnu'.
Ralf Wildenhues [Sat, 28 Aug 2010 21:41:33 +0000 (23:41 +0200)]
Tests for module 'realloc-gnu'.
* modules/realloc-gnu-tests: New file.
* tests/test-realloc-gnu.c: New file.

13 years agoTests for module 'calloc-gnu'.
Ralf Wildenhues [Sat, 28 Aug 2010 21:38:07 +0000 (23:38 +0200)]
Tests for module 'calloc-gnu'.
* modules/calloc-gnu-tests: New file.
* tests/test-calloc-gnu.c: New file.

13 years agoTests for module 'malloc-gnu'.
Ralf Wildenhues [Sat, 28 Aug 2010 21:33:01 +0000 (23:33 +0200)]
Tests for module 'malloc-gnu'.
* modules/malloc-gnu-tests: New file.
* tests/test-malloc-gnu.c: New file.

13 years agoRename module 'realloc' -> 'realloc-gnu'.
Bruno Haible [Sat, 28 Aug 2010 21:28:26 +0000 (23:28 +0200)]
Rename module 'realloc' -> 'realloc-gnu'.

13 years agoRename module 'calloc' -> 'calloc-gnu'.
Bruno Haible [Sat, 28 Aug 2010 21:24:22 +0000 (23:24 +0200)]
Rename module 'calloc' -> 'calloc-gnu'.

13 years agoRename module 'malloc' -> 'malloc-gnu'.
Bruno Haible [Sat, 28 Aug 2010 21:20:01 +0000 (23:20 +0200)]
Rename module 'malloc' -> 'malloc-gnu'.

13 years agopread, pwrite: add missing dependency
Eric Blake [Sat, 28 Aug 2010 20:52:45 +0000 (14:52 -0600)]
pread, pwrite: add missing dependency

* modules/pread (Depends-on): Add extensions.
* modules/pwrite (Depends-on): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agounistr/u*-strchr: Fix tests dependencies.
Bruno Haible [Sat, 28 Aug 2010 20:37:43 +0000 (22:37 +0200)]
unistr/u*-strchr: Fix tests dependencies.

13 years agoread-file: Don't occupy too much unused memory.
Bruno Haible [Sat, 28 Aug 2010 14:22:14 +0000 (16:22 +0200)]
read-file: Don't occupy too much unused memory.

13 years agoread-file: Avoid memory reallocations with regular files.
Giuseppe Scrivano [Sat, 28 Aug 2010 14:12:37 +0000 (16:12 +0200)]
read-file: Avoid memory reallocations with regular files.
* lib/read-file.c: Include <sys/stat.h>, <stdio.h>, <stdint.h>.
(fread_file): With regular files, use the remaining length as the
initial buffer size.  Check against overflow.
* modules/read-file (Depends-on): Add ftello, malloc-posix, stdint,
sys_stat.

13 years agoautoupdate
Karl Berry [Sat, 28 Aug 2010 13:44:28 +0000 (06:44 -0700)]
autoupdate

13 years agoftello: Relax license.
Bruno Haible [Sat, 28 Aug 2010 13:29:52 +0000 (15:29 +0200)]
ftello: Relax license.

13 years agoAvoid relocwrapper link errors due to gnulib replacement functions.
Bruno Haible [Sat, 28 Aug 2010 09:12:58 +0000 (11:12 +0200)]
Avoid relocwrapper link errors due to gnulib replacement functions.

13 years agoPrefer using AC_DEFUN_ONCE over AC_DEFUN in projects with gnulib.
Bruno Haible [Sat, 28 Aug 2010 08:46:37 +0000 (10:46 +0200)]
Prefer using AC_DEFUN_ONCE over AC_DEFUN in projects with gnulib.

13 years agosys_socket, netdb: Ensure socklen_t gets defined.
Bruno Haible [Sat, 28 Aug 2010 08:16:34 +0000 (10:16 +0200)]
sys_socket, netdb: Ensure socklen_t gets defined.

13 years ago* ChangeLog: fix typo
Eric Blake [Fri, 27 Aug 2010 16:42:14 +0000 (10:42 -0600)]
* ChangeLog: fix typo

Spotted by Stefan Lattarini.

13 years agologin_tty: add missing dependeny
Eric Blake [Fri, 27 Aug 2010 16:32:05 +0000 (10:32 -0600)]
login_tty: add missing dependeny

* modules/login_tty (Depends-on): Add pty.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agolib-symbol-versions: fix m4 quoting
Eric Blake [Thu, 26 Aug 2010 23:06:20 +0000 (17:06 -0600)]
lib-symbol-versions: fix m4 quoting

* m4/ld-version-script.m4 (gl_LD_VERSION_SCRIPT): Use correct
format for AC_LINK_IFELSE.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agoglob: fix compile test
Eric Blake [Thu, 26 Aug 2010 23:03:42 +0000 (17:03 -0600)]
glob: fix compile test

* m4/glob.m4 (gl_GLOB): Use correct format for AC_COMPILE_IFELSE.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agobtowc: fix missing file
Eric Blake [Thu, 26 Aug 2010 22:43:13 +0000 (16:43 -0600)]
btowc: fix missing file

Detected by ./gnulib-tool --test btowc.

configure.ac:111: warning: gt_LOCALE_FR is m4_require'd but not m4_defun'd
glm4/btowc.m4:7: gl_FUNC_BTOWC is expanded from...
configure.ac:27: gl_INIT is expanded from...
configure.ac:111: the top level

* modules/btowc (Files): Also ship locale-fr.m4.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agolseek: fix link test
Eric Blake [Thu, 26 Aug 2010 22:18:38 +0000 (16:18 -0600)]
lseek: fix link test

Another bug spotted by autoconf.

* m4/lseek.m4 (gl_FUNC_LSEEK): Use correct format for
AC_LINK_IFELSE.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agoinclude_next: silence autoconf 2.68 warning
Eric Blake [Thu, 26 Aug 2010 22:12:06 +0000 (16:12 -0600)]
include_next: silence autoconf 2.68 warning

Next warning spotted by Autoconf; this time it is spurious (when
checking for a working include_next, we could care less what other
defines have already been provided by AC_DEFINE).  Which makes this
the first real-world use case outside of autoconf guts that can
reasonably use the new autoconf macro.

* m4/include_next.m4 (gl_INCLUDE_NEXT): Mark this use of
AC_COMPILE_IFELSE as special.
(AC_LANG_DEFINES_PROVIDED): Provide dummy implementation for
autoconf < 2.68.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agoacl: fix compilation test
Eric Blake [Thu, 26 Aug 2010 21:53:33 +0000 (15:53 -0600)]
acl: fix compilation test

Detected by pending patch to upcoming autoconf 2.68.

* m4/acl.m4 (gl_FUNC_ALL): Use correct format for
AC_COMPILE_IFELSE.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agoModernize AC_TRY_RUN invocations.
Bruno Haible [Mon, 19 Jul 2010 23:06:56 +0000 (01:06 +0200)]
Modernize AC_TRY_RUN invocations.

13 years agoModernize AC_TRY_LINK invocations.
Bruno Haible [Mon, 19 Jul 2010 21:30:26 +0000 (23:30 +0200)]
Modernize AC_TRY_LINK invocations.

13 years agoModernize AC_TRY_COMPILE invocations.
Bruno Haible [Mon, 19 Jul 2010 00:28:28 +0000 (02:28 +0200)]
Modernize AC_TRY_COMPILE invocations.

13 years agostat-time: relax license LGPL
Jim Meyering [Thu, 26 Aug 2010 17:38:44 +0000 (19:38 +0200)]
stat-time: relax license LGPL

* modules/stat-time (License): Change from GPL to LGPL,
with consent from all contributors, for use in libguile.
Requested by Ludovic Courtès.

13 years agoautoupdate
Karl Berry [Thu, 26 Aug 2010 13:33:40 +0000 (06:33 -0700)]
autoupdate

13 years agopoll: return immediately on POLLHUP.
Erik Faye-Lund [Thu, 26 Aug 2010 07:48:55 +0000 (09:48 +0200)]
poll: return immediately on POLLHUP.

* lib/poll.c (poll): Always set timeout before wait_timeout is
computed.

13 years agoFix test-unlinkat, test-rmdir failure on AIX 5.3.
Ralf Wildenhues [Wed, 25 Aug 2010 20:42:28 +0000 (22:42 +0200)]
Fix test-unlinkat, test-rmdir failure on AIX 5.3.

* tests/test-rmdir.h (test_rmdir_func): Also accept EEXIST for
rmdir ("dir/.//"), unlinkat.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agostdbool: avoid spurious failure with modern xlc
Paul Eggert [Tue, 24 Aug 2010 21:36:27 +0000 (14:36 -0700)]
stdbool: avoid spurious failure with modern xlc

* m4/stdbool.m4 (AC_HEADER_STDBOOL): Resync with autoconf.

13 years agogetloadavg: simplify code
Bruno Haible [Tue, 24 Aug 2010 19:53:44 +0000 (21:53 +0200)]
getloadavg: simplify code

13 years agogetloadavg: don't define SVR4 on cygwin
Eric Blake [Tue, 24 Aug 2010 16:52:07 +0000 (10:52 -0600)]
getloadavg: don't define SVR4 on cygwin

* m4/getloadavg.m4 (gl_GETLOADAVG): Sync with autoconf fix, to
only define SVR4 when -lkvm is required.
Reported by Yaakov Selkowitz.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agopriv-set: fix comment
Bruno Haible [Tue, 24 Aug 2010 07:37:58 +0000 (09:37 +0200)]
priv-set: fix comment

13 years agopriv-set: fix comments
Paul Eggert [Tue, 24 Aug 2010 05:34:00 +0000 (22:34 -0700)]
priv-set: fix comments

* lib/priv-set.c (priv_set_remove, priv_set_restore): Fix comments
to match code, as suggested by David Bartley in:
http://lists.gnu.org/archive/html/bug-tar/2010-08/msg00018.html

13 years agostdbool: avoid rejecting clang
Eric Blake [Mon, 23 Aug 2010 21:04:42 +0000 (15:04 -0600)]
stdbool: avoid rejecting clang

* m4/stdbool.m4 (AC_HEADER_STDBOOL): Resync with autoconf.
* tests/test-stdbool.c: Enable more tests if using the system
<stdbool.h> instead of the gnulib replacement.
(main): Move xlc bug test to a runtime test for all compilers.
Reported by Anders Kaseorg.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agoargz: fix shell quoting issue
Eric Blake [Mon, 23 Aug 2010 15:01:08 +0000 (09:01 -0600)]
argz: fix shell quoting issue

* m4/argz.m4 (gl_FUNC_ARGZ): Allow for spaces in argument.
Reported by Charles Wilson.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agopoll, select: handle ERROR_BROKEN_PIPE.
Paolo Bonzini [Mon, 23 Aug 2010 07:35:43 +0000 (09:35 +0200)]
poll, select: handle ERROR_BROKEN_PIPE.

* lib/poll.c (win32_compute_revents): Return POLLHUP when
PeekNamedPipe fails with ERROR_BROKEN_PIPE.
* lib/select.c (win32_compute_revents): Do not mark a pipe
as writeable if PeekNamedPipe fails with ERROR_BROKEN_PIPE.

13 years agofts: allow compilation with C++
Giuseppe Scrivano [Sun, 22 Aug 2010 14:20:42 +0000 (10:20 -0400)]
fts: allow compilation with C++

* lib/fts_.h: Specify extern "C" linkage with C++.

13 years agoautoupdate
Karl Berry [Sun, 22 Aug 2010 14:17:20 +0000 (07:17 -0700)]
autoupdate

13 years agoFix gnulib-tool sed script de-commentation for AIX sed.
Ralf Wildenhues [Sat, 21 Aug 2010 05:21:47 +0000 (07:21 +0200)]
Fix gnulib-tool sed script de-commentation for AIX sed.

* gnulib-tool (sed_comments): Try indented comments, for AIX 5.3
sed.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 years agoupdate from texinfo
Karl Berry [Fri, 20 Aug 2010 14:07:27 +0000 (07:07 -0700)]
update from texinfo

13 years agoautoupdate
Karl Berry [Tue, 17 Aug 2010 14:18:27 +0000 (07:18 -0700)]
autoupdate

13 years agotest-stddef: test for (some) offsetof bugs
Eric Blake [Mon, 16 Aug 2010 23:34:45 +0000 (17:34 -0600)]
test-stddef: test for (some) offsetof bugs

See the mailing list for a more comprehensive patch that works
around the Solaris bug.

* tests/test-stddef.c: Enhance test to ensure correct type of
offsetof.
* doc/posix-headers/stddef.texi (stddef.h): Document a Solaris bug
that we are not fixing at this time.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agostpncpy: Allow stpncpy to be defined as a macro.
Bruno Haible [Mon, 16 Aug 2010 00:09:11 +0000 (02:09 +0200)]
stpncpy: Allow stpncpy to be defined as a macro.

13 years agoRename module 'memxfrm' to 'amemxfrm'.
Bruno Haible [Sat, 14 Aug 2010 22:42:00 +0000 (00:42 +0200)]
Rename module 'memxfrm' to 'amemxfrm'.

13 years agoTests for module 'astrxfrm'.
Bruno Haible [Sat, 14 Aug 2010 22:26:51 +0000 (00:26 +0200)]
Tests for module 'astrxfrm'.

13 years agoNew module 'astrxfrm'.
Bruno Haible [Sat, 14 Aug 2010 22:19:47 +0000 (00:19 +0200)]
New module 'astrxfrm'.

13 years agoDocument not_eol.
Reuben Thomas [Sat, 14 Aug 2010 22:08:55 +0000 (23:08 +0100)]
Document not_eol.

13 years agoDocument not_eol and remove mention of regex.c.
Reuben Thomas [Sat, 14 Aug 2010 15:40:16 +0000 (16:40 +0100)]
Document not_eol and remove mention of regex.c.

13 years agoIgnore one more generated index from makeinfo.
Bruno Haible [Sat, 14 Aug 2010 17:58:28 +0000 (19:58 +0200)]
Ignore one more generated index from makeinfo.

13 years agogit-merge-changelog: add doc relating to use with bzr and hg.
Brian Gough [Sat, 14 Aug 2010 17:57:11 +0000 (19:57 +0200)]
git-merge-changelog: add doc relating to use with bzr and hg.

13 years agopthread: fix pthread.h creation for srcdir != builddir
Matthias Bolte [Fri, 13 Aug 2010 23:36:21 +0000 (01:36 +0200)]
pthread: fix pthread.h creation for srcdir != builddir

* modules/pthread (Makefile.am): Fix the rule to work also in a
non-srcdir build.

13 years agoavoid some overlong lines from posix urls, etc.
Karl Berry [Fri, 13 Aug 2010 18:50:58 +0000 (11:50 -0700)]
avoid some overlong lines from posix urls, etc.

13 years agoautoupdate
Karl Berry [Fri, 13 Aug 2010 14:16:10 +0000 (07:16 -0700)]
autoupdate

13 years agomissed commit
Karl Berry [Thu, 12 Aug 2010 17:51:54 +0000 (10:51 -0700)]
missed commit

13 years agoautoupdate
Karl Berry [Thu, 12 Aug 2010 13:51:12 +0000 (06:51 -0700)]
autoupdate

13 years agostrtod: fix const diagnostic
Paul Eggert [Tue, 10 Aug 2010 17:39:30 +0000 (10:39 -0700)]
strtod: fix const diagnostic

* lib/strtod.c (strtod): Don't assign const char * to char *,
as this elicits a warning from GCC when warnings are enabled.

13 years agocopy-acl: ignore ENOTSUP on HP-UX
Pádraig Brady [Thu, 10 Jun 2010 14:12:48 +0000 (15:12 +0100)]
copy-acl: ignore ENOTSUP on HP-UX

Fixes Coreutils bug 6053.

* lib/acl-internal.h (ACL_NOT_WELL_SUPPORTED): Move definition up,
so that it is available for HP-UX.
* lib/copy-acl.c (qcopy_acl): Use it.
Reported by Patrick M. Callahan.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agoopen, chown: relax license
Eric Blake [Tue, 10 Aug 2010 15:32:13 +0000 (09:32 -0600)]
open, chown: relax license

* modules/open (License): Change to LGPLv2+, with consent by all
authors, for use in augeas.
* modules/chown (License): Likewise.
* modules/lchown (Likewise): Likewise.
Requested by Adam Stokes.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agoautocheck new ar-lib script from automake
Karl Berry [Mon, 9 Aug 2010 20:54:20 +0000 (13:54 -0700)]
autocheck new ar-lib script from automake

13 years agoreadlinkat: adjust client modules
Eric Blake [Mon, 9 Aug 2010 17:59:12 +0000 (11:59 -0600)]
readlinkat: adjust client modules

* modules/areadlinkat (Depends-on): Use readlinkat, not
symlinkat.
* modules/areadlinkat-with-size (Depends-on): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agomknod: be more vocal about danger of running tests as root
Eric Blake [Fri, 30 Jul 2010 23:29:43 +0000 (17:29 -0600)]
mknod: be more vocal about danger of running tests as root

* m4/mknod.m4 (gl_FUNC_MKNOD): Make it harder to run configure as
root, since that is just asking for problems.
Suggested by Bruno Haible, based on a report by Rainer Tammer.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agoreadlinkat: split into its own module
Eric Blake [Mon, 9 Aug 2010 17:16:07 +0000 (11:16 -0600)]
readlinkat: split into its own module

* modules/symlinkat: Split readlinkat...
* modules/readlinkat: ...into separate module.
* m4/symlinkat.m4 (gl_FUNC_SYMLINKAT): Move readlinkat check...
* m4/readlinkat.m4 (gl_FUNC_READLINAT): ...to new file.
* lib/symlinkat.c (readlinkat): Move...
* lib/readlinkat.c: ...into new file.
* modules/symlinkat-tests: Split readlinkat test...
* modules/readlinkat-tests: ...into separate module.
* tests/test-symlinkat.c: Split...
* tests/test-readlinkat.c: ...into new file.
* NEWS: Document the split.
* doc/posix-functions/readlinkat.texi (readlinkat): Likewise.
* lib/unistd.in.h (readlinkat): Likewise.
Suggested by Bruno Haible.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 years agomemxfrm: Speed up.
Bruno Haible [Sun, 8 Aug 2010 10:31:10 +0000 (12:31 +0200)]
memxfrm: Speed up.

13 years agoerroneous commas inside @var
Karl Berry [Sat, 7 Aug 2010 13:58:15 +0000 (06:58 -0700)]
erroneous commas inside @var

13 years agoremove spurious leading i
Karl Berry [Sat, 7 Aug 2010 13:27:04 +0000 (06:27 -0700)]
remove spurious leading i

13 years agomissing @item inside @itemize
Karl Berry [Sat, 7 Aug 2010 13:16:04 +0000 (06:16 -0700)]
missing @item inside @itemize

13 years agoautoupdate
Karl Berry [Mon, 2 Aug 2010 13:32:48 +0000 (06:32 -0700)]
autoupdate

13 years agoIntegrate the regex documentation.
Bruno Haible [Sun, 1 Aug 2010 16:47:14 +0000 (18:47 +0200)]
Integrate the regex documentation.

13 years agoWhitespace cleanup.
Bruno Haible [Sun, 1 Aug 2010 15:29:07 +0000 (17:29 +0200)]
Whitespace cleanup.

13 years agoAdd regex documentation.
Bruno Haible [Sun, 1 Aug 2010 15:26:34 +0000 (17:26 +0200)]
Add regex documentation.

13 years agolink: Update documentation.
Bruno Haible [Sun, 1 Aug 2010 13:28:48 +0000 (15:28 +0200)]
link: Update documentation.

13 years agoansi-c++-opt: Mention last change in NEWS.
Bruno Haible [Sun, 1 Aug 2010 07:52:48 +0000 (09:52 +0200)]
ansi-c++-opt: Mention last change in NEWS.

13 years agoUpdate modules list.
Bruno Haible [Sat, 31 Jul 2010 23:04:49 +0000 (01:04 +0200)]
Update modules list.