gnulib.git
15 years agoAdd isnanf module.
Ben Pfaff [Sat, 12 Jul 2008 17:46:03 +0000 (10:46 -0700)]
Add isnanf module.

15 years agoAdd isnand module.
Ben Pfaff [Sat, 12 Jul 2008 17:45:22 +0000 (10:45 -0700)]
Add isnand module.

15 years agoRename isnand.h to isnand-nolibm.h, similarly for isnanf.h.
Ben Pfaff [Sat, 12 Jul 2008 17:41:34 +0000 (10:41 -0700)]
Rename isnand.h to isnand-nolibm.h, similarly for isnanf.h.

15 years agoautoupdate
Karl Berry [Sat, 12 Jul 2008 13:12:48 +0000 (06:12 -0700)]
autoupdate

15 years agovc-list-files: make the last-resort awk code more portable
Jim Meyering [Fri, 11 Jul 2008 17:32:46 +0000 (19:32 +0200)]
vc-list-files: make the last-resort awk code more portable

* build-aux/vc-list-files: Don't rely on awk's "sub" command.
/bin/awk from OpenSolaris 11's SUNWesu version 2008.03.22.10.56
does not support it.

15 years agoWork with tar's bootstrap.
Eric Blake [Thu, 10 Jul 2008 21:10:42 +0000 (15:10 -0600)]
Work with tar's bootstrap.

* gnulib-tool (func_emit_initmacro_end): Use m4_defn in the case
where LIBSOURCES_DIR contains .#bootmp but must not be treated as
an m4 comment.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoposix-shell.m4: fix typo that made this test malfunction
Jim Meyering [Wed, 9 Jul 2008 09:53:32 +0000 (11:53 +0200)]
posix-shell.m4: fix typo that made this test malfunction

* m4/posix-shell.m4: Remove capitalization in variable name.

15 years agoUpdate comments.
Bruno Haible [Tue, 8 Jul 2008 10:18:03 +0000 (12:18 +0200)]
Update comments.

15 years agousers.txt: Add vc-dwim.
Jim Meyering [Fri, 4 Jul 2008 11:39:19 +0000 (13:39 +0200)]
users.txt: Add vc-dwim.

* users.txt: Add vc-dwim.
(bison, coreutils): Use the gitweb URL.

15 years ago* users.txt: Add libffcall. From Sam Steingold.
Jim Meyering [Thu, 3 Jul 2008 20:52:50 +0000 (22:52 +0200)]
* users.txt: Add libffcall.  From Sam Steingold.

15 years agogetdate.y: do not ignore TZ with relative day, month or year offset
Ondřej Vašík [Thu, 3 Jul 2008 10:17:11 +0000 (12:17 +0200)]
getdate.y: do not ignore TZ with relative day, month or year offset

* lib/getdate.y (get_date): Move the tz-handling block to follow the
relative-date-handling, since otherwise, the latter would clobber the
sole output (an updated Start value) of the tz-handling block.
* tests/test-getdate.c: Tests for the fix

15 years agoRecognize 'foo_LIBRARIES += libgnu.a'.
Ralf Wildenhues [Thu, 3 Jul 2008 18:17:33 +0000 (20:17 +0200)]
Recognize 'foo_LIBRARIES += libgnu.a'.

* gnulib-tool (func_emit_lib_Makefile_am): Recognize if a
makefile snippet has already specified an installation location,
also using '+='.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agogetdate.y: factor out common actions
Ondřej Vašík [Fri, 27 Jun 2008 15:37:40 +0000 (17:37 +0200)]
getdate.y: factor out common actions

* lib/getdate.y (apply_relative_time, set_hhmmss): New functions.
Use them in place of open-coded actions.

15 years agoAdd self-test for getdate module.
Simon Josefsson [Tue, 1 Jul 2008 12:55:29 +0000 (14:55 +0200)]
Add self-test for getdate module.
* modules/getdate-tests: New file.
* tests/test-getdate.c: New file.

