Fw: [PATCH] CMD.exe: Remove code duplication for _splitpath

Ann & Jason Edmeades us at edmeades.me.uk
Mon Apr 30 15:51:34 CDT 2007

"Alexandre Julliard" <julliard at winehq.org> wrote in message
news:<87d51qw39a.fsf at wine.dyndns.org>...
> Jason Edmeades <us at edmeades.me.uk> writes:
> > Note: This makes cmd.exe pull in msvcrt, but so does native
> Native doesn't have a choice, but we do. Unless there are good reasons 
> to import msvcrt it's better to stick to standard libc.

Well, I am trying to convert cmd.exe to unicode, and was hoping to use the
wide crt functions to replace e.g. strstr, strdup etc. This way it's a
relatively simple transition from char to WCHAR without having to rewrite
other functions. LstrcatW and lstrcpyW help, but there's other functions
with no non-CRT equivalents.

Does this change your mind? :-)


More information about the wine-devel mailing list