diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | doc/CHANGES | 6 | ||||
-rw-r--r-- | getfattr/getfattr.c | 2 | ||||
-rw-r--r-- | setfattr/setfattr.c | 2 | ||||
-rw-r--r-- | test/run | 1 |
6 files changed, 12 insertions, 5 deletions
@@ -3,5 +3,5 @@ # PKG_MAJOR=2 PKG_MINOR=0 -PKG_REVISION=10 +PKG_REVISION=11 PKG_BUILD=0 diff --git a/debian/changelog b/debian/changelog index b7ea46f..efc21ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -attr (2.0.10-1) unstable; urgency=low +attr (2.0.11-1) unstable; urgency=low * New upstream release - -- Nathan Scott <nathans@debian.org> Wed, 28 Aug 2002 13:39:50 +1000 + -- Nathan Scott <nathans@debian.org> Thu, 5 Sep 2002 09:12:02 +1000 attr (2.0.9-1) unstable; urgency=low diff --git a/doc/CHANGES b/doc/CHANGES index cf361f1..9f7f0d1 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,3 +1,9 @@ +attr-2.0.11 (04 September 2002) + - Make the test/run script return a proper status code. + - Fix up the error message returned for ENODATA rather + than ENOATTR, so if ENOATR is assigned a separate number + we don't mess with ENOATTR's text message. + attr-2.0.10 (28 August 2002) - Add system call numbers for the m68k architecture - Add missing "enabling" #define for the Alpha architecture diff --git a/getfattr/getfattr.c b/getfattr/getfattr.c index 2dcb1c3..6dea58b 100644 --- a/getfattr/getfattr.c +++ b/getfattr/getfattr.c @@ -108,7 +108,7 @@ int high_water_alloc(void **buf, size_t *bufsize, size_t newsize) const char *strerror_ea(int err) { - if (err == ENOATTR) + if (err == ENODATA) return _("No such attribute"); return strerror(err); } diff --git a/setfattr/setfattr.c b/setfattr/setfattr.c index 94cd681..a933cb8 100644 --- a/setfattr/setfattr.c +++ b/setfattr/setfattr.c @@ -66,7 +66,7 @@ int base64_digit(char c); const char *strerror_ea(int err) { - if (err == ENOATTR) + if (err == ENODATA) return _("No such attribute"); return strerror(err); } @@ -76,6 +76,7 @@ if (isatty(fileno(STDOUT))) { } } print $status, "\n"; +exit $failed ? 1 : 0; sub exec_test($$) { my ($prog, $in) = @_; |