X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ChangeLog;h=97aec20e88ff540237640c26601600a4966d23df;hb=72a9261fccc4b028260431b1b4dd6246086aba52;hp=a98bf7c9bc30f3e6acccecb1a917313eb9141bda;hpb=07beaf87b0e3bfe2b33f65a9b29cca37f214429c;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index a98bf7c9b..97aec20e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,156 @@ +2008-06-10 Bruno Haible + + * tests/test-memmem.c (main): Reset SIGALRM to default handling before + using alarm(). + * tests/test-strcasestr.c (main): Likewise. + * tests/test-strstr.c (main): Likewise. + +2008-06-09 Bruno Haible + + Work around the Solaris 10 ACE ACLs ABI change. + * lib/acl-internal.h (acl_nontrivial, acl_ace_nontrivial): Don't + declare if ACL_NO_TRIVIAL is present. + (ACE_ACCESS_ALLOWED_ACE_TYPE, ACE_ACCESS_DENIED_ACE_TYPE, + NEW_ACE_OWNER, NEW_ACE_GROUP, NEW_ACE_IDENTIFIER_GROUP, ACE_EVERYONE, + NEW_ACE_READ_DATA, NEW_ACE_WRITE_DATA, NEW_ACE_EXECUTE): New macros. + * lib/file-has-acl.c (acl_nontrivial, acl_ace_nontrivial): Don't + define if ACL_NO_TRIVIAL is present. + (acl_ace_nontrivial): Detect whether the old or new ABI is in use, + and use the current ABI. + (file_has_acl): Use same #if condition as elsewhere. + * lib/set-mode-acl.c (qset_acl): Detect whether the old or new ABI is + in use, and use the current ABI. + * doc/acl-resources.txt: More doc about newer Solaris 10 versions. + Reported by Jim Meyering. + +2008-06-09 Eric Blake + + 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 . + + Produce autobuild blurb earlier in log. + * modules/autobuild (configure.ac-early): Move AB_INIT here. + +2008-06-09 Jim Meyering + and Ondřej Vašík + + 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. + +2008-06-09 Jim Meyering + + 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. + +2008-06-08 Bruno Haible + + * lib/acl-internal.h: Add me as co-author. + * lib/file-has-acl.c: Likewise. + * lib/set-mode-acl.c: Likewise. + * lib/copy-acl.c: Likewise. + +2008-06-08 Bruno Haible + + Add support for AIX ACLs. + * lib/acl-internal.h (acl_nontrivial): New declaration. + * lib/file-has-acl.c (acl_nontrivial): New function. + (file_has_acl): Add implementation using AIX 4 ACL API. + * lib/set-mode-acl.c (qset_acl): Likewise. + * lib/copy-acl.c (qcopy_acl): Likewise. + +2008-06-08 Bruno Haible + + Add support for HP-UX ACLs. + * lib/acl-internal.h (acl_nontrivial): New declaration. + * lib/file-has-acl.c (acl_nontrivial): New function. + (file_has_acl): Add implementation using HP-UX 11 ACL API. + * lib/set-mode-acl.c (qset_acl): Likewise. + * lib/copy-acl.c (qcopy_acl): Likewise. + +2008-06-08 Bruno Haible + + Add support for Cygwin ACLs. + * lib/acl-internal.h (MODE_INSIDE_ACL): New macro for Solaris-like API. + * lib/set-mode-acl.c (qset_acl) [!MODE_INSIDE_ACL]: Don't optimize away + the chmod_or_fchmod call. + * lib/copy-acl.c (qcopy_acl) [!MODE_INSIDE_ACL]: Likewise. + +2008-06-08 Bruno Haible + + Fix bug with setuid modes in Solaris 10+ code. + * lib/set-mode-acl.c (qset_acl): Call chmod_or_fchmod when acl_set + succeeded, when the mode contains some special bits. + +2008-06-08 Bruno Haible + + Add support for Solaris 7..10 ACLs. + * lib/acl-internal.h (acl_nontrivial, acl_ace_nontrivial): New + declarations. + * lib/file-has-acl.c (acl_nontrivial, acl_ace_nontrivial): New + functions. + (file_has_acl): Add implementation using Solaris 7..10 ACL API. + * lib/set-mode-acl.c (qset_acl): Likewise. + * lib/copy-acl.c (qcopy_acl): Likewise. + +2008-06-08 Bruno Haible + + * lib/acl-internal.h (acl_extended_nontrivial) [MacOS X]: New + declaration. + * lib/file-has-acl.c (acl_extended_nontrivial) [MacOS X]: New function. + (acl_access_nontrivial): Remove MacOS X case. + (file_has_acl): Use acl_extended_nontrivial. + * lib/copy-acl.c (qcopy_acl): Likewise. + +2008-06-08 Bruno Haible + + * lib/set-mode-acl.c (qset_acl): Trivial code simplifications. + +2008-06-08 Jim Meyering + + * modules/acl (Maintainer): Add Bruno Haible. + +2008-06-07 Bruno Haible + + Improve support for Tru64 ACLs. + * lib/file-has-acl.c (file_has_acl): Don't test the ACL_TYPE_DEFAULT + ACL on OSF/1. + +2008-06-07 Bruno Haible + + Add support for MacOS X ACLs. + * lib/file-has-acl.c (file_has_acl): Use ACL_TYPE_EXTENDED instead of + ACL_TYPE_ACCESS and ACL_TYPE_DEFAULT. + * lib/set-mode-acl.c (qset_acl): Likewise. + * lib/copy-acl.c (qcopy_acl): Likewise. + +2008-06-07 Bruno Haible + + Fix memory leak introduced on 2008-05-22. + * lib/set-mode-acl.c (qset_acl) [!MODE_INSIDE_ACL]: Free ACLs after + use. + +2008-06-07 Bruno Haible + + * lib/set-mode-acl.c (qset_acl): Use acl_init(), not acl_from_text(), + to construct an empty ACL. + +2008-06-07 Bruno Haible + + * lib/set-mode-acl.c (chmod_or_fchmod): Document return value + precisely. + * lib/copy-acl.c (qcopy_acl): Trivial code simplifications. + 2008-06-07 Bruno Haible * lib/copy-acl.c (qcopy_acl): Make the #if branches independent.