From owner-cvs-all Sun Jan 14 4: 9:14 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 E138F37B404; Sun, 14 Jan 2001 04:08:51 -0800 (PST) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0EC8pk52510; Sun, 14 Jan 2001 04:08:51 -0800 (PST) (envelope-from alfred) Message-Id: <200101141208.f0EC8pk52510@freefall.freebsd.org> From: Alfred Perlstein Date: Sun, 14 Jan 2001 04:08:51 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/mkdir mkdir.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alfred 2001/01/14 04:08:51 PST Modified files: bin/mkdir mkdir.c Log: 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. Submitted (in a different form) by: W.H.Scholten Revision Changes Path 1.20 +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