Re: cvs: php-src /ext/fbsql php_fbsql.c php_fbsql.h

From: Date: Fri, 27 Feb 2004 22:39:58 +0000
Subject: Re: cvs: php-src /ext/fbsql php_fbsql.c php_fbsql.h
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-26434@lists.php.net to get a copy of this message
At 12:53 27/02/2004 -0800, Frank M. Kromann wrote:
Thanks Andi, I'm planning a lot mor changes to the fbsql extension, but those will wait til after the release.
OK...
The emalloc(17) is used to create a buffer for the digest function. It always returns a 16 byte string. I guess I could use emalloc(16), but I'll add a define like this: #define DIGETS_BUFFER_SIZE 16 Would that help ?
Yeah I think that's fine. If it really is hardcoded like this in fbsql then you can also put a comment. BTW, if it's not null-terminated then you will need 17 bytes (if you're returning this to the engine because we expect everything to be null-terminated). Thanks, Andi

« previous php.cvs (#26434) next »