mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32.c: use plain strdup
* win32/win32.c (insert): should use plain strdup() instead of ruby_strdup() at startup time, and plain free()ed in cmdglob(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d57e043ab5
commit
4e43e7ad0d
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Sep 7 22:05:28 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (insert): should use plain strdup() instead of
|
||||
ruby_strdup() at startup time, and plain free()ed in cmdglob().
|
||||
|
||||
Mon Sep 7 16:50:07 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm_core.h (rb_vm_struct): define objspace always regardless
|
||||
|
|
|
@ -90,6 +90,7 @@ static char *w32_getenv(const char *name, UINT cp);
|
|||
#undef close
|
||||
#undef setsockopt
|
||||
#undef dup2
|
||||
#undef strdup
|
||||
|
||||
#if RUBY_MSVCRT_VERSION >= 140
|
||||
# define _filbuf _fgetc_nolock
|
||||
|
|
Loading…
Reference in a new issue