diff options
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/win32/win32.c b/win32/win32.c index b2f4695a96..b212d3874c 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -85,7 +85,6 @@ #define TO_SOCKET(x) _get_osfhandle(x) static struct ChildRecord *CreateChild(const char *, const char *, SECURITY_ATTRIBUTES *, HANDLE, HANDLE, HANDLE); -static int make_cmdvector(const char *, char ***); static int has_redirection(const char *); static void StartSockets(void); static DWORD wait_events(HANDLE event, DWORD timeout); @@ -423,11 +422,6 @@ NtInitialize(int *argc, char ***argv) #endif // - // subvert cmd.exe's feeble attempt at command line parsing - // - *argc = make_cmdvector(GetCommandLine(), argv); - - // // Now set up the correct time stuff // @@ -437,11 +431,6 @@ NtInitialize(int *argc, char ***argv) // Initialize Winsock StartSockets(); - -#ifdef _WIN32_WCE - // free commandline buffer - wce_FreeCommandLine(); -#endif } char * @@ -1141,8 +1130,8 @@ skipspace(char *ptr) return ptr; } -static int -make_cmdvector(const char *cmd, char ***vec) +int +rb_w32_cmdvector(const char *cmd, char ***vec) { int cmdlen, globbing, len, i; int elements, strsz, done; |