CVS update: php3/functions
| From: | rasmus | Date: | Sun, 07 Feb 1999 16:37:42 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3960@lists.php.net to get a copy of this message | ||
Date: Sunday February 7, 1999 @ 11:37
Author: rasmus
Update of /repository/php3/functions
In directory asf:/home/rasmus/php3/functions
Modified Files:
file.c wddx_a.c
Log Message:
Fix a couple of warnings
Index: php3/functions/file.c
diff -c php3/functions/file.c:1.198 php3/functions/file.c:1.199
*** php3/functions/file.c:1.198 Sun Jan 31 13:51:42 1999
--- php3/functions/file.c Sun Feb 7 11:37:41 1999
***************
*** 26,32 ****
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.198 1999/01/31 18:51:42 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 26,32 ----
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.199 1999/02/07 16:37:41 rasmus Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 1450,1456 ****
return GLOBAL(le_fp);
}
! static flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN };
/* {{{ proto bool flock(int fp, int operation)
portable file locking */
--- 1450,1456 ----
return GLOBAL(le_fp);
}
! static int flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN };
/* {{{ proto bool flock(int fp, int operation)
portable file locking */
Index: php3/functions/wddx_a.c
diff -c php3/functions/wddx_a.c:1.2 php3/functions/wddx_a.c:1.3
*** php3/functions/wddx_a.c:1.2 Fri Feb 5 01:13:26 1999
--- php3/functions/wddx_a.c Sun Feb 7 11:37:42 1999
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: wddx_a.c,v 1.2 1999/02/05 06:13:26 andrey Exp $ */
#include "php.h"
#include "internal_functions.h"
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: wddx_a.c,v 1.3 1999/02/07 16:37:42 rasmus Exp $ */
#include "php.h"
#include "internal_functions.h"
***************
*** 299,305 ****
buf = (char *)emalloc(var->value.str.len);
for(c=var->value.str.val; *c!='\0'; c++)
{
! if (iscntrl(*c))
{
if (*buf)
{
--- 299,305 ----
buf = (char *)emalloc(var->value.str.len);
for(c=var->value.str.val; *c!='\0'; c++)
{
! if (iscntrl((int)*c))
{
if (*buf)
{
--
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