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

* eval.c (run_trap_eval): prototype; avoid VC++ warnings.

* ext/socket/getaddrinfo.c: fix typo. fixed: [ruby-core:03947]

* win32/win32.c: need to include dln.h.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2004-12-11 03:44:40 +00:00
parent d943e1a718
commit 2807bd47af
4 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,11 @@
Sat Dec 11 12:41:55 2004 NAKAMURA Usaku <usa@ruby-lang.org>
* eval.c (run_trap_eval): prototype; avoid VC++ warnings.
* ext/socket/getaddrinfo.c: fix typo. fixed: [ruby-core:03947]
* win32/win32.c: need to include dln.h.
Sat Dec 11 00:10:18 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (io_reopen): [ruby-dev:25150]

1
eval.c
View file

@ -9565,6 +9565,7 @@ thread_reset_raised()
static void rb_thread_ready _((rb_thread_t));
static VALUE run_trap_eval _((VALUE));
static VALUE
run_trap_eval(arg)
VALUE arg;

View file

@ -40,7 +40,7 @@
#include "config.h"
#include <sys/types.h>
#if !defined(__WIN32) && !defined(__VMS)
#if !defined(_WIN32) && !defined(__VMS)
#include <sys/param.h>
#if defined(__BEOS__)
# include <net/socket.h>

View file

@ -12,6 +12,7 @@
#include "ruby.h"
#include "rubysig.h"
#include "dln.h"
#include <fcntl.h>
#include <process.h>
#include <sys/stat.h>
@ -88,7 +89,7 @@
bool NtSyncProcess = TRUE;
static struct ChildRecord *CreateChild(char *, char *, SECURITY_ATTRIBUTES *, HANDLE, HANDLE, HANDLE);
static struct ChildRecord *CreateChild(const char *, const char *, SECURITY_ATTRIBUTES *, HANDLE, HANDLE, HANDLE);
static bool has_redirection(const char *);
static void StartSockets ();
static DWORD wait_events(HANDLE event, DWORD timeout);