comparison doc/posix-functions/open.texi @ 30163:6051c7c4c19f

Ensure that a filename ending in a slash cannot be used to access a non-directory.
author Bruno Haible <bruno@clisp.org>
date Wed, 24 Sep 2008 13:50:02 +0200
parents 97894444a902
children 541a421c693f
comparison
equal deleted inserted replaced
30162:6e48a0b21819 30163:6051c7c4c19f
8 8
9 Portability problems fixed by Gnulib: 9 Portability problems fixed by Gnulib:
10 @itemize 10 @itemize
11 @item 11 @item
12 This function does not fail when the file name argument ends in a slash 12 This function does not fail when the file name argument ends in a slash
13 and (without the slash) names a nonexistent file, on some platforms: 13 and (without the slash) names a nonexistent file or a file that is not a
14 directory, on some platforms:
14 HP-UX 11.00, Solaris 9. 15 HP-UX 11.00, Solaris 9.
15 @item 16 @item
16 On Windows platforms (excluding Cygwin), this function does usually not 17 On Windows platforms (excluding Cygwin), this function does usually not
17 recognize the @file{/dev/null} filename. 18 recognize the @file{/dev/null} filename.
18 @end itemize 19 @end itemize