WCMD not working anymore
Sylvain Petreolle
spetreolle at yahoo.fr
Wed Jul 2 04:52:51 CDT 2003
Trying to run builtin commands with WCMD like dir or exit returns 'File
not found'.
Doing some debug, it seems there is a problem with
kernel.CompareStringA.
In wcmdmain.c, we have this call :
for (i=0; i<=WCMD_EXIT; i++) {
if (CompareString (LOCALE_USER_DEFAULT, NORM_IGNORECASE |
SORT_STRINGSORT,
whichcmd, count, inbuilt[i], -1) == 2) break;
With the command "DIR" entered we have :
...
0009:Call kernel32.CompareStringA(00000400,00001001,40792654
"DIR",00000003,4057bcd3 "DIR",ffffffff) ret=405769b9
0009:Ret kernel32.CompareStringA() retval=00000001 ret=405769b9
....
where the return code should be 2 (CSTR_EQUAL)
=====
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
ICQ #170597259
alias upsf='false ; while [ $? -ne 0 ] ; do cvs update -APd ; done 2>&1 |tee cvslog'
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
More information about the wine-devel
mailing list