RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Per Øyvind Karlsen Root: /v/rpm/cvs Email: pkarl...@rpm5.org Module: rpm Date: 05-Apr-2011 21:31:37 Branch: rpm-5_3 Handle: 2011040519313601 Modified files: (Branch: rpm-5_3) rpm CHANGES build.c Log: accept unicode characters. Summary: Revision Changes Path 1.3296.2.199+1 -0 rpm/CHANGES 2.124.2.1 +1 -1 rpm/build.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/CHANGES ============================================================================ $ cvs diff -u -r1.3296.2.198 -r1.3296.2.199 CHANGES --- rpm/CHANGES 2 Apr 2011 03:20:14 -0000 1.3296.2.198 +++ rpm/CHANGES 5 Apr 2011 19:31:36 -0000 1.3296.2.199 @@ -1,4 +1,5 @@ 5.3.10 -> 5.3.11 + - proyvind: rpmbuild: accept unicode characters. - mdawkins: tagged 5.3.10 release in configure.ac 5.3.9 -> 5.3.10 @@ . patch -p0 <<'@@ .' Index: rpm/build.c ============================================================================ $ cvs diff -u -r2.124 -r2.124.2.1 build.c --- rpm/build.c 10 Feb 2010 20:24:49 -0000 2.124 +++ rpm/build.c 5 Apr 2011 19:31:37 -0000 2.124.2.1 @@ -88,7 +88,7 @@ /*@switchbreak@*/ break; /*@-boundsread@*/ default: - if (checking && !(isprint(*s) || isspace(*s))) return 0; + if (checking && !(isprint(*s) || isspace(*s)) && *(unsigned char *)s < 32) return 0; /*@switchbreak@*/ break; /*@=boundsread@*/ } @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org