CVS update: php31/main
| From: | shane | Date: | Mon, 07 Sep 1998 05:33:24 +0000 |
| Subject: | CVS update: php31/main | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-856@lists.php.net to get a copy of this message | ||
Date: Monday September 7, 1998 @ 1:33
Author: shane
Update of /repository/php31/main
In directory asf:/u2/tmp/cvs-serv7663/main
Modified Files:
variables.c variables.h
Log Message:
add ms sql module, now thread safe. persistent connections are not working,
haven't figured out why yet.
fixme's added to other modules until cfg_get_* functions are replaced with
whatever is coming
Index: php31/main/variables.c
diff -c php31/main/variables.c:2.3 php31/main/variables.c:2.4
*** php31/main/variables.c:2.3 Thu Aug 13 18:49:01 1998
--- php31/main/variables.c Mon Sep 7 01:33:24 1998
***************
*** 29,35 ****
*/
! /* $Id: variables.c,v 2.3 1998/08/13 22:49:01 shane Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
--- 29,35 ----
*/
! /* $Id: variables.c,v 2.4 1998/09/07 05:33:24 shane Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
***************
*** 69,76 ****
var->value.str.val = undefined_variable_string;
var->value.str.len = 0;
}
!
! inline PHPAPI void yystype_destructor(pval *yystype INLINE_TLS)
{
if (yystype->type == IS_STRING) {
STR_FREE(yystype->value.str.val);
--- 69,81 ----
var->value.str.val = undefined_variable_string;
var->value.str.len = 0;
}
!
! PHPAPI void php3_yystype_destructor(pval *yystype){
! TLS_VARS;
! yystype_destructor(yystype _INLINE_TLS);
! }
!
! inline void yystype_destructor(pval *yystype INLINE_TLS)
{
if (yystype->type == IS_STRING) {
STR_FREE(yystype->value.str.val);
Index: php31/main/variables.h
diff -c php31/main/variables.h:2.1 php31/main/variables.h:2.2
*** php31/main/variables.h:2.1 Thu Aug 13 18:49:01 1998
--- php31/main/variables.h Mon Sep 7 01:33:24 1998
***************
*** 29,35 ****
*/
! /* $Id: variables.h,v 2.1 1998/08/13 22:49:01 shane Exp $ */
#ifndef _VARIABLES_H
--- 29,35 ----
*/
! /* $Id: variables.h,v 2.2 1998/09/07 05:33:24 shane Exp $ */
#ifndef _VARIABLES_H
***************
*** 54,60 ****
extern void assign_new_object(pval *result, pval *classname, unsigned char implicit_ctor
INLINE_TLS);
! extern PHPAPI void yystype_destructor(pval *yystype INLINE_TLS);
extern PHPAPI int yystype_copy_constructor(pval *yystype);
#define pval_DESTRUCTOR (void (*)(void *)) yystype_destructor
#define pval_COPY_CTOR (void (*)(void *)) yystype_copy_constructor
--- 54,61 ----
extern void assign_new_object(pval *result, pval *classname, unsigned char implicit_ctor
INLINE_TLS);
! extern PHPAPI void php3_yystype_destructor(pval *yystype);
! extern void yystype_destructor(pval *yystype INLINE_TLS);
extern PHPAPI int yystype_copy_constructor(pval *yystype);
#define pval_DESTRUCTOR (void (*)(void *)) yystype_destructor
#define pval_COPY_CTOR (void (*)(void *)) yystype_copy_constructor
--
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