Mail Archives: djgpp-workers/1996/06/30/11:23:16
> 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.
- Raw text -