15 years agoPut gnulib-comp.m4 into .cvsignore or .gitignore.
Bruno Haible [Sun, 29 Jun 2008 23:44:56 +0000 (01:44 +0200)]
Put gnulib-comp.m4 into .cvsignore or .gitignore.

15 years agoUpdate to match current gnulib-tool.
Bruno Haible [Sun, 29 Jun 2008 23:28:02 +0000 (01:28 +0200)]
Update to match current gnulib-tool.

15 years agoRecommend to put gnulib-cache.m4 into EXTRA_DIST.
Bruno Haible [Sun, 29 Jun 2008 23:18:28 +0000 (01:18 +0200)]
Recommend to put gnulib-cache.m4 into EXTRA_DIST.

15 years agoadd ChangeLog entry for previous change
Jim Meyering [Thu, 26 Jun 2008 06:11:16 +0000 (08:11 +0200)]
add ChangeLog entry for previous change

15 years agomake several modules depend on the "open" module
Jim Meyering [Tue, 24 Jun 2008 07:40:36 +0000 (09:40 +0200)]
make several modules depend on the "open" module

This provides slightly increased consistency when opening-for-write
the name of a non-directory spelled with a trailing slash.
* modules/chdir-safer: Likewise.
* modules/chown: Likewise.
* modules/clean-temp: Likewise.
* modules/copy-file: Likewise.
* modules/fchdir: Likewise.
* modules/fcntl-safer: Likewise.
* modules/pipe: Likewise.
* modules/utime: Likewise.
Prompted by Eric Blake and Bruno Haible.

15 years agoDon't test whether compound literals can be used as initializers.
Andreas Schwab [Tue, 24 Jun 2008 22:59:18 +0000 (00:59 +0200)]
Don't test whether compound literals can be used as initializers.

15 years agoMake gnulib-cache.m4 easier to diff.
Eric Blake [Mon, 23 Jun 2008 17:30:06 +0000 (11:30 -0600)]
Make gnulib-cache.m4 easier to diff.

* gnulib-tool (func_import): Allow newlines when reading cached
gl_MODULES, and generate newlines when outputting gnulib-cache.m4.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoUpdate after lib/sig-handler.h is no longer included by lib/sigprocmask.c.
Bruno Haible [Mon, 23 Jun 2008 20:45:30 +0000 (22:45 +0200)]
Update after lib/sig-handler.h is no longer included by lib/sigprocmask.c.

15 years agoReenter the fatal_signal_handler in case of nested signal.
Bruno Haible [Mon, 23 Jun 2008 20:33:28 +0000 (22:33 +0200)]
Reenter the fatal_signal_handler in case of nested signal.

15 years agoComment fixes.
Bruno Haible [Mon, 23 Jun 2008 20:30:46 +0000 (22:30 +0200)]
Comment fixes.

15 years agoFix typo.
Eric Blake [Mon, 23 Jun 2008 12:44:55 +0000 (06:44 -0600)]
Fix typo.

* tests/test-sigaction.c (MASK_SA_FLAGS): Add missing operator.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoAvoid SA_ namespace.
Eric Blake [Mon, 23 Jun 2008 12:41:08 +0000 (06:41 -0600)]
Avoid SA_ namespace.

* tests/test-sigaction.c (MASK_SA_FLAGS): Rename from SA_MASK.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoAvoid test failure due to SA_RESTORER.
Eric Blake [Mon, 23 Jun 2008 12:24:53 +0000 (06:24 -0600)]
Avoid test failure due to SA_RESTORER.

* tests/test-sigaction.c (SA_MASK): New macro.
(main): Avoid failing due to extension flags being set.
Reported by Jim Meyering.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoRevert use of sig-handler.h in sigprocmask.c.
Eric Blake [Mon, 23 Jun 2008 12:02:40 +0000 (06:02 -0600)]
Revert use of sig-handler.h in sigprocmask.c.

