[csw-devel] SF.net SVN: gar:[15510] csw/mgar/pkg/logrotate/trunk

igalic at users.sourceforge.net igalic at users.sourceforge.net
Sun Sep 4 02:02:27 CEST 2011


Revision: 15510
          http://gar.svn.sourceforge.net/gar/?rev=15510&view=rev
Author:   igalic
Date:     2011-09-04 00:02:27 +0000 (Sun, 04 Sep 2011)
Log Message:
-----------
restore mbrtowc patch from older revision.

Modified Paths:
--------------
    csw/mgar/pkg/logrotate/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/logrotate/trunk/files/006-mbrtowc_empty.patch

Modified: csw/mgar/pkg/logrotate/trunk/checksums
===================================================================
--- csw/mgar/pkg/logrotate/trunk/checksums	2011-09-03 23:03:42 UTC (rev 15509)
+++ csw/mgar/pkg/logrotate/trunk/checksums	2011-09-04 00:02:27 UTC (rev 15510)
@@ -1,3 +1,5 @@
 bd2e20d8dc644291b08f9215397d28a5  logrotate-3.8.1.tar.gz
 02f36862d4e190a7eb920bd816ca4927  003-test.patch
 d6232a06412a2302a582abdc51607518  005-gzippath.patch
+27ac9259ade93a47f71779d396c6a096  006-mbrtowc_empty.patch
+6089a6cd64ea15350814e2d343bb350e  006-mbrtowc_empty.patch

Copied: csw/mgar/pkg/logrotate/trunk/files/006-mbrtowc_empty.patch (from rev 15181, csw/mgar/pkg/logrotate/trunk/files/006-mbrtowc_empty.patch)
===================================================================
--- csw/mgar/pkg/logrotate/trunk/files/006-mbrtowc_empty.patch	                        (rev 0)
+++ csw/mgar/pkg/logrotate/trunk/files/006-mbrtowc_empty.patch	2011-09-04 00:02:27 UTC (rev 15510)
@@ -0,0 +1,11 @@
+--- logrotate-3.8.1-sol10fix/config.c	2011-09-04 01:56:47.797271345 +0200
++++ logrotate-3.8.1/config.c	2011-08-31 14:39:04.000000000 +0200
+@@ -190,7 +190,7 @@
+ 
+ 	chptr = start;
+ 
+-	while( (len = mbrtowc(&pwc, chptr, strlen(chptr), NULL)) != 0  && strlen(chptr) != 0) {
++	while( (len = mbrtowc(&pwc, chptr, strlen(chptr), NULL)) != 0 ) {
+ 		if( len == (size_t)(-1) || len == (size_t)(-2) || !iswprint(pwc) || iswblank(pwc) ) {
+ 		    message(MESS_ERROR, "%s:%d bad %s path %s\n",
+ 			    configFile, lineNum, key, start);

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list