[wsf-c-dev] svn commit r391 - wsf/php/src

svn at wso2.com svn at wso2.com
Thu Jan 11 00:20:00 PST 2007


Author: nandika
Date: Thu Jan 11 00:19:48 2007
New Revision: 391

Modified:
   wsf/php/src/wsf.c
Log:
fopen changed to use VCWD_FOPEN

Modified: wsf/php/src/wsf.c
==============================================================================
--- wsf/php/src/wsf.c	(original)
+++ wsf/php/src/wsf.c	Thu Jan 11 00:19:48 2007
@@ -1562,7 +1562,7 @@
 		zval **tmpval;
 		char *binding_name = NULL;
 		char *wsdl_version = NULL;
-	      
+		char *cwd = emalloc(100);
 
 		//location = VCWD_GETCWD(resolved_path, MAXPATHLEN);
 		service_name = svc_info->svc_name;
@@ -1628,8 +1628,7 @@
 		script.opened_path = NULL;
 		script.free_filename = 0;
 
-		
-		if (!(script.handle.fp = fopen(script.filename, "rb"))) 
+		if (!(script.handle.fp = VCWD_FOPEN(script.filename, "rb"))) 
 		{
 			php_printf("Unable to open script file or file not found:");
 		}




More information about the Wsf-c-dev mailing list