* modules/sigprocmask (Files): Don't rely on sig-handler.h, since
it requires the existence of struct sigaction.
* lib/sigprocmask.c (handler_t): Restore typedef.
(rpl_signal, old_handlers): Use local type.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoConditionally disable part of the test.
Bruno Haible [Sun, 22 Jun 2008 20:20:15 +0000 (22:20 +0200)]
Conditionally disable part of the test.

15 years agoMove and fix the obsolescence note.
Bruno Haible [Sun, 22 Jun 2008 20:02:39 +0000 (22:02 +0200)]
Move and fix the obsolescence note.

15 years agoDefine SA_RESTART also for mingw.
Bruno Haible [Sun, 22 Jun 2008 19:54:08 +0000 (21:54 +0200)]
Define SA_RESTART also for mingw.

15 years agoUpdate a comment.
Bruno Haible [Sun, 22 Jun 2008 19:49:39 +0000 (21:49 +0200)]
Update a comment.

15 years agoRequire gl_SIGNAL_H_DEFAULTS.
Bruno Haible [Sun, 22 Jun 2008 19:47:14 +0000 (21:47 +0200)]
Require gl_SIGNAL_H_DEFAULTS.

15 years agoRequire AC_C_INLINE.
Bruno Haible [Sun, 22 Jun 2008 19:43:15 +0000 (21:43 +0200)]
Require AC_C_INLINE.

15 years agoSimplify code.
Bruno Haible [Sun, 22 Jun 2008 19:34:47 +0000 (21:34 +0200)]
Simplify code.

15 years agoUpdate a comment.
Bruno Haible [Sun, 22 Jun 2008 19:07:54 +0000 (21:07 +0200)]
Update a comment.

15 years agoUse sigaction module rather than signal().
Eric Blake [Sat, 21 Jun 2008 13:08:49 +0000 (07:08 -0600)]
Use sigaction module rather than signal().

* modules/c-stack (Depends-on): Add sigaction.
* modules/fatal-signal (Depends-on): Likewise.
* modules/nanosleep (Depends-on): Likewise.
* modules/sigprocmask (Files): Add sig-handler.h.
* modules/sigaction (Files): Likewise.
* lib/sig-handler.h (get_handler): New file, suggested by Paul
Eggert.
* lib/c-stack.c (SIGACTION_WORKS): Simplify conditions.
(c_stack_action) [!SIGACTION_WORKS]: Use sigaction, not signal.
* lib/fatal-signal.c (uninstall_handlers, install_handlers)
(init_fatal_signals): Likewise.
* lib/nanosleep.c (rpl_nanosleep): Likewise.
(siginterrupt): Delete fallback.
* lib/sigprocmask.c (handler_t): Delete.
(old_handlers): Use sa_handler_t instead.
* m4/nanosleep.m4 (gl_PREREQ_NANOSLEEP): Drop check for
siginterrupt.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoNew module sigaction, for mingw.
Eric Blake [Sat, 21 Jun 2008 20:32:55 +0000 (14:32 -0600)]
New module sigaction, for mingw.

* modules/sigaction: New module...
* modules/sigaction-tests: ...and its test.
* m4/sigaction.m4: New file.
* lib/sigaction.c: Likewise.
* tests/test-sigaction.c: Likewise.
* m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Add sigaction variables.
* modules/signal (Makefile.am): Likewise.
* lib/signal.in.h (!@HAVE_SIGACTION@): Define replacements when
needed.
* doc/posix-headers/signal.texi (signal.h): Mention provided
types.
* doc/posix-functions/siginterrupt.texi (siginterrupt): Mention
that sigaction is preferable.
* doc/posix-functions/sigaction.texi (sigaction): Mention new
module.
* MODULES.html.sh (Support for systems lacking POSIX:2001): Add
sigaction.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoImprove robustness of sigprocmask by overriding signal.
Eric Blake [Sat, 21 Jun 2008 13:06:28 +0000 (07:06 -0600)]
Improve robustness of sigprocmask by overriding signal.

