Mail Archives: djgpp-workers/2001/01/19/13:23:28
> From: "Robert van der Boon" <rjvdboon AT europe DOT com>
> Date: Fri, 19 Jan 2001 16:15:19 +0100
>
> And it always fails (with -1) if the target already exists, or the source
> doesn't exist. It always gives _doserrno=0xB7 if target exists, and 0x2 if
> source doesn't exist.
If that happens always, we could simply treat 0xb7 as an error code
which means ``file already exists'', and try to remove it, as we do
with 0x5. Could you please change _rename to that effect and see if
the problem goes away? (The question: is would W2K let you remove the
target file in this situation?)
> > > I think I'll try using the NTLFN package as well, maybe it matters.
> > This is not worth your effort: NTLFN replaces the LFN API with its own
> > code, which is known to work, and we already established that this
> > failure is somehow connected with W2K's LFN functions.
>
> O, no, it IS worth the effort (although it doesn't help solving the problem,
> I
> admit that), because now I know there is a way to have my programs working
> like they should.
Well, I meant it doesn't help to analyze and solve the problem at
hand. Obviously, it does provide a work-around.
- Raw text -