1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/Win32API/Win32API.c (Win32API_Call): RSTRING()->ptr may be

NULL.

* ext/nkf/nkf.c (rb_nkf_guess): ditto.

* ext/readline/readline.c (readline_s_set_completion_append_character):
  ditto.

* ext/socket/socket.c (sock_s_getaddrinfo, sock_s_getnameinfo):
  ditto.

* ext/tcltklib/tcltklib.c (ip_toUTF8, ip_fromUTF8): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2002-08-30 10:42:09 +00:00
parent f5f30e580f
commit e855026500
6 changed files with 22 additions and 14 deletions

View file

@ -249,7 +249,7 @@ Win32API_Call(argc, argv, obj)
} else {
StringValue(str);
rb_str_modify(str);
pParam = RSTRING(str)->ptr;
pParam = StringValuePtr(str)
}
#if defined(_MSC_VER) || defined(__LCC__)
#if defined(_M_IX86)