* lib/signal.in.h (rpl_signal): Override signal when sigprocmask
is in use.
* lib/sigprocmask.c (blocked_handler): Reinstall block handler.
(SIGKILL, SIGSTOP): Provide fallbacks.
(rpl_signal): Implement.
(old_handlers, blocked_set): Mark volatile, since sigprocmask and
signal can be called inside handlers.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoFix nanosleep module on mingw.
Eric Blake [Sat, 21 Jun 2008 19:04:16 +0000 (13:04 -0600)]
Fix nanosleep module on mingw.

* modules/nanosleep (Depends-on): Add sys_select.
* lib/nanosleep.c (HAVE_SYS_SELECT_H): Rely on gnulib module.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoFix licensing of sigprocmask.
Eric Blake [Sat, 21 Jun 2008 18:57:35 +0000 (12:57 -0600)]
Fix licensing of sigprocmask.

* modules/raise (License): Relicense as LGPL.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoAvoid question marks in proper_name_utf8 result.
Bruno Haible [Sat, 21 Jun 2008 15:50:05 +0000 (17:50 +0200)]
Avoid question marks in proper_name_utf8 result.

15 years agoFix CVS-isms.
Bruno Haible [Thu, 19 Jun 2008 11:51:54 +0000 (13:51 +0200)]
Fix CVS-isms.

15 years agoUpdate dependencies.
Bruno Haible [Thu, 19 Jun 2008 11:47:14 +0000 (13:47 +0200)]
Update dependencies.

15 years agoFix VPATH 'make dist' with GNU make and non-VCS tarball.
Eric Blake [Thu, 19 Jun 2008 04:33:37 +0000 (22:33 -0600)]
Fix VPATH 'make dist' with GNU make and non-VCS tarball.

* top/GNUmakefile (_curr-ver): Don't use $(srcdir) unnecessarily.
Reported by Stepan Kasal.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoAdd a comment.
Bruno Haible [Thu, 19 Jun 2008 01:34:29 +0000 (03:34 +0200)]
Add a comment.

15 years agoWork around cygwin 1.5.25 strsignal bug.
Eric Blake [Wed, 18 Jun 2008 16:50:06 +0000 (10:50 -0600)]
Work around cygwin 1.5.25 strsignal bug.

* tests/test-strsignal.c: Allow for const char *.
* doc/glibc-functions/strsignal.texi (strsignal): Document the bug.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoAdd ChangeLog entry for last commit.
Simon Josefsson [Wed, 18 Jun 2008 14:48:01 +0000 (16:48 +0200)]
Add ChangeLog entry for last commit.

15 years agoUpdate URL to article and add author/date information.
Simon Josefsson [Wed, 18 Jun 2008 14:46:55 +0000 (16:46 +0200)]
Update URL to article and add author/date information.

15 years agoNew macro gl_DISABLE_THREADS.
Bruno Haible [Wed, 18 Jun 2008 00:31:53 +0000 (02:31 +0200)]
New macro gl_DISABLE_THREADS.

15 years agoAvoid unused value warnings.
Bruno Haible [Wed, 18 Jun 2008 00:06:26 +0000 (02:06 +0200)]
Avoid unused value warnings.

15 years agoRelicense under LGPLv2+ license.
Bruno Haible [Tue, 17 Jun 2008 23:52:21 +0000 (01:52 +0200)]
Relicense under LGPLv2+ license.

15 years agoSimplify c-stack prerequisites.
Eric Blake [Tue, 17 Jun 2008 17:07:45 +0000 (11:07 -0600)]
Simplify c-stack prerequisites.

* lib/c-stack.c (includes): Remove unused <sys/resource.h>.
* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Posix 200x
no longer requires <ucontext.h> to exist.  Optimize setrlimit
check.
(gl_PREREQ_C_STACK): Remove check for unused getcontext and
<sys/resource.h>.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoMove c-stack test into testsuite.
Eric Blake [Tue, 17 Jun 2008 14:43:38 +0000 (08:43 -0600)]
Move c-stack test into testsuite.

