iliaa Sat Nov 2 13:54:31 2002 EDT Modified files: /php4/ext/standard string.c Log: Revert previous dirname() patch. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.331 php4/ext/standard/string.c:1.332 --- php4/ext/standard/string.c:1.331 Thu Oct 31 19:53:27 2002 +++ php4/ext/standard/string.c Sat Nov 2 13:54:31 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.331 2002/11/01 00:53:27 iliaa Exp $ */ +/* $Id: string.c,v 1.332 2002/11/02 18:54:31 iliaa Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -1148,7 +1148,7 @@ } if (end < path) { /* The path only contained slashes */ - path[0] = '/'; + path[0] = DEFAULT_SLASH; path[1] = '\0'; return; } @@ -1169,7 +1169,7 @@ end--; } if (end < path) { - path[0] = '/'; + path[0] = DEFAULT_SLASH; path[1] = '\0'; return; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php