rpms/acl/F-7 acl-2.2.39-path_max.patch,1.1,1.2 acl.spec,1.32,1.33
Jiří Moskovčák (jmoskovc)
fedora-extras-commits at redhat.com
Thu Sep 20 14:48:12 UTC 2007
Author: jmoskovc
Update of /cvs/extras/rpms/acl/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13222
Modified Files:
acl-2.2.39-path_max.patch acl.spec
Log Message:
Rewriten path_max patch to support long UTF8 names
acl-2.2.39-path_max.patch:
Index: acl-2.2.39-path_max.patch
===================================================================
RCS file: /cvs/extras/rpms/acl/F-7/acl-2.2.39-path_max.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- acl-2.2.39-path_max.patch 5 Jul 2006 19:32:12 -0000 1.1
+++ acl-2.2.39-path_max.patch 20 Sep 2007 14:48:10 -0000 1.2
@@ -14,11 +14,11 @@
int c;
- char linebuf[1024];
+ /*
-+ Max PATH_MAX bytes even for UTF-8 path names and additional 6
-+ bytes for "#file:". Not a good solution but for now it is the
++ Max PATH_MAX bytes even for UTF-8 path names and additional 9
++ bytes for "# file: ".Not a good solution but for now it is the
+ best I can do without too much impact on the code. [tw]
+ */
-+ char linebuf[PATH_MAX+6];
++ char linebuf[(4*PATH_MAX)+9];
char *cp;
char *p;
int comments_read = 0;
Index: acl.spec
===================================================================
RCS file: /cvs/extras/rpms/acl/F-7/acl.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- acl.spec 21 Mar 2007 10:36:08 -0000 1.32
+++ acl.spec 20 Sep 2007 14:48:10 -0000 1.33
@@ -1,7 +1,7 @@
Summary: Access control list utilities
Name: acl
Version: 2.2.39
-Release: 3.1%{?dist}
+Release: 4%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libattr-devel >= 2.4.1
Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_%{version}-1.tar.gz
@@ -102,6 +102,10 @@
/%{_lib}/libacl.so.*
%changelog
+* Thu Sep 20 2007 Jiri Moskovcak <jmoskovc at redhat.com> 2.2.39-4
+- Rewriten path_max patch to support long UTF8 names
+- Resolves #287701, #183181
+
* Wed Mar 21 2007 Thomas Woerner <twoerner at redhat.com> 2.2.39-3.1
- new improved walk patch with fixed getfacl exit code (rhbz#232884)
More information about the fedora-extras-commits
mailing list