* modules/c-stack-tests: New file.
* lib/c-stack.c [DEBUG]: Move test program...
* tests/test-c-stack.c: ...into this new file.  Skip rather than
fail test if sigaltstack is lacking.
* tests/test-c-stack.sh: New driver file.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoRepair executable bit, again.
Eric Blake [Tue, 17 Jun 2008 02:54:38 +0000 (20:54 -0600)]
Repair executable bit, again.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoNormalize whitespace.
Bruno Haible [Mon, 16 Jun 2008 23:27:14 +0000 (01:27 +0200)]
Normalize whitespace.

15 years agoUse raise module consistently.
Eric Blake [Mon, 16 Jun 2008 22:45:09 +0000 (16:45 -0600)]
Use raise module consistently.

* modules/fatal-signal (Depends-on): Add raise.
* modules/sigprocmask (Depends-on): Likewise.
* lib/fatal-signal.c (fatal_signal_handler): Rely on raise.
* lib/sigprocmask.c (sigprocmask): Likewise.
* m4/fatal-signal.m4 (gl_FATAL_SIGNAL): Likewise.
* m4/signalblocking.m4 (gl_PREREQ_SIGPROCMASK): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoFix compliance bug in sigpending.
Eric Blake [Mon, 16 Jun 2008 20:17:11 +0000 (14:17 -0600)]
Fix compliance bug in sigpending.

* lib/sigprocmask.c (sigpending): Return pending array via
parameter, not return value.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoautoupdate
Karl Berry [Mon, 16 Jun 2008 13:04:29 +0000 (06:04 -0700)]
autoupdate

15 years agoImprove obstack-printf test code.
Eric Blake [Sat, 14 Jun 2008 13:36:03 +0000 (07:36 -0600)]
Improve obstack-printf test code.

* tests/test-obstack-printf.c (test_function): Fix comment, and
simplify usage of obstack_* in macros.  Add a test for coverage.
Reported by Bruno Haible.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoFix various problems in 'obstack-printf' module.
Bruno Haible [Sat, 14 Jun 2008 13:06:19 +0000 (15:06 +0200)]
Fix various problems in 'obstack-printf' module.

15 years agoAdd obstack-printf and obstack-printf-posix modules.
Eric Blake [Fri, 13 Jun 2008 12:40:53 +0000 (06:40 -0600)]
Add obstack-printf and obstack-printf-posix modules.

* modules/obstack-printf: New file.
* modules/obstack-printf-posix: Likewise.
* MODULES.html.sh (Misc): Mention them.
* doc/glibc-functions/obstack_printf.texi (obstack_printf):
Likewise.
* doc/glibc-functions/obstack_vprintf.texi (obstack_vprintf):
Likewise.
* modules/stdio (Makefile.am): Accomodate new modules.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
* lib/stdio.in.h (rpl_obstack_printf, rpl_obstack_vprintf):
Declare.
* lib/obstack_printf.c (obstack_printf, obstack_vprintf): New
functions.
* m4/obstack-printf.m4 (gl_OBSTACK_PRINTF)
(gl_REPLACE_OBSTACK_PRINTF): New macros
* m4/obstack-printf-posix.m4 (gl_OBSTACK_PRINTF_POSIX): Likewise.
* tests/test-obstack-printf.c: New file.
* modules/obstack-printf-tests: Likewise.
* modules/obstack-printf-posix-tests: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoautoupdate
Karl Berry [Fri, 13 Jun 2008 12:59:04 +0000 (05:59 -0700)]
autoupdate

15 years agoTypo in comment.
Bruno Haible [Thu, 12 Jun 2008 13:01:07 +0000 (15:01 +0200)]
Typo in comment.

15 years agoAdd a comment.
Bruno Haible [Thu, 12 Jun 2008 11:47:37 +0000 (13:47 +0200)]
Add a comment.

