Thomas Cort 940bbe18b6 mkdir: allow 'mkdir -p' with trailing '/'
Let's suppose that /usr/tmp exists and one wants /usr/tmp/a/b
If one runs "mkdir -p /usr/tmp/a/b/" (the '/' at the end is
important), then a "File exists" error comes up. Example:

$ rm -rf /usr/tmp/a
$ mkdir -p /usr/tmp/a/b/
/usr/tmp/a/b/: File exists

This breaks gcc47 installation when C++ is enabled, and this
isn't the behaviour of mkdir on NetBSD nor Linix.

This patch fixes the above issue by dropping the trailing '/'.
2011-08-15 09:14:36 +00:00
2010-10-25 08:32:14 +00:00
2011-07-27 18:23:36 +02:00
2011-06-24 17:21:51 +02:00
2011-07-22 17:28:27 +02:00
2011-07-25 11:08:17 +02:00
2011-08-13 11:04:37 +00:00
2011-08-12 17:15:42 +02:00
2011-07-26 11:37:18 +02:00
2011-08-12 13:08:27 +00:00
2011-07-27 09:30:26 +00:00
2010-01-21 10:16:05 +00:00
2011-07-27 18:23:36 +02:00
Description
A fun microkernel meant to match modern usecases
GPL-3.0 148 MiB
Languages
C 78.2%
Roff 10.2%
Assembly 4.6%
Shell 3.7%
Makefile 1.6%
Other 1.2%