From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <9606301523.AA14217@clio.rice.edu> Subject: Re: rename() problem in Win95 ? To: k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at (Oberhumer Markus) Date: Sun, 30 Jun 1996 10:23:50 -0600 (CDT) Cc: djgpp-workers AT delorie DOT com (DJGPP developers) In-Reply-To: <199606301311.PAA09407@c210.edvz.uni-linz.ac.at> from "Oberhumer Markus" at Jun 30, 96 03:11:50 pm Content-Type: text Content-Length: 620 > Everything works fine, and I've found this interresting > code fragment in msdos.c. As I don't have Windows 95 I can't > verify the claims herein, but maybe it proves useful as > a patch for rename(). Applications must be aware of the file system limitations they are working with. I think this code belongs in vim and not in the libc. Doing a rename of foo.bar to foo.bar~ on a regular DOS system is looking for trouble anyway and should be avoided in DOSy code. Oh, BTW, a useful define I use in many apps is #define rename _rename, if you know you won't be renaming directories. Decreases the footprint a bit.