cvs: php4 /ext/standard file.c

From: Date: Thu, 26 Sep 2002 00:27:14 +0000
Subject: cvs: php4 /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14222@lists.php.net to get a copy of this message
hholzgra Wed Sep 25 20:27:14 2002 EDT Modified files: /php4/ext/standard file.c Log: symbolic constants for fnmatch flags added Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.259 php4/ext/standard/file.c:1.260 --- php4/ext/standard/file.c:1.259 Wed Sep 25 11:46:46 2002 +++ php4/ext/standard/file.c Wed Sep 25 20:27:13 2002 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.259 2002/09/25 15:46:46 wez Exp $ */ +/* $Id: file.c,v 1.260 2002/09/26 00:27:13 hholzgra Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -179,6 +179,15 @@ REGISTER_LONG_CONSTANT("STREAM_NOTIFY_SEVERITY_WARN", PHP_STREAM_NOTIFY_SEVERITY_WARN, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("STREAM_NOTIFY_SEVERITY_ERR", PHP_STREAM_NOTIFY_SEVERITY_ERR, 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); + REGISTER_LONG_CONSTANT("FNM_PERIOD", FNM_PERIOD, CONST_CS | CONST_PERSISTENT); +#ifdef FNM_CASEFOLD /* a GNU extension */ /* TODO emulate if not available */ + REGISTER_LONG_CONSTANT("FNM_CASEFOLD", FNM_CASEFOLD, CONST_CS | CONST_PERSISTENT); +#endif +#endif + return SUCCESS; }

« previous php.cvs (#14222) next »