cvs: php4 /ext/standard/ string.c

From: Date: Fri, 09 Jun 2000 13:58:10 +0000
Subject: cvs: php4 /ext/standard/ string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-117@lists.php.net to get a copy of this message
andrei Fri Jun 9 06:58:10 2000 EDT Modified files: /php4/ext/standard string.c Log: @- Fixed stripcslashes() to remove to strip \ in unknown escapes instead of @ leaving it. (Andrei) Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.126 php4/ext/standard/string.c:1.127 --- php4/ext/standard/string.c:1.126 Tue Jun 6 17:59:14 2000 +++ php4/ext/standard/string.c Fri Jun 9 06:58:10 2000 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.126 2000/06/07 00:59:14 rasmus Exp $ */ +/* $Id: string.c,v 1.127 2000/06/09 13:58:10 andrei Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -1596,8 +1596,8 @@ nlen-=i; source--; } else { - *target++='\\'; *target++=*source; + nlen--; } } } else {

« previous php.cvs (#117) next »