From: Richard D. <ric...@us...> - 2007-12-15 09:28:11
|
Update of /cvsroot/file-extattr/File-ExtAttr In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv25741 Modified Files: Changes ExtAttr.xs MANIFEST META.yml README Log Message: Bugfix: Don't return garbage for empty attributes for getfattr(); bump version to 1.07 Index: README =================================================================== RCS file: /cvsroot/file-extattr/File-ExtAttr/README,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** README 4 Nov 2007 09:08:38 -0000 1.13 --- README 15 Dec 2007 09:28:12 -0000 1.14 *************** *** 1,3 **** ! File-ExtAttr version 1.06 ========================= --- 1,3 ---- ! File-ExtAttr version 1.07 ========================= Index: META.yml =================================================================== RCS file: /cvsroot/file-extattr/File-ExtAttr/META.yml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** META.yml 4 Nov 2007 09:08:38 -0000 1.8 --- META.yml 15 Dec 2007 09:28:12 -0000 1.9 *************** *** 1,5 **** # http://module-build.sourceforge.net/META-spec.html name: File-ExtAttr ! version: 1.06 version_from: lib/File/ExtAttr.pm installdirs: site --- 1,5 ---- # http://module-build.sourceforge.net/META-spec.html name: File-ExtAttr ! version: 1.07 version_from: lib/File/ExtAttr.pm installdirs: site Index: Changes =================================================================== RCS file: /cvsroot/file-extattr/File-ExtAttr/Changes,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** Changes 30 Nov 2007 20:16:49 -0000 1.34 --- Changes 15 Dec 2007 09:28:12 -0000 1.35 *************** *** 1,5 **** Revision history for Perl extension File::ExtAttr. ! 1.07 200?-??-?? - (richdawe) Change my contact details. --- 1,9 ---- Revision history for Perl extension File::ExtAttr. ! 1.07 2007-12-15 ! ! - (richdawe) Bugfix: When the attribute value was empty, getfattr() ! returned garbage. Fixed. (Reported by Joe Stewart -- ! thanks!) - (richdawe) Change my contact details. Index: ExtAttr.xs =================================================================== RCS file: /cvsroot/file-extattr/File-ExtAttr/ExtAttr.xs,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** ExtAttr.xs 13 Aug 2007 12:02:28 -0000 1.22 --- ExtAttr.xs 15 Dec 2007 09:28:12 -0000 1.23 *************** *** 77,81 **** attrvalue = NULL; ! New(1, attrvalue, buflen, char); attrlen = portable_getxattr(path, attrname, attrvalue, buflen, flags); --- 77,81 ---- attrvalue = NULL; ! Newz(1, attrvalue, buflen, char); attrlen = portable_getxattr(path, attrname, attrvalue, buflen, flags); *************** *** 118,122 **** attrvalue = NULL; ! New(1, attrvalue, buflen, char); attrlen = portable_fgetxattr(fd, attrname, attrvalue, buflen, flags); --- 118,122 ---- attrvalue = NULL; ! Newz(1, attrvalue, buflen, char); attrlen = portable_fgetxattr(fd, attrname, attrvalue, buflen, flags); Index: MANIFEST =================================================================== RCS file: /cvsroot/file-extattr/File-ExtAttr/MANIFEST,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** MANIFEST 13 Aug 2007 12:02:28 -0000 1.18 --- MANIFEST 15 Dec 2007 09:28:12 -0000 1.19 *************** *** 28,31 **** --- 28,32 ---- t/04yaml-meta.t t/11basic.t + t/12empty.t t/13long.t t/14optional.t |