From owner-cvs-all Mon Feb 25 1:17:50 2002 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 6BF9637B400; Mon, 25 Feb 2002 01:17:44 -0800 (PST) Received: (from sobomax@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1P9HiD60883; Mon, 25 Feb 2002 01:17:44 -0800 (PST) (envelope-from sobomax) Message-Id: <200202250917.g1P9HiD60883@freefall.freebsd.org> From: Maxim Sobolev Date: Mon, 25 Feb 2002 01:17:44 -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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sobomax 2002/02/25 01:17:44 PST Modified files: bin/mkdir mkdir.c Log: Fix a bug introduced in rev.1.23 - for some reason mkdir("/", ...) system call returns `EISDIR', not `EEXIST', so that be prepared for that. This should fix number of ports, that often call `mkdir -p //usr/local/foobar'. This is just a quick workaround, the real fix would be either to avoid calling mkdir("/", ...) or fix VFS code to return consistent errno for this case. Revision Changes Path 1.25 +1 -1 src/bin/mkdir/mkdir.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message