Re: cmd: an issue with cd .. command
11 Aug
2011
11 Aug
'11
1:33 p.m.
2011/8/11 Nowres Rafid <nowres.rafed(a)gmail.com>:
here we change the "command"
if (CompareStringW(LOCALE_USER_DEFAULT, NORM_IGNORECASE | SORT_STRINGSORT, command, 2, parmD, -1) == 2) { command += 2; while (*command && *command==' ') command++; }
that's why I decided to change it too.
What I mean by constant is that the "WCHAR* command" contents isn't modified. Here the "command" formal parameter is just a copy of caller's WCHAR pointer, so you don't affect the caller by doing pointer arithmetic on it (although using a local pointer would be clearer/better style), and the actual contents isn't altered. Frédéric NB: You should leave wine-devel as Cc:
5241
Age (days ago)
5241
Last active (days ago)
0 comments
1 participants
participants (1)
-
Frédéric Delanoy