[srm-cvs] CVS Update: - Make extension .banana.php

From: <d.rethans[@]jdimedia.nl>
Date: Mon Feb 25 2002 - 16:36:04 CET

Date: Mon Feb 25 16:36:01 CET 2002
User: Derick Rethans
Directory: sapi_srm

Log Message:
 [0.25]
 - Make extension .banana.php
 
Modified files:
           sapi_srm/srm.c (version: 1.45)

[FILE: /sapi_srm/srm.c]

--- sapi_srm/srm.c:1.44 Sat Feb 23 14:43:20 2002 GMT
+++ sapi_srm/srm.c Mon Feb 25 14:36:00 2002 GMT
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: cvstemp,v 1.44 2002/02/23 15:43:20 derick Exp $ */
+/* $Id: cvstemp,v 1.45 2002/02/25 15:36:00 derick Exp $ */
 
 #include "php.h"
 #include "php_ini.h"
@@ -295,6 +295,7 @@
 {
         srm_value *res_val;
 
+ srm_fmt_message (LL_DATA, "Event", "In use = %d", srmapp_pool.data[handle].used);
         /* Add message to queue */
         srmapp_pool.data[handle].event = event;
         srm_fmt_message (LL_DATA, "Event", "%s:%d: /* Signal semaphore that a message is available */", __FILE__, __LINE__);
@@ -785,13 +786,13 @@
         }
 
         /* adding filename to classpath (this is freed in php_srm_module_main */
- handle->filename = ecalloc (1, strlen (tmp_path) + strlen (class_name) + 7);
+ handle->filename = ecalloc (1, strlen (tmp_path) + strlen (class_name) + 14);
         strcat (handle->filename, tmp_path);
         if (tmp_path[strlen(tmp_path)] - 1 != '/') {
                 strcat (handle->filename, "/");
         }
         strcat (handle->filename, class_name);
- strcat (handle->filename, ".php");
+ strcat (handle->filename, ".banana.php");
 
         /* add classname to handle struct */
         handle->classname = estrdup(class_name);
Received on Mon Feb 25 16:36:34 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 12:00:02 CET