Mail Archives: djgpp-workers/2001/03/16/18:44:31
> AX=1 means "Function number invalid". Can you see if this special
> branch always fails, no matter if the target file exists or not?
> (From the fact that "stubify foo" succeeds when foo.exe doesn't exist,
> it sounds like the existence of the target makes a difference.) Also,
Actually, if foo.exe doesn't exist, _rename doesn't get called.
But if I remove foo.exe after entering _rename(), the call still fails
with EINVAL.
> what does _dosexterr return, if called immediately after the failed
> Int 21h call?
136 _dosexterr (&e);
[GDB] inspect e
$1 = {
exterror = 0,
class = 0 '\000',
action = 0 '\000',
locus = 1 '\001'
}
137 dostrerr (&e, &es);
[GDB] inspect es
$2 = {
exterror_str = 0x14419 "No error",
class_str = 0x145f8 "Out of resource (storage space or I/O channels)",
action_str = 0x1469c "Retry",
locus_str = 0x1470e "Block device (disk error)"
}
> There's a similar code in mkdir.c. Could you please set LFN=n and see
> if mkdir then also fails on Windows ME?
Yes, it does.
- Raw text -