CVS update: php3/functions
| From: | sas | Date: | Tue, 22 Dec 1998 16:19:16 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3006@lists.php.net to get a copy of this message | ||
Date: Tuesday December 22, 1998 @ 11:19
Author: sas
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv26547
Modified Files:
file.c
Log Message:
quote_meta_tags update
Index: php3/functions/file.c
diff -c php3/functions/file.c:1.189 php3/functions/file.c:1.190
*** php3/functions/file.c:1.189 Mon Dec 21 00:24:20 1998
--- php3/functions/file.c Tue Dec 22 11:19:14 1998
***************
*** 26,32 ****
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.189 1998/12/21 05:24:20 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
--- 26,32 ----
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: file.c,v 1.190 1998/12/22 16:19:14 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
***************
*** 217,223 ****
char buf[8192];
int use_include_path = 0;
int issock=0, socketd=0;
! int len,var_namelen, i=0;
char var_name[50],*val=NULL,*tmp,*end,*slashed;
TLS_VARS;
--- 217,223 ----
char buf[8192];
int use_include_path = 0;
int issock=0, socketd=0;
! int len, var_namelen;
char var_name[50],*val=NULL,*tmp,*end,*slashed;
TLS_VARS;
***************
*** 322,332 ****
} else {
slashed = estrndup(val,strlen(val));
}
! add_get_index_string(return_value, i, slashed, (void **)&pval_ptr, 0);
! _php3_hash_pointer_update(return_value->value.ht, var_name, strlen(var_name)+1, pval_ptr);
! /* SET_VAR_STRING(var_name,slashed); */
efree(val);
- i++;
}
}
}
--- 322,329 ----
} else {
slashed = estrndup(val,strlen(val));
}
! add_assoc_string(return_value, var_name, slashed, 0);
efree(val);
}
}
}
--
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