That one broke win32 build.

ZendTS.lib(zend_API.obj) : error LNK2001: unresolved external symbol
_snprintf
..\Release_TS\php4ts.dll : fatal error LNK1120: 1 unresolved externals
php-cgi.exe - 2 error(s), 11 warning(s)

Edin
----- Original Message -----
From: "Sascha Schumann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 1:19 PM
Subject: [ZEND-ENGINE-CVS] cvs: Zend / zend_API.c


> sas Wed Apr 24 07:19:21 2002 EDT
>
>   Modified files:
>     /Zend zend_API.c
>   Log:
>   Avoid exceeding buffer limits
>
>
> Index: Zend/zend_API.c
> diff -u Zend/zend_API.c:1.109 Zend/zend_API.c:1.110
> --- Zend/zend_API.c:1.109 Fri Mar  1 12:34:16 2002
> +++ Zend/zend_API.c Wed Apr 24 07:19:20 2002
> @@ -440,9 +440,10 @@
>   expected_type = zend_parse_arg_impl(arg, va, spec);
>   if (expected_type) {
>   if (!quiet) {
> - sprintf(buf, "%s() expects parameter %d to be %s, %s given",
> + snprintf(buf, sizeof(buf)-1, "%s() expects parameter %d to be %s, %s
given",
>   get_active_function_name(TSRMLS_C), arg_num, expected_type,
>   zend_zval_type_name(*arg));
> + buf[sizeof(buf)-1] = '\0';
>   zend_error(E_WARNING, buf);
>   }
>   return FAILURE;
>
>
>
> --
> Zend Engine CVS Mailing List (http://cvs.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to