Subject: Re: mkdir with trailing /
To: Julio Merino <jmmv@hispabsd.org>
From: Jachym Holecek <jakym@volny.cz>
List: tech-userlevel
Date: 04/28/2002 01:06:32
> I've found some problems while trying to get a program working. It has
> something like the following:
> mkdir("/path/to/somedir/");
> 
> The trailing slash produces an error... is this the expected behavivour?

Yes, it is a POSIX issue IIRC. bin/mkdir removes trailing slashes as well.

Regards,
	Jachym _Freza_ Holecek