mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* 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:
parent
aab01c2bc9
commit
b272844547
4 changed files with 69 additions and 55 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue