cvs: php4 /ext/standard string.c

From: Date: Fri, 01 Dec 2000 01:55:32 +0000
Subject: cvs: php4 /ext/standard string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2835@lists.php.net to get a copy of this message
fmk Thu Nov 30 17:55:32 2000 EDT Modified files: /php4/ext/standard string.c Log: Fixing bug 8061. Position counter starts a 0 but was compared with length. oops. the fix should be made twice. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.167 php4/ext/standard/string.c:1.168 --- php4/ext/standard/string.c:1.167 Thu Nov 30 17:26:42 2000 +++ php4/ext/standard/string.c Thu Nov 30 17:55:31 2000 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.167 2000/12/01 01:26:42 fmk Exp $ */ +/* $Id: string.c,v 1.168 2000/12/01 01:55:31 fmk Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -331,7 +331,7 @@ } l ++; } - if (l > linelength) { + if (l >= linelength) { pgr = l; l = linelength;

« previous php.cvs (#2835) next »