1Revision history for Perl extension File::ExtAttr. 2 31.09 2009-03-07 4 5 - (richdawe) Add note to README about needing to install 6 package that provides the headers <attr/attributes.h> 7 and <attr/xattr.h>. 8 9 - (richdawe) Fix RT #31970: "OS X: setfattr fails to set empty value". 10 According to the CPAN Testers results, this works 11 on Mac OS X 10.5. 12 13 Skip the "empty" tests on Mac OS X 10.4 and earlier. 14 Document issue. 15 16 - (richdawe) Fix #34394: "Test suite should skip on filesystems 17 with no xattr support when run non-interactively" 18 on Linux. 19 20 When run interactively, it will suggest what you need 21 to do, to get the test suite to pass. 22 23 - (richdawe) Fix RT #37889: "Crash when operating on a closed file handle 24 on Solaris". This was due to using an uninitialised 25 directory handle. 26 271.08 2008-08-19 28 29 - (richdawe) Add a typemap for usage of "const char *" in the XS. 30 This may help fix the build with Perl 5.6.x or earlier. 31 32 - (richdawe) Remove NetBSD 3.x from list of supported OSes, 33 since File::ExtAttr's test suite will never pass on it. 34 35 - (richdawe) Update Makefile.PL to fail more gracefully when the build 36 pre-requisites are not present. On Linux use 37 Devel::CheckLib to check for libattr. Also exit 38 more gracefully if libattr's headers are not present. 39 40 - (richdawe) OpenBSD isn't supported, so bail gracefully 41 in Makefile.PL on that platform. 42 43 - (richdawe) Make sure that the errno value from any failed 44 system calls is propagated into $! (#32679, #32680). 45 46 - (richdawe) File::ExtAttr no longer generate noisy warnings 47 when an xattr system call fails. All error reporting 48 is now via the function return values and $!. 49 50 - (richdawe) Operations with non-default or non-"user" namespaces 51 will now fail with EOPNOTSUPP instead of ENOATTR 52 on Mac OS X, *BSD and Solaris. This behaviour 53 matches the behaviour on Linux. 54 55 - (richdawe) Added a note to the documentation about Solaris 56 extensible system attributes, which are different 57 to extended file attributes. 58 591.07 2007-12-15 60 61 - (richdawe) Bugfix: When the attribute value was empty, getfattr() 62 returned garbage. Fixed. (Reported by Joe Stewart -- 63 thanks!) 64 65 - (richdawe) Change my contact details. 66 671.06 2007-11-04 68 69 - (richdawe) Bugfix: Builds and works again on Mac OS X 10.4 (Tiger). 70 71 - (richdawe) Fix typo in t/33nslong.t, which caused it to fail 72 on Mac OS X. 73 741.05 2007-08-13 75 76 - (richdawe) Fix META.yml so that it's valid. Add a test using 77 Test::YAML::Meta to the test suite, to validate META.yml. 78 79 - (richdawe) Fix RT #27864: "Tests fail with nl_NL locale set". 80 81 - (richdawe) Add test cases for setting attributes on directories, 82 by filename. 83 84 - (richdawe) Bugfix: Fix a memory leak in getfattr(). The memory was 85 leaked when the function failed, e.g.: if it was called 86 with the name of a non-existent attribute. 87 881.04 2007-05-06 89 90 - (richdawe) OpenBSD does not support extended attributes -- 91 fail the build on OpenBSD; documentation updates. 92 93 - (richdawe) Really fix build for NetBSD 3.x. Update the test suite 94 to skip tests on NetBSD 3.1 or earlier, 95 since NetBSD 4.0 is the first version to actually have 96 filesystem support for extended attributes. 97 981.03 2007-04-27 99 100 - (richdawe) Fix RT #26542: "Tests fail with taint-mode 101 and ATTR_TEST_DIR set"; also document ATTR_TEST_DIR. 102 103 - (richdawe) Build fix for NetBSD, OpenBSD: Use strerror() 104 if strerror_r() is not available. 105 1061.02 2007-04-06 107 108 - (richdawe) Fix listfattr() so it works on Linux. Thanks to rafl 109 and Jonathan Rockway for the patch! 110 - (richdawe) Add test cases for listfattr(). 111 - (richdawe) Fix warning in listfattr(), listfattrns() 112 when operating on a file handle. 113 1141.01 2006-10-02 115 116 - (richdawe) Fix brown paper bag bugs in MANIFEST that broke the build. 117 1181.00 2006-10-02 119 120 - (richdawe) Add support for Solaris 10. 121 122 - (richdawe) Add support for File::ExtAttr::Tie on *BSD. 123 124 - (richdawe) API change: Namespace and the create/replace flag 125 are now passed via a hash. This breaks API compatibility 126 for both File::ExtAttr and File::ExtAttr::Tie. 127 128 One API change remains: using exceptions rather 129 than warnings to report errors. 130 131 - (richdawe) Fix RT #21214: "ISO C90 forbids mixed declarations 132 and code" 133 134 NOTE: This relase has not been built or tested on Mac OS X. 135 1360.05 2006-05-27 137 - (richdawe) Add support for FreeBSD 6.0. This may also work 138 with NetBSD >= 4.0 and OpenBSD > 3.8. 139 - (richdawe) All *fattr functions now take some optional flags. 140 - (richdawe) Add File::ExtAttr::Tie for tied access to extattrs; 141 thanks to David Leadbeater! 142 1430.04 2006-01-20 144 - (richdawe) Add Mac OS X support; thanks to Jonathan Rockway! 145 - (richdawe) Add a check to Makefile.PL for libattr's headers on Linux. 146 - (richdawe) Requirement on Perl 5.8.5 is spurious; remove it. 147 1480.03 2006-01-01 149 - (richdawe) Rename to File::ExtAttr from Linux::xattr 150 - (richdawe) Bugfix: XATTR_* were not found correctly in XS. 151 - (richdawe) Bugfix: Off-by-one buffer overflow in XS for getfattr(). 152 - (richdawe) Split the tests up, to make them more granular. 153 - (richdawe) Final parameter of setfattr() is now optional. 154 - (richdawe) Support specifying file using an IO::Handle. 155 1560.02 2005-11-15 157 - (kg) changing to use system functions instead of compatability functions 158 - (kg) fixing strlen stuff in get and set 159 - (kg) exporting constants 160 1610.01 Wed Nov 9 08:57:42 2005 162 - original version; created by h2xs 1.23 with options 163 -O -n Linux::xattr Linux-xattr/mylib/xattrlib.h 164