* dir.c (glob_helper): get rid of using String. [ruby-dev:26180]

* eval.c (ruby_options), win32/win32.c (NtInitialize): move argument
  intialization back.  [ruby-dev:26180]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2005-05-18 02:08:00 +00:00
parent aab01c2bc9
commit b272844547
4 changed files with 69 additions and 55 deletions

View file

@ -421,6 +421,11 @@ NtInitialize(int *argc, char ***argv)
WORD version;
int ret;
//
// subvert cmd.exe's feeble attempt at command line parsing
//
*argc = make_cmdvector(GetCommandLine(), argv);
//
// Now set up the correct time stuff
//
@ -433,6 +438,11 @@ NtInitialize(int *argc, char ***argv)
// Initialize Winsock
StartSockets();
#ifdef _WIN32_WCE
// free commandline buffer
wce_FreeCommandLine();
#endif
}
char *