wrowe 01/09/17 14:24:29
Modified: threadproc/win32 proc.c
Log:
Eliminate the //?/ paths altogether from proc_create. This simply isn't
that good an idea, too many user apps expect d:\ or \\mach\share\ from
the args and GetModuleName calls (the later returns the true name as
given by 'progname'.) Safer to simply ignore these.
Revision Changes Path
1.55 +1 -1 apr/threadproc/win32/proc.c
Index: proc.c
===================================================================
RCS file: /home/cvs/apr/threadproc/win32/proc.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- proc.c 2001/09/17 20:02:34 1.54
+++ proc.c 2001/09/17 21:24:29 1.55
@@ -441,7 +441,7 @@
apr_size_t ncwd = 0, nwcwd = 0;
apr_wchar_t *wcwd = NULL;
- if (((rv = utf8_to_unicode_path(wprg, nwprg, progname))
+ if (((rv = conv_utf8_to_ucs2(progname, &nprg, wprg, &nwprg))
!= APR_SUCCESS)
|| ((rv = conv_utf8_to_ucs2(cmdline, &ncmd, wcmd, &nwcmd))
!= APR_SUCCESS)) {