summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-01-31 14:03:59 +0000
committerNathan Scott <nathans@sgi.com>2005-01-31 14:03:59 +0000
commit007b93aa4dd8d212505c6f6622a7592fa378f3d8 (patch)
treef0d2ac7e776995aca2bdfe05a5a6fc763e2417df
parent3241dfd8b99052d15f27bf7188c9b83586fabc8c (diff)
downloadattr-007b93aa4dd8d212505c6f6622a7592fa378f3d8.tar.gz
Replace use of _POSIX_PATH_MAX with the larger PATH_MAX - thanks to Andree Leidenfrost.
Merge of master-melb:xfs-cmds:21322a by kenmcd.
-rw-r--r--VERSION2
-rw-r--r--debian/changelog7
-rw-r--r--doc/CHANGES4
-rw-r--r--setfattr/setfattr.c2
4 files changed, 13 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index c397e9c..9ae3797 100644
--- a/VERSION
+++ b/VERSION
@@ -3,5 +3,5 @@
#
PKG_MAJOR=2
PKG_MINOR=4
-PKG_REVISION=20
+PKG_REVISION=21
PKG_BUILD=1
diff --git a/debian/changelog b/debian/changelog
index ece32ad..62d3b9d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+attr (2.4.21-1) unstable; urgency=low
+
+ * New upstream release
+ * Replace use of _POSIX_PATH_MAX with PATH_MAX (see bug 292819)
+
+ -- Nathan Scott <nathans@debian.org> Mon, 31 Jan 2005 20:13:02 +1100
+
attr (2.4.20-1) unstable; urgency=low
* New upstream release
diff --git a/doc/CHANGES b/doc/CHANGES
index 4507117..d8fd08d 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,3 +1,7 @@
+attr-2.4.21 (31 January 2005)
+ - Replace use of _POSIX_PATH_MAX with the larger PATH_MAX
+ (thanks to Andree Leidenfrost).
+
attr-2.4.20 (30 November 2004)
- Licensing fixes and clarifications.
- Update outdated email addresses.
diff --git a/setfattr/setfattr.c b/setfattr/setfattr.c
index 14f3c81..6cf8700 100644
--- a/setfattr/setfattr.c
+++ b/setfattr/setfattr.c
@@ -180,7 +180,7 @@ void help(void)
char *next_line(FILE *file)
{
- static char line[_POSIX_PATH_MAX+32], *c;
+ static char line[PATH_MAX+32], *c;
if (!fgets(line, sizeof(line), file))
return NULL;