cvs: php4 /ext/standard string.c

From: Date: Thu, 03 Oct 2002 04:56:55 +0000
Subject: cvs: php4 /ext/standard string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14433@lists.php.net to get a copy of this message
yohgaki Thu Oct 3 00:56:55 2002 EDT Modified files: /php4/ext/standard string.c Log: Forgot 1 byte for \0 Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.305 php4/ext/standard/string.c:1.306 --- php4/ext/standard/string.c:1.305 Thu Oct 3 00:54:01 2002 +++ php4/ext/standard/string.c Thu Oct 3 00:56:54 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.305 2002/10/03 04:54:01 yohgaki Exp $ */ +/* $Id: string.c,v 1.306 2002/10/03 04:56:54 yohgaki Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -2468,7 +2468,7 @@ if (should_free) { STR_FREE(str); } - new_str = (char *) erealloc(new_str, *new_length); + new_str = (char *) erealloc(new_str, *new_length+1); return new_str; } /* }}} */

« previous php.cvs (#14433) next »