cvs: /php3 ChangeLog /php3/functions sybase.c

From: Date: Fri, 05 Nov 1999 08:52:01 +0000
Subject: cvs: /php3 ChangeLog /php3/functions sybase.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-12126@lists.php.net to get a copy of this message
thies Fri Nov 5 03:52:01 1999 EDT Modified files: /php3 ChangeLog /php3/functions sybase.c Log: fix for #2664 and maybe #863,#889,#941,#894,#1112,#1338,#1376 thanks to neal@wanlink.com Index: php3/ChangeLog diff -u php3/ChangeLog:1.783 php3/ChangeLog:1.784 --- php3/ChangeLog:1.783 Tue Nov 2 11:06:04 1999 +++ php3/ChangeLog Fri Nov 5 03:51:59 1999 @@ -1,7 +1,9 @@ PHP 3.0 CHANGE LOG ChangeLog ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| -Nov 4, 1999, Version 3.0.13 +Nov 5, 1999, Version 3.0.13 +- Fixed garbage returned at the end of certain Sybase-Columns (Thies) + Patch submitted by: neal@wanlink.com - XML_Parse_Into_Struct() no longer eats data. (Thies) - Added portable access to stdio streams by using the "php://stream-name" syntax (Sascha) Index: php3/functions/sybase.c diff -u php3/functions/sybase.c:1.109 php3/functions/sybase.c:1.110 --- php3/functions/sybase.c:1.109 Mon Jan 4 09:25:22 1999 +++ php3/functions/sybase.c Fri Nov 5 03:52:00 1999 @@ -31,7 +31,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sybase.c,v 1.109 1999/01/04 14:25:22 jah Exp $ */ +/* $Id: sybase.c,v 1.110 1999/11/05 08:52:00 thies Exp $ */ #ifndef MSVC5 @@ -662,6 +662,7 @@ } res_buf = (char *) emalloc(res_length+1); + memset(res_buf,' ',res_length+1); dbconvert(NULL,coltype(offset),dbdata(sybase_ptr->link,offset), res_length,SYBCHAR,res_buf,-1); /* get rid of trailing spaces */

« previous php.dev (#12126) next »