CVS update: php3/functions
| From: | shane | Date: | Tue, 29 Sep 1998 23:47:21 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1556@lists.php.net to get a copy of this message | ||
Date: Tuesday September 29, 1998 @ 19:47
Author: shane
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv15661/functions
Modified Files:
var.c
Log Message:
command line makefiles for windows
Index: php3/functions/var.c
diff -c php3/functions/var.c:1.2 php3/functions/var.c:1.3
*** php3/functions/var.c:1.2 Tue Sep 29 19:33:39 1998
--- php3/functions/var.c Tue Sep 29 19:47:21 1998
***************
*** 138,146 ****
ulong __i = __p->value.str.len;\
__p->value.str.len += (I);\
if (__p->value.str.val) {\
! __p->value.str.val = (char *)_erealloc(__p->value.str.val, __p->value.str.len + 1);\
} else {\
! __p->value.str.val = _emalloc(__p->value.str.len + 1);\
*__p->value.str.val = 0;\
}\
strcat(__p->value.str.val + __i, (S));\
--- 138,146 ----
ulong __i = __p->value.str.len;\
__p->value.str.len += (I);\
if (__p->value.str.val) {\
! __p->value.str.val = (char *)erealloc(__p->value.str.val, __p->value.str.len + 1);\
} else {\
! __p->value.str.val = emalloc(__p->value.str.len + 1);\
*__p->value.str.val = 0;\
}\
strcat(__p->value.str.val + __i, (S));\
***************
*** 286,292 ****
return 0;
}
(*p) +=2;
! str = _emalloc(i+1);
if (i>0) {
memcpy(str, *p, i);
}
--- 286,292 ----
return 0;
}
(*p) +=2;
! str = emalloc(i+1);
if (i>0) {
memcpy(str, *p, i);
}
--
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