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

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to