cvs: php4 /ext/standard filestat.c
| From: | Andi Gutmans | Date: | Sat, 14 Sep 2002 06:38:48 +0000 |
| Subject: | cvs: php4 /ext/standard filestat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14049@lists.php.net to get a copy of this message | ||
andi Sat Sep 14 02:38:48 2002 EDT
Modified files:
/php4/ext/standard filestat.c
Log:
- Don't think we need the do { } while (0) here
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.108 php4/ext/standard/filestat.c:1.109
--- php4/ext/standard/filestat.c:1.108 Wed Sep 11 19:10:58 2002
+++ php4/ext/standard/filestat.c Sat Sep 14 02:38:48 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.108 2002/09/11 23:10:58 edink Exp $ */
+/* $Id: filestat.c,v 1.109 2002/09/14 06:38:48 andi Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -571,7 +571,7 @@
#ifndef PHP_WIN32
#ifdef VIRTUAL_DIR
- do {
+ {
char *tmpname;
if (virtual_filepath(filename, &tmpname TSRMLS_CC)) {
@@ -580,7 +580,7 @@
}
filename = tmpname;
- } while (0);
+ }
#endif
switch (type) {