From dd26273133b630bd1dab1474efde36a4ec31d26d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 24 Nov 2009 00:35:13 +0100 Subject: Trailing slashes are not a problem any more --- hurd/porting/guidelines.mdwn | 4 ---- 1 file changed, 4 deletions(-) (limited to 'hurd/porting') diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn index 5fd66292..3fa802e8 100644 --- a/hurd/porting/guidelines.mdwn +++ b/hurd/porting/guidelines.mdwn @@ -149,10 +149,6 @@ by error_t err = error_t(EINTR); -## Filenames ending in a slash \`/' - -Those are evil if they don't exist and you want to name a directory this way. For example, `mkdir foobar/` will not work on GNU. This is POSIX compatible. POSIX says that the path of a directory may have slashes appended to it. But the directory does not exist yet, so the path does not refer to a directory, and hence trailing slashes are not guaranteed to work. Just drop the slashes, and you're fine. - ## Missing `termio.h` Change it to use `termios.h` (check for it properly with autoconf `HAVE_TERMIOS_H` or the `__GLIBC__` macro) -- cgit v1.2.3