CVS update: php3/functions
| From: | sas | Date: | Tue, 09 Feb 1999 13:34:10 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4008@lists.php.net to get a copy of this message | ||
Date: Tuesday February 9, 1999 @ 8:34
Author: sas
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv10281/functions
Modified Files:
string.c
Log Message:
Make it really binary safe
Index: php3/functions/string.c
diff -c php3/functions/string.c:1.176 php3/functions/string.c:1.177
*** php3/functions/string.c:1.176 Fri Feb 5 06:56:16 1999
--- php3/functions/string.c Tue Feb 9 08:34:09 1999
***************
*** 30,36 ****
*/
! /* $Id: string.c,v 1.176 1999/02/05 11:56:16 zeev Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 30,36 ----
*/
! /* $Id: string.c,v 1.177 1999/02/09 13:34:09 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 85,91 ****
}
convert_to_string(s1);
convert_to_string(s2);
! RETURN_LONG(strcasecmp(s1->value.str.val,s2->value.str.val));
}
/* }}} */
--- 85,91 ----
}
convert_to_string(s1);
convert_to_string(s2);
! RETURN_LONG(php3_binary_strcasecmp(s1,s2));
}
/* }}} */
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net