sniper          Sun Sep 29 15:22:40 2002 EDT

  Modified files:              
    /php4/main  main.c 
  Log:
  ws fix
  
  
Index: php4/main/main.c
diff -u php4/main/main.c:1.492 php4/main/main.c:1.493
--- php4/main/main.c:1.492      Sat Sep 28 16:13:28 2002
+++ php4/main/main.c    Sun Sep 29 15:22:39 2002
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: main.c,v 1.492 2002/09/28 20:13:28 iliaa Exp $ */
+/* $Id: main.c,v 1.493 2002/09/29 19:22:39 sniper Exp $ */
 
 /* {{{ includes
  */
@@ -1505,11 +1505,11 @@
                        VCWD_CHDIR_FILE(primary_file->filename);
                }
 
-               if(primary_file->filename) {                    
+               if (primary_file->filename) {                   
                        char realfile[MAXPATHLEN];
                        int realfile_len;
                        int dummy = 1;
-                       if(VCWD_REALPATH(primary_file->filename, realfile)) {
+                       if (VCWD_REALPATH(primary_file->filename, realfile)) {
                                realfile_len =  strlen(realfile);
                                zend_hash_add(&EG(included_files), realfile, 
realfile_len+1, (void *)&dummy, sizeof(int), NULL);
                                primary_file->opened_path = emalloc(realfile_len+1);
@@ -1527,6 +1527,7 @@
                } else {
                        prepend_file_p = NULL;
                }
+
                if (PG(auto_append_file) && PG(auto_append_file)[0]) {
                        append_file.filename = PG(auto_append_file);
                        append_file.opened_path = NULL;



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

Reply via email to