> 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