From 49efd7a74fcfa9197584bcaf9a3b25d3f6767332 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Wed, 4 Sep 2002 23:19:54 +0000 Subject: minor updates from Andreas. --- VERSION | 2 +- debian/changelog | 4 ++-- doc/CHANGES | 6 ++++++ getfattr/getfattr.c | 2 +- setfattr/setfattr.c | 2 +- test/run | 1 + 6 files changed, 12 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index 2ef8775..aec69ec 100644 --- a/VERSION +++ b/VERSION @@ -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 Wed, 28 Aug 2002 13:39:50 +1000 + -- Nathan Scott 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); } diff --git a/test/run b/test/run index e9bf5d0..1b7287a 100644 --- a/test/run +++ b/test/run @@ -76,6 +76,7 @@ if (isatty(fileno(STDOUT))) { } } print $status, "\n"; +exit $failed ? 1 : 0; sub exec_test($$) { my ($prog, $in) = @_; -- cgit v1.2.3