Date: Thu, 8 Sep 1994 14:34:35 -0700 From: "Jordan K. Hubbard" <jkh> To: ache, adam, alm, ats, bde, csgr, cvs-bin, davidg, dfr, dyson, gpalmer, guido, hsu, jkh, joerg, julian, jvh, karl, martin, nate, paul, phk, proven, pst, rgrimes, rich, se, sean, sef, smace, sos, torstenb, wollman Subject: cvs commit: src/bin/mkdir mkdir.c Message-ID: <199409082134.OAA21804@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
jkh 94/09/08 14:34:35 Modified: bin/mkdir mkdir.c Log: [ From Dave Tweten ] POSIX.2 looks pretty unequivocal to me, and it agrees with you. Under the explanation of the "-p" option, it says, "Each dir operand that names an existing directory shall be ignored without error." Under the explanation of exit status zero, it says, "All the specified directories were created successfully, or the-p option was specified and all the specified directories now exist." Seems to me POSIX requires exactly the behavior you want. [ And I've made the change, which is also now compatible with 1.x - jkh ] Reviewed by: jkh Submitted by: jkh/tweten
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199409082134.OAA21804>