(no subject)
Ann and Jason Edmeades
us at the-edmeades.demon.co.uk
Fri Apr 19 14:50:00 CDT 2002
I've noticed a small bug when using wcmd, in the changing to a directory, eg
c:\windows and doing 'dir \' fails to show the root directory. Its annoyed
me to the point of investigating and the problem seems to lie further down
inside the DOSFS_DoGetFullPathName routine. A simple testpgm shows the
problem:
#include <windows.h>
void main() {
char A[] = "\\";
char B[1024];
int rc;
rc = GetFullPathName (A, sizeof(B), B, NULL);
printf("rc = %d, a=%s, b=%s\n", rc, A, B);
}
(Note: Testpgm run on w2k)
Unfortunately I also noticed how often this routine is called and how many
cases it appears to be trying to handle, so am slightly nervous about
touching it! I am going to do some more investigation but does anyone have
any thoughts in the meantime?
Thanks
Jason
jason @ the-edmeades.demon.co.uk
More information about the wine-devel
mailing list