Mail Archives: djgpp/1995/06/06/22:31:27
> Look at the current (for a few more days) version of rename.c below. What
> more comments do you want?
I'd want a warning that this rename() is very different than the one in the
current djgpp or most other DOS C compilers. If you try to use it to move a
file to another directory, and the move fails because there is a file of the
same name in the target directory, that file is deleted and the move is
attempted again. That's how I'd expect a unix rename to work, but a DOS
rename would just fail.
- Raw text -