summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2011-08-16 22:58:08 -0700
committerBob Ippolito <bob@redivi.com>2011-08-16 22:58:08 -0700
commitaa013d22bf3db4679772ad31de56f2e992ee6b05 (patch)
tree9f4403dbfdb5513e51adc4f870b6b96fc4bd4c5c
parent25fee54faf22f0a901b1747d762ddbc0e196a3fd (diff)
downloadxattr-aa013d22bf3db4679772ad31de56f2e992ee6b05.tar.gz
Solaris bug fix from Vineeth Pillai
-rw-r--r--CHANGES.txt3
-rw-r--r--xattr/_xattr.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
new file mode 100644
index 0000000..9b39b30
--- /dev/null
+++ b/CHANGES.txt
@@ -0,0 +1,3 @@
+Version 0.6.2 released 2011-08-17
+
+* Bug fix in Solaris support
diff --git a/xattr/_xattr.c b/xattr/_xattr.c
index e162c92..630ec1d 100644
--- a/xattr/_xattr.c
+++ b/xattr/_xattr.c
@@ -251,7 +251,6 @@ static ssize_t xattr_fgetxattr(int fd, const char *name, void *value,
/* XXX should check that name does not have / characters in it */
xfd = openat(fd, name, O_RDONLY | O_XATTR);
- close(fd);
if (xfd == -1) {
return -1;
}