Date: Sat, 3 Mar 2001 23:02:56 -0800 (PST) From: Kris Kennaway <kris@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/mkdir mkdir.c Message-ID: <200103040702.f2472ug53247@freefall.freebsd.org>
index | next in thread | raw e-mail
kris 2001/03/03 23:02:56 PST
Modified files: (Branch: RELENG_4)
bin/mkdir mkdir.c
Log:
MFC r1.20
Special case the error reporting when errno is ENOTDIR or ENOENT.
This makes "mkdir /nonexistant/foo" complain that /nonexistant
doesn't exist rather than /nonexistant/foo which doesn't make much
sense.
Revision Changes Path
1.19.2.1 +6 -2 src/bin/mkdir/mkdir.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103040702.f2472ug53247>
