[PHP-CVS] cvs: php4 /sapi/apache libpre.c php_apache_http.h

2003-02-23 Thread Jani Taskinen
sniper  Sun Feb 23 04:50:43 2003 EDT

  Modified files:  
/php4/sapi/apache   libpre.c php_apache_http.h 
  Log:
  Added missing headers and $Id$ tags.
  
Index: php4/sapi/apache/libpre.c
diff -u php4/sapi/apache/libpre.c:1.2 php4/sapi/apache/libpre.c:1.3
--- php4/sapi/apache/libpre.c:1.2   Fri Jan  3 10:39:43 2003
+++ php4/sapi/apache/libpre.c   Sun Feb 23 04:50:43 2003
 -1,3 +1,22 
+/*
+  +--+
+  | PHP Version 4|
+  +--+
+  | Copyright (c) 1997-2003 The PHP Group|
+  +--+
+  | This source file is subject to version 2.02 of the PHP license,  |
+  | that is bundled with this package in the file LICENSE, and is|
+  | available at through the world-wide-web at   |
+  | http://www.php.net/license/2_02.txt. |
+  | If you did not receive a copy of the PHP license and are unable to   |
+  | obtain it through the world-wide-web, please send a note to  |
+  | [EMAIL PROTECTED] so we can mail you a copy immediately.   |
+  +--+
+  | Author:  |
+  +--+
+*/
+
+/* $Id: libpre.c,v 1.3 2003/02/23 09:50:43 sniper Exp $ */
 
 #ifdef NETWARE
 
Index: php4/sapi/apache/php_apache_http.h
diff -u php4/sapi/apache/php_apache_http.h:1.5 php4/sapi/apache/php_apache_http.h:1.6
--- php4/sapi/apache/php_apache_http.h:1.5  Mon Feb 17 08:29:58 2003
+++ php4/sapi/apache/php_apache_http.h  Sun Feb 23 04:50:43 2003
 -1,3 +1,25 
+/*
+  +--+
+  | PHP Version 4|
+  +--+
+  | Copyright (c) 1997-2003 The PHP Group|
+  +--+
+  | This source file is subject to version 2.02 of the PHP license,  |
+  | that is bundled with this package in the file LICENSE, and is|
+  | available at through the world-wide-web at   |
+  | http://www.php.net/license/2_02.txt. |
+  | If you did not receive a copy of the PHP license and are unable to   |
+  | obtain it through the world-wide-web, please send a note to  |
+  | [EMAIL PROTECTED] so we can mail you a copy immediately.   |
+  +--+
+  | Authors: Rasmus Lerdorf [EMAIL PROTECTED]   |
+  |  Stig Sæther Bakken [EMAIL PROTECTED]|
+  |  David Sklar [EMAIL PROTECTED] |
+  +--+
+*/
+
+/* $Id: php_apache_http.h,v 1.6 2003/02/23 09:50:43 sniper Exp $ */
+
 #define NO_REGEX_EXTRA_H
 
 #ifdef WIN32



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php4 /sapi/apache libpre.c

2003-01-04 Thread Jon Parise
On Fri, Jan 03, 2003 at 03:39:44PM -, Anantha Kesari H Y wrote:

 hyanantha Fri Jan  3 10:39:44 2003 EDT
 
   Modified files:  
 /php4/sapi/apache libpre.c 
   Log:
   New file added for NetWare.
   
No new file was added.  Did you forget to add one, or is the commit
message incorrect?

-- 
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-CVS] cvs: php4 /sapi/apache libpre.c

2003-01-03 Thread Anantha Kesari H Y
hyanantha   Fri Jan  3 10:39:44 2003 EDT

  Modified files:  
/php4/sapi/apache   libpre.c 
  Log:
  New file added for NetWare.
  
  
Index: php4/sapi/apache/libpre.c
diff -u /dev/null php4/sapi/apache/libpre.c:1.2
--- /dev/null   Fri Jan  3 10:39:44 2003
+++ php4/sapi/apache/libpre.c   Fri Jan  3 10:39:43 2003
@@ -0,0 +1,36 @@
+
+#ifdef NETWARE
+
+/* --
+ * These functions are to be called when the shared NLM starts and
+ * stops.  By using these functions instead of defining a main()
+ * and calling ExitThread(TSR_THREAD, 0), the load time of the
+ * shared NLM is faster and memory size reduced.
+ * 
+ * You may also want to override these in your own Apache module
+ * to do any cleanup other than the mechanism Apache modules provide.
+ * --
+ */
+
+
+#ifdef __GNUC__
+#include string.h/* memset */
+extern char _edata, _end ; /* end of DATA (start of BSS), end of BSS */
+#endif
+
+int _lib_start()
+{
+/* printf(Inside _lib_start\n);*/
+#ifdef __GNUC__
+memset (_edata, 0, _end - _edata);
+#endif
+return 0;
+}
+
+int _lib_stop()
+{
+/* printf(Inside _lib_stop\n);*/
+return 0;
+}
+
+#endif /* NETWARE */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php