aboutsummaryrefslogtreecommitdiffstats
path: root/win32/win32.c
Commit message (Collapse)AuthorAgeFilesLines
* * win32/win32.c (mypopen): return error status instead of callingusa2001-11-131-5/+5
| | | | | | | | | rb_sys_fail(). * win32/win32.c (do_spawn): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (envix): use GET_ENVIRON and FREE_ENVIRON to get environmentusa2001-11-131-429/+345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * win32/win32.c (isInternalCmd): check return value of NtMakeCmdVector ↵usa2001-09-251-12/+14
| | | | | | (Tietew <tietew@tietew.net>'s patch). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_strerror): fix a bug that sometimes made null message onusa2001-08-241-1/+2
| | | | | | | | | win32 (Tietew <tietew@tietew.net>'s patch). * win32/win32.c (mystrerror): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtCmdGlob): avoid VC++ warning.usa2001-08-151-1/+1
| | | | | | | * lib/mkmf.rb: add -I$(srcdir) to CPPFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (kill): add support of signal 9 on mswin32/mingw32.usa2001-05-121-9/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: use ruby's opendir on mingw32.eban2001-04-011-3/+1
| | | | | | | * win32/dir.h, dir.c, Makefile: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (isUNCRoot): multibyte character support.eban2001-03-211-7/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (win32_stat): WinNT/2k "//host/share" support.eban2001-03-211-3/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rb_iglob -> rb_globieban2001-03-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/dir.h: replace missing/dir.h .usa2001-03-201-5/+3
| | | | | | | | * 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
* * win32/win32.c (win32_stat): UNC support.eban2001-03-201-16/+22
| | | | | | | * dir.c (extract_path): fix "./*" problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (gettimeofday): use GetLocalTime() instead of ftime()eban2001-03-051-6/+16
| | | | | | | for high-resolution timing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (myrename): fix error handling.eban2001-02-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: fasten file I/O on mswin32/mingw32.usa2001-02-171-110/+176
| | | | | | | | | * win32/win32.h: ditto. * rubysig.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (win32_stat): replace stat for enable when pathnameusa2001-02-091-0/+21
| | | | | | | | | | | | | | | 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
* * parse.y (parse_quotedwords): %w should allow parenthesis escape.matz2001-02-081-5/+5
| | | | | | | | | | | | | | | | | | | | | * parse.y (parse_qstring): %q should allow terminator escape. * re.c (rb_reg_options): new method to give an option values. * parse.y (cond0): disable special treating of integer literal in conditional unless option -e is supplied. changes current behavior. experimental. * parse.y (cond0): give warning for string/integer literals and dot operators in conditionals unless option -e is supplied. * re.c (rb_reg_equal): all option flags should be same to be equal. * error.c (Init_Exception): make Interrupt a subclass of SignalException. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***usa2001-01-141-4/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-12-221-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-12-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-11-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-11-161-20/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-11-141-142/+410
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-11-131-6/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-10-311-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-10-021-9/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-09-271-4/+122
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-09-251-7/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-09-251-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-09-181-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-09-011-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-08-151-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-08-151-11/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-08-091-0/+48
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-07-241-6/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-061-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-07-051-1/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-06-281-26/+82
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* see ChangeLog.eban2000-05-291-47/+70
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support mingw32.eban2000-05-131-7/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-18matz2000-02-181-6/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-01matz2000-02-011-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-01-08matz2000-01-081-36/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 20000105matz2000-01-051-41/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991108matz1999-11-081-27/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19990922matz1999-09-221-2/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 990918-repackmatz1999-09-181-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.4.0matz1999-08-131-27/+165
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Win32 VCC support.matz1999-01-201-0/+2206
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e