diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-10 05:19:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-10 05:19:25 +0000 |
commit | 3c402604dbcad8573fdcdeda4d84406a66740a7a (patch) | |
tree | cebd2c9e535fe2d4fffa46571fba25e92e480e36 /common.mk | |
parent | 919ab7a3ac69315755211a16666bd3de44cffcc9 (diff) | |
download | ruby-3c402604dbcad8573fdcdeda4d84406a66740a7a.tar.gz |
win32.c: use ruby_strdup
* win32/win32.c (getifaddrs): use ruby_strdup instead of
combination ruby_xmalloc, lstrlen and lstrcpy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -711,7 +711,7 @@ prelude.$(OBJEXT): {$(VPATH)}prelude.c compile.$(OBJEXT): {$(VPATH)}opt_sc.inc {$(VPATH)}optunifs.inc win32/win32.$(OBJEXT): {$(VPATH)}win32/win32.c {$(VPATH)}dln.h {$(VPATH)}dln_find.c \ - {$(VPATH)}internal.h $(RUBY_H_INCLUDES) $(PLATFORM_D) + {$(VPATH)}internal.h {$(VPATH)}util.h $(RUBY_H_INCLUDES) $(PLATFORM_D) win32/file.$(OBJEXT): {$(VPATH)}win32/file.c {$(VPATH)}thread.h \ $(RUBY_H_INCLUDES) $(PLATFORM_D) |