Date: Mon, 21 Feb 2000 09:15:07 +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: <200002201458.QAA27471@is.elta.co.il> 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 Sun, 20 Feb 2000, Mark E. wrote: > *** djgpp/src/libc/dos/io/putpath.c.orig Thu Jun 3 13:27:34 1999 > --- djgpp/src/libc/dos/io/putpath.c Sun Feb 20 09:56:26 2000 > *************** _put_path2(const char *path, int offset) > *** 140,147 **** > o--; > path = p; > } > - else if (p[5]) > - path = p + 5; > } > > /* collapse multiple slashes to a single slash */ > --- 140,145 ---- > > The deleted code turns '/dev/unrecognized' into 'unrecognized'. Deleting > this code lets '/dev/unrecognized' stay as-is just like other > files/directories. IMHO, this change is too far-fetched: it changes too many different cases. For example, "/dev/lpt1" will be left alone as well. IIRC, the removal of "/dev/" was done for a very good reason: without it, programs would produce file names like "d:/dev/lpt1" which aren't recognized as devices by some DOS calls. One possibility is to restrict the special treatment to "/dev/env"; such a change would be more localized. Alternatively, we could make the change you suggest, but then it will need to be thoroughly tested in many packages before it could be deemed safe.