15 years agoWork around open() bug on HP-UX 11 and Solaris 9.
Bruno Haible [Thu, 12 Jun 2008 00:17:36 +0000 (02:17 +0200)]
Work around open() bug on HP-UX 11 and Solaris 9.

15 years agoAvoid a test failure when the test wants to skip itself.
Bruno Haible [Wed, 11 Jun 2008 23:12:11 +0000 (01:12 +0200)]
Avoid a test failure when the test wants to skip itself.

15 years agoautoupdate
Karl Berry [Wed, 11 Jun 2008 12:23:13 +0000 (05:23 -0700)]
autoupdate

15 years agoInclude gettext.h only in those files that need it.
Bruno Haible [Wed, 11 Jun 2008 00:33:46 +0000 (02:33 +0200)]
Include gettext.h only in those files that need it.

15 years agoAdd termsigp argument to execute() and wait_process().
Bruno Haible [Tue, 10 Jun 2008 15:38:39 +0000 (17:38 +0200)]
Add termsigp argument to execute() and wait_process().

15 years agoFix copy&pasted comment.
Bruno Haible [Tue, 10 Jun 2008 12:33:21 +0000 (14:33 +0200)]
Fix copy&pasted comment.

15 years agoAdd missing include.
Eric Blake [Tue, 10 Jun 2008 12:25:20 +0000 (06:25 -0600)]
Add missing include.

* tests/test-strstr.c (includes): Add <signal.h>.
* tests/test-strcasestr.c (includes): Likewise.
* tests/test-memmem.c (includes): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoAdd an assertion.
Bruno Haible [Tue, 10 Jun 2008 11:57:21 +0000 (13:57 +0200)]
Add an assertion.

15 years agoTry to fix waitid() based code.
Bruno Haible [Tue, 10 Jun 2008 11:55:34 +0000 (13:55 +0200)]
Try to fix waitid() based code.

15 years agoWork around environments that (stupidly) ignore SIGALRM.
Bruno Haible [Tue, 10 Jun 2008 10:13:43 +0000 (12:13 +0200)]
Work around environments that (stupidly) ignore SIGALRM.

15 years agoWork around the Solaris 10 ACE ACLs ABI change.
Bruno Haible [Tue, 10 Jun 2008 00:40:28 +0000 (02:40 +0200)]
Work around the Solaris 10 ACE ACLs ABI change.

15 years agoIgnore some more editor backup files.
Eric Blake [Mon, 9 Jun 2008 22:41:11 +0000 (16:41 -0600)]
Ignore some more editor backup files.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoWork around environments that (stupidly) ignore SIGALRM.
Eric Blake [Mon, 9 Jun 2008 22:21:34 +0000 (16:21 -0600)]
Work around environments that (stupidly) ignore SIGALRM.

* m4/strstr.m4 (gl_FUNC_STRSTR): Reset SIGALRM to default handling
before using alarm().
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise.
* m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise.
Reported by Ian Beckwith <ianb@erislabs.net>.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoProduce autobuild blurb earlier in log.
Eric Blake [Mon, 9 Jun 2008 14:14:45 +0000 (08:14 -0600)]
Produce autobuild blurb earlier in log.

* modules/autobuild (configure.ac-early): Move AB_INIT here.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoadd ChangeLog entry: add more guards around definition of ACE_-related code
Jim Meyering [Mon, 9 Jun 2008 12:11:34 +0000 (14:11 +0200)]
add ChangeLog entry: add more guards around definition of ACE_-related code

15 years agoutimens.c: correct kernel bug work-around
Jim Meyering [Fri, 6 Jun 2008 16:20:14 +0000 (18:20 +0200)]
utimens.c: correct kernel bug work-around

Ondřej Vašík found that the invalid return value of 280 indicates
failure, not success, and the kernel bug we're trying to work
around affects not just the utimensat call, but also the fallback
futimens call.
* lib/utimens.c (gl_futimens) [HAVE_UTIMENSAT]: Simulate failure,
not success.
[HAVE_FUTIMENS]: Use the same work-around, here.

