Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 01:17:44 -0800 (PST)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/mkdir mkdir.c
Message-ID:  <200202250917.g1P9HiD60883@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202250917.g1P9HiD60883>