cvs: php4 /ext/standard/ string.c

From: Date: Thu, 01 Jun 2000 14:40:41 +0000
Subject: cvs: php4 /ext/standard/ string.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-16037@lists.php.net to get a copy of this message
jah Thu Jun 1 07:40:41 2000 EDT Modified files: /php4/ext/standard string.c Log: (ucwords) Yet another fix for #4748. # Last one from me today, I must have a beer now. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.120 php4/ext/standard/string.c:1.121 --- php4/ext/standard/string.c:1.120 Thu Jun 1 07:18:45 2000 +++ php4/ext/standard/string.c Thu Jun 1 07:40:41 2000 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.120 2000/06/01 14:18:45 andrei Exp $ */ +/* $Id: string.c,v 1.121 2000/06/01 14:40:41 jah Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -1155,7 +1155,8 @@ *r=toupper((unsigned char)*r); for(r_end = r + return_value->value.str.len - 1 ; r < r_end ; ) { if(isspace((int)*r)) { - *r=toupper((unsigned char)*++r); + r++; + *r=toupper((unsigned char)*r); } else { r++; }

« previous php.version4 (#16037) next »