15 years agoadd more guards around definition of ACE_-related code
Jim Meyering [Mon, 9 Jun 2008 09:28:55 +0000 (11:28 +0200)]
add more guards around definition of ACE_-related code

* lib/file-has-acl.c (acl_ace_nontrivial): Define only if
ALLOW and ACE_OWNER are also defined.

15 years agoAdd me as co-author.
Bruno Haible [Sun, 8 Jun 2008 21:55:37 +0000 (23:55 +0200)]
Add me as co-author.

15 years agoAdd support for AIX ACLs.
Bruno Haible [Sun, 8 Jun 2008 18:33:08 +0000 (20:33 +0200)]
Add support for AIX ACLs.

15 years agoAdd support for HP-UX ACLs.
Bruno Haible [Sun, 8 Jun 2008 17:08:22 +0000 (19:08 +0200)]
Add support for HP-UX ACLs.

15 years agoAdd support for Cygwin ACLs.
Bruno Haible [Sun, 8 Jun 2008 14:52:23 +0000 (16:52 +0200)]
Add support for Cygwin ACLs.

15 years agoFix bug with setuid modes in Solaris 10+ code.
Bruno Haible [Sun, 8 Jun 2008 14:33:02 +0000 (16:33 +0200)]
Fix bug with setuid modes in Solaris 10+ code.

15 years agoAdd support for Solaris 7..10 ACLs.
Bruno Haible [Sun, 8 Jun 2008 14:04:08 +0000 (16:04 +0200)]
Add support for Solaris 7..10 ACLs.

15 years agoMore references.
Bruno Haible [Sun, 8 Jun 2008 13:55:30 +0000 (15:55 +0200)]
More references.

15 years agoNew function acl_extended_nontrivial (MacOS X only).
Bruno Haible [Sun, 8 Jun 2008 11:58:26 +0000 (13:58 +0200)]
New function acl_extended_nontrivial (MacOS X only).

15 years agoTrivial code simplifications.
Bruno Haible [Sun, 8 Jun 2008 11:29:35 +0000 (13:29 +0200)]
Trivial code simplifications.

15 years agoComments.
Bruno Haible [Sun, 8 Jun 2008 11:19:49 +0000 (13:19 +0200)]
Comments.

15 years ago* modules/acl (Maintainer): Add Bruno Haible.
Jim Meyering [Sun, 8 Jun 2008 07:38:26 +0000 (09:38 +0200)]
* modules/acl (Maintainer): Add Bruno Haible.

15 years agoDon't test the ACL_TYPE_DEFAULT ACL on OSF/1.
Bruno Haible [Sun, 8 Jun 2008 03:08:56 +0000 (05:08 +0200)]
Don't test the ACL_TYPE_DEFAULT ACL on OSF/1.

15 years agoAdd support for MacOS X ACLs.
Bruno Haible [Sun, 8 Jun 2008 03:06:19 +0000 (05:06 +0200)]
Add support for MacOS X ACLs.

15 years agoFix memory leak introduced on 2008-05-22.
Bruno Haible [Sun, 8 Jun 2008 02:51:21 +0000 (04:51 +0200)]
Fix memory leak introduced on 2008-05-22.

15 years agoAvoid needing to know the textual representation of an ACL when possible.
Bruno Haible [Sun, 8 Jun 2008 02:39:51 +0000 (04:39 +0200)]
Avoid needing to know the textual representation of an ACL when possible.

15 years agoTrivial code simplifications.
Bruno Haible [Sun, 8 Jun 2008 02:34:52 +0000 (04:34 +0200)]
Trivial code simplifications.

15 years agoTrivial stylistic improvements.
Bruno Haible [Sat, 7 Jun 2008 18:11:23 +0000 (20:11 +0200)]
Trivial stylistic improvements.

15 years agoFix doc about _setjmp.
Bruno Haible [Sat, 7 Jun 2008 11:49:10 +0000 (13:49 +0200)]
Fix doc about _setjmp.