diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-30 06:34:27 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-30 06:34:27 +0000 |
| commit | 27d51215664b7b2f9e62f7e1fa14654b9e643865 (patch) | |
| tree | 603a918af468a00c5421cdd63512d947eaac3b4f /win32 | |
| parent | dd5ab9887b2757db0df6674d13a34984f34e4482 (diff) | |
| download | ruby-27d51215664b7b2f9e62f7e1fa14654b9e643865.tar.gz ruby-27d51215664b7b2f9e62f7e1fa14654b9e643865.tar.xz ruby-27d51215664b7b2f9e62f7e1fa14654b9e643865.zip | |
* ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returns
the same address always, so allocate string by ruby_strdup.
* win32/win32.c: prototype; rb_w32_open_osfhandle().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/win32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c index 097aef0ce..94e7c456a 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -82,6 +82,9 @@ static int valid_filename(char *s); static void StartSockets (); static char *str_grow(struct RString *str, size_t new_size); static DWORD wait_events(HANDLE event, DWORD timeout); +#ifndef __BORLANDC__ +static int rb_w32_open_osfhandle(long osfhandle, int flags); +#endif char *NTLoginName; |
