diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-30 06:10:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-30 06:10:09 +0000 |
commit | 3404b920d6447f42efd18df034142459027ce83d (patch) | |
tree | 823a2fec01bca2e312aa4bf77e414756cc4107c8 /error.c | |
parent | b873f41c1e577168b6322bd96f38b077b44d5314 (diff) | |
download | ruby-3404b920d6447f42efd18df034142459027ce83d.tar.gz |
* error.c (rb_raise): snprintf() termination moved to
win32/win32.c.
* win32/win32.c (valid_filename, str_grow): unused.
* win32/win32.c (NTLoginName, ChildRecord): make static.
* win32/win32.c (CreateChild): argument check.
* win32/win32.c (kill): should not call CloseHandle() when
OpenProcess() failed.
* win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): ensure buffer
terminated. [ruby-talk:69672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -690,7 +690,6 @@ rb_raise(exc, fmt, va_alist) va_init_list(args,fmt); vsnprintf(buf, BUFSIZ, fmt, args); - buf[BUFSIZ - 1] = '\0'; va_end(args); rb_exc_raise(rb_exc_new2(exc, buf)); } |