RE: [PHP-QA] RC6
| From: | Sascha Schumann | Date: | Tue, 03 Apr 2001 10:37:04 +0000 |
| Subject: | RE: [PHP-QA] RC6 | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-2727@lists.php.net to get a copy of this message | ||
On Tue, 3 Apr 2001, Karl Austin wrote:
> Am I missing something obvious as to why trailing slashes are not
> considered? I would have thought they would seen as /foo can be a directory
> or a file and /foo/ is clearly (in my mind) a directory.
The dirname(3) definition makes it clear what this call
actually does:
report the parent directory name of a file pathname
/foo/ refers to the file pathname /foo which parent directory
name is /.
http://www.unix-systems.org/onlinepubs/007908799/xsh/dirname.html
http://www.unix-systems.org/onlinepubs/007908799/xcu/dirname.html
- Sascha Experience IRCG
http://schumann.cx/ http://schumann.cx/ircg