From owner-cvs-bin Thu Sep 8 14:34:39 1994 Return-Path: cvs-bin-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.8/8.6.6) id OAA21814 for cvs-bin-outgoing; Thu, 8 Sep 1994 14:34:39 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.8/8.6.6) id OAA21804; Thu, 8 Sep 1994 14:34:35 -0700 Date: Thu, 8 Sep 1994 14:34:35 -0700 From: "Jordan K. Hubbard" Message-Id: <199409082134.OAA21804@freefall.cdrom.com> 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 Sender: cvs-bin-owner@freefall.cdrom.com Precedence: bulk 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