diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-11 03:44:40 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-11 03:44:40 +0000 |
| commit | 15eeb88d57ed5bf5320a805bc7ee7245423d9267 (patch) | |
| tree | 51ab640fe42ab0613d88b1eaa7592be98e2c8169 | |
| parent | f900fc59cb6819b960fd1efcb953f523d867f20e (diff) | |
| download | ruby-15eeb88d57ed5bf5320a805bc7ee7245423d9267.tar.gz ruby-15eeb88d57ed5bf5320a805bc7ee7245423d9267.tar.xz ruby-15eeb88d57ed5bf5320a805bc7ee7245423d9267.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 8 | ||||
| -rw-r--r-- | eval.c | 1 | ||||
| -rw-r--r-- | ext/socket/getaddrinfo.c | 2 | ||||
| -rw-r--r-- | win32/win32.c | 3 |
4 files changed, 12 insertions, 2 deletions
@@ -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] @@ -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; diff --git a/ext/socket/getaddrinfo.c b/ext/socket/getaddrinfo.c index 514598232..9fb4ebcb0 100644 --- a/ext/socket/getaddrinfo.c +++ b/ext/socket/getaddrinfo.c @@ -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> diff --git a/win32/win32.c b/win32/win32.c index 78e40a6c9..d4deec8d0 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -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); |
