cvs: /php4/ext/standard string.c

From: Date: Sun, 05 Sep 1999 00:59:00 +0000
Subject: cvs: /php4/ext/standard string.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-4107@lists.php.net to get a copy of this message
riffraff Sat Sep 4 20:59:00 1999 EDT Modified files: /php4/ext/standard string.c Log: C++ comment fix... sorry. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.31 php4/ext/standard/string.c:1.32 --- php4/ext/standard/string.c:1.31 Sat Sep 4 20:55:48 1999 +++ php4/ext/standard/string.c Sat Sep 4 20:58:59 1999 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.31 1999/09/05 00:55:48 riffraff Exp $ */ +/* $Id: string.c,v 1.32 1999/09/05 00:58:59 riffraff Exp $ */ /* Synced with php3 revision 1.193 1999-06-16 [ssb] */ @@ -1374,8 +1374,8 @@ for (source=str,end=source+length,target=new_str; (c = *source) || source<end; source++) { switch(c) { case '\0': - *target++ = '\\'; // what if somebody escapes "foo\0"."12bar"? - *target++ = '0'; // we have to add \000 instead of just \0. + *target++ = '\\'; /* what if somebody escapes "foo\0"."12bar"? */ + *target++ = '0'; /* we have to add \000 instead of just \0. */ *target++ = '0'; *target++ = '0'; break;

« previous php.version4 (#4107) next »