usa
b369eea79f
* file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32.
...
* win32/Makefile.sub (LIBS): use oldnames.lib.
* win32/win32.c (rb_w32_getcwd): follow above change.
* win32/win32.h: ditto.
* wince/direct.c, wince/direct.h (getcwd): ditto.
* wince/io.h: ditto.
* wince/string.c, wince/wince.h (stricmp, strnicmp): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-04 18:17:30 +00:00
usa
d80285a9fe
* process.c (rb_proc_exec): use same logic as DJGPP on win32 ports.
...
* process.c (rb_f_system): ditto.
* win32/win32.c, win32/win32.h (do_aspawn): [new]. for arrayed
arguments.
* win32/win32.c (CreateChild): add new argument for real filename of
executing process.
* win32/win32.c (NtHasRedirection, pipe_exec): follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-04 06:26:10 +00:00
eban
220a9926c5
* ext/extmk.rb (create_makefile): check only `-' option.
...
* configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS.
* win32/win32.h: prototypes for isinf, isnan are not needed on MinGW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 14:59:35 +00:00
uema2
b19e36a214
* configure.in, defines.h, dir.c, dir.h, dln.c, error.c,
...
eval.c, file.c, hash.c, io.c, main.c, missing.c,
process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h,
bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h,
ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c,
ext/socket/getnameinfo.c, ext/socket/socket.c,
ext/tcltklib/stubs.c
: replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER
* wince/exe.mak : delete \r at the end of lines.
* wince/mswince-ruby17.def : delete rb_obj_become
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-15 03:18:08 +00:00
nobu
31ab445fea
* win32/win32.c (rb_w32_fclose, rb_w32_close): use closesocket()
...
for socket. [ruby-win32:382]
* win32/win32.c (StartSockets): set NtSocketsInitialized.
* win32/win32.h: prototypes; rb_w32_fclose, rb_w32_close
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-10 21:07:16 +00:00
nobu
c691d09dc1
* ext/socket/socket.c (init_sock): no need for special finalizer,
...
socket descriptor is no longer duplicated in 1.7.
[ruby-talk:50732]
* win32/win32.c, win32/win32.h (rb_w32_fddup, rb_w32_fdclose):
delete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-01 15:26:39 +00:00
nobu
7345d0efd4
* win32/win32.c (rb_w32_open_osfhandle): adjust
...
rb_w32_open_osfhandle() with _open_osfhandle().
* win32/win32.c (rb_w32_accept, rb_w32_socket): return -1 on
error.
* win32/win32.h: should use file descriptor instead of SOCKET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-29 09:31:58 +00:00
usa
d0c6f63804
* win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11 08:50:13 +00:00
eban
b3a426e70a
* win32/win32.h (S_I?USR): define only if not mingw32.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-09 14:48:21 +00:00
usa
d1a4bf7d3a
* time.c: prototype; time_free() to avoid VC++ warnings.
...
* win32/win32.c (rb_w32_stat): remove S_IWGRP and S_IWOTH bits from
st_mode.
* win32/win32.h (S_I*): define if not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08 10:06:40 +00:00
usa
c1454b3acb
* win32/win32.h: define SIGINT and SIGKILL if not defined.
...
* win32/win32.c: remove definition of SIGINT and SIGKILL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-28 02:39:29 +00:00
usa
2f2143a2be
* io.c (pipe_finalize, pipe_popen): two-way pipe support for win32.
...
* win32/win32.c (ChildRecord, FindFreeChildSlot): ditto.
* win32/win32.c, win32/win32.h (pipe_exec): new function for two-way
pipe support for win32.
* win32/win32.c, win32/win32.h (FindPipedChildSlot, rb_w32_popen,
rb_w32_pclose): removed functions for two-way pipe support for win32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-28 18:26:01 +00:00
H_Konishi
d0b3651906
new platform [bccwin32] merged.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 01:27:48 +00:00
H_Konishi
d7c1784297
Wed May 29 18:55:47 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org>
...
* function renames my* and win32_* to rb_w32_* in win32/win32.c
fixed files win32/win32.c, win32/win32.h, win32/dir.h,
hash.c, rubysig.h, signal.c, ext/socket/socket.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-29 10:22:19 +00:00
usa
a79f85e6cf
* hash.c (ruby_setenv): remove USE_WIN32_RTL_ENV block since it's
...
obsoleted.
* win32/win32.c, win32/win32.h: sort out #if 0 - #endif or others.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-14 18:41:46 +00:00
usa
c5ca1bc929
* hash.c (envix): use GET_ENVIRON and FREE_ENVIRON to get environment
...
variables list.
* hash.c (env_keys): ditto.
* hash.c (env_each_key): ditto.
* hash.c (env_values): ditto.
* hash.c (env_keys): ditto.
* hash.c (env_each_value): ditto.
* hash.c (env_each): ditto.
* hash.c (env_inspect): ditto.
* hash.c (env_to_a): ditto.
* hash.c (env_size): ditto.
* hash.c (env_empty_p): ditto.
* hash.c (env_has_value): ditto.
* hash.c (env_index): ditto.
* hash.c (env_to_hash): ditto.
* win32/win32.c (win32_getenv): use static buffer.
* win32/win32.c, win32/win32.h (win32_get_environ): get environment
variables list. [new]
* win32/win32.c, win32/win32.h (win32_free_environ): free environment
variables list. [new]
* win32/win32.c (do_spawn): use CreateChild() instead of calling
CreateProcess() directly. Original patches comes from Patrick Cheng.
* win32/win32.c (mypopen): ditto.
* win32/win32.c (mypclose): use rb_syswait() instead of waiting in this
function.
* win32/win32.c (waitpid): use wait_child() instead of _cwait().
* win32/win32.c (CreateChild): added. [new]
* win32/win32.c (wait_child): added. [new]
* win32/win32.c (FindFirstChildSlot): added. [new]
* win32/win32.c (FindChildSlot): added. [new]
* win32/win32.c (FindPipedChildSlot): added. [new]
* win32/win32.c (CloseChildHandle): added. [new]
* win32/win32.c (FindFreeChildSlot): added. [new]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-11-13 03:59:20 +00:00
usa
dfaaa55199
* win32/win32.h: fix problems with BC++ (ruby-bugs#PR161).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-07 00:21:40 +00:00
usa
98e25a542a
* win32/dir.h: replace missing/dir.h .
...
* win32/win32.h: ditto.
* win32/win32.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-20 23:10:05 +00:00
matz
1f904eed44
* dir.c (glob_helper): replace lstat() by stat() to follow symlink
...
in the case like 'symlink/*'.
* dir.c (glob_helper): gave warning too much.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-19 03:20:24 +00:00
usa
92e4b1b06e
* win32/win32.c: fasten file I/O on mswin32/mingw32.
...
* win32/win32.h: ditto.
* rubysig.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-17 15:17:10 +00:00
usa
08f8ab9c37
* win32/win32.c (win32_stat): replace stat for enable when pathname
...
ends with '/' or '\' for mswin32 on Win9X / Win2k.
* win32/win32.h: ditto.
* ruby.h: ditto.
* dir.c (rb_glob_helper): ditto.
* file.c (rb_stat, rb_file_s_stat, eaccess, check3rdbyte): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-09 15:02:14 +00:00
eban
6ee84cbabe
NORETURN, INLINE
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-11 01:56:08 +00:00
eban
74d0eaf6a2
NORETURN
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-10 08:09:01 +00:00
eban
6b5ad7c5b2
setres[ug]id, NORETURN
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-10 07:30:18 +00:00
matz
074203d270
matz
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-11-16 07:24:21 +00:00
matz
46620a8772
matz
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-11-14 07:10:31 +00:00
matz
6f36fedaa4
matz
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-27 09:11:13 +00:00
matz
c345257ff6
matz
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-15 06:22:49 +00:00
eban
a3edeb5fec
eban
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-09 04:26:06 +00:00
matz
224e59c6f8
matz
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-06-28 08:31:35 +00:00
eban
6d53b692ab
support mingw32.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-13 16:13:31 +00:00
matz
3d6fde3365
2000-02-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-02-18 06:59:36 +00:00
matz
de71615260
20000105
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-01-05 04:41:21 +00:00
matz
65a5162550
1.4.0
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-08-13 05:45:20 +00:00
matz
edf2e9b7c7
Win32 VCC support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-01-20 04:45:32 +00:00