jani            Mon Jul 21 11:46:18 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard       file.c 
  Log:
  - Forward compatibility.
  # @DOC@, [DOC], *DOC*: Added FILE_TEXT and FILE_BINARY constants for forward 
compatibility.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.28.2.16&r2=1.409.2.6.2.28.2.17&diff_format=u
Index: php-src/ext/standard/file.c
diff -u php-src/ext/standard/file.c:1.409.2.6.2.28.2.16 
php-src/ext/standard/file.c:1.409.2.6.2.28.2.17
--- php-src/ext/standard/file.c:1.409.2.6.2.28.2.16     Fri Jul 11 10:25:15 2008
+++ php-src/ext/standard/file.c Mon Jul 21 11:46:18 2008
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: file.c,v 1.409.2.6.2.28.2.16 2008/07/11 10:25:15 tony2001 Exp $ */
+/* $Id: file.c,v 1.409.2.6.2.28.2.17 2008/07/21 11:46:18 jani Exp $ */
 
 /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
 
@@ -290,6 +290,9 @@
        REGISTER_LONG_CONSTANT("FILE_APPEND",                                   
PHP_FILE_APPEND,                                        CONST_CS | 
CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("FILE_NO_DEFAULT_CONTEXT",               
PHP_FILE_NO_DEFAULT_CONTEXT,            CONST_CS | CONST_PERSISTENT);
 
+       REGISTER_LONG_CONSTANT("FILE_TEXT",                                     
        0,                                                                      
CONST_CS | CONST_PERSISTENT);
+       REGISTER_LONG_CONSTANT("FILE_BINARY",                                   
0,                                                                      
CONST_CS | CONST_PERSISTENT);
+
 #ifdef HAVE_FNMATCH
        REGISTER_LONG_CONSTANT("FNM_NOESCAPE", FNM_NOESCAPE, CONST_CS | 
CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("FNM_PATHNAME", FNM_PATHNAME, CONST_CS | 
CONST_PERSISTENT);



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

Reply via email to