From owner-cvs-all Sat Mar 3 23: 3: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D51BC37B719; Sat, 3 Mar 2001 23:02:56 -0800 (PST) (envelope-from kris@FreeBSD.org) Received: (from kris@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2472ug53247; Sat, 3 Mar 2001 23:02:56 -0800 (PST) (envelope-from kris) Message-Id: <200103040702.f2472ug53247@freefall.freebsd.org> From: Kris Kennaway Date: Sat, 3 Mar 2001 23:02:56 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/mkdir mkdir.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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