Date: Sun, 20 Feb 2000 11:59:00 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Mark E." cc: djgpp-workers AT delorie DOT com Subject: Re: fileutils mkdir gotcha In-Reply-To: <200002192304.SAA30884@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 19 Feb 2000, Mark E. wrote: > I would suggest modifying 'mkdir.c' check the result of _put_path for > '/dev' and '/dev/env' and set errno to EEXIST (and return -1) for these > two cases. I think /dev should be left alone. > This would in turn require a small change to _put_path2 to > prevent '/dev/env' from turning into 'env' like it currently does. Please send in a patch for preventing /dev/env from being created.