Subject: Re: Linux emulation and mkdir with trailing /
To: None <email@example.com>
From: Matthew Orgass <firstname.lastname@example.org>
Date: 09/17/2000 06:51:03
On Sat, 16 Sep 2000 email@example.com wrote:
> I have a linux binary here which calls the mkdir system call with
> a trailing /
> a) Does anyone know if a relevant unix standard has anything to
> say on this behaviour?
SUSv2 (and I believe POSIX) says that directories may have one or more
trailing slashes, so this should be accepted.
> b) If its not in the standard, woult it make sense to change the
> linux emulation to handle it?
Yes, linux emulation is about emulating linux, not about standards. If
linux accepts it, linux emulation should.