/[ruby]/branches/ruby_1_8/io.c
ViewVC logotype

Log of /branches/ruby_1_8/io.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:


Revision 31655 - (view) (annotate) - [select for diffs]
Modified Fri May 20 21:21:39 2011 UTC (10 years, 1 month ago) by shyouhei
File length: 141646 byte(s)
Diff to previous 28294 (colored)
* eval.c (rb_thread_atfork): When a ruby process forks, its random
  seed shall be reinitialized to prevent CVE-2003-0900 situation.
  This bug affects for 1.8 and earlier series, but not for 1.9.
  fixed [ruby-core:34944].

* io.c (pipe_open): ditto.

* random.c (rb_reset_random_seed): ditto.

* intern.h (rb_reset_random_seed): ditto.


Revision 28294 - (view) (annotate) - [select for diffs]
Modified Sat Jun 12 01:04:31 2010 UTC (11 years ago) by matz
File length: 141618 byte(s)
Diff to previous 27983 (colored)
* io.c (rb_f_syscall): should check argument string taint before
  invoking system calls.

Revision 27983 - (view) (annotate) - [select for diffs]
Modified Sun May 23 20:00:48 2010 UTC (11 years, 1 month ago) by kosaki
File length: 141614 byte(s)
Diff to previous 27339 (colored)
        * io.c, eval.c, process.c: remove all condition of r26371.
	  now, all platform use the same way. [Bug #3278][ruby-core:30167]



Revision 27339 - (view) (annotate) - [select for diffs]
Modified Wed Apr 14 08:53:49 2010 UTC (11 years, 2 months ago) by nobu
File length: 141898 byte(s)
Diff to previous 26972 (colored)
* io.c (appendline): should terminate.
  http://golf.shinh.org/p.rb?DECimal+number+to+BINary#Ruby


Revision 26972 - (view) (annotate) - [select for diffs]
Modified Thu Mar 18 04:52:27 2010 UTC (11 years, 3 months ago) by naruse
File length: 141867 byte(s)
Diff to previous 26645 (colored)
* io.c, eval.c, process.c: add linux to r26371's condition.
  patched by Motohiro KOSAKI [ruby-core:28151]

Revision 26645 - (view) (annotate) - [select for diffs]
Modified Thu Feb 11 11:45:56 2010 UTC (11 years, 4 months ago) by akr
File length: 141795 byte(s)
Diff to previous 26437 (colored)
* io.c (rb_io_modenum_mode): return "r" for O_RDONLY|O_APPEND.
  [ruby-dev:40379]


Revision 26437 - (view) (annotate) - [select for diffs]
Modified Wed Jan 27 05:11:17 2010 UTC (11 years, 5 months ago) by naruse
File length: 141745 byte(s)
Diff to previous 26371 (colored)
* io.c, eval.c, process.c: add __APPLE__ to r26371's condition.
  patched by Wataru Kimura [ruby-dev:40145]


Revision 26371 - (view) (annotate) - [select for diffs]
Modified Thu Jan 21 16:29:51 2010 UTC (11 years, 5 months ago) by usa
File length: 141633 byte(s)
Diff to previous 26253 (colored)
* eval.c (thread_timer, rb_thread_stop_timer): check the timing of
  stopping timer.  patch from KOSAKI Motohiro <kosaki.motohiro _AT_
  jp.fujitsu.com>

* eval.c (rb_thread_start_timer): NetBSD5 seems to be hung when calling
  pthread_create() from pthread_atfork()'s parent handler.

* io.c (pipe_open): workaround for NetBSD5. stop timer thread before
  fork(), and start it if needed.

* process.c (rb_f_fork, rb_f_system): ditto.
  fixed [ruby-dev:40074]



Revision 26253 - (view) (annotate) - [select for diffs]
Modified Fri Jan 8 09:51:23 2010 UTC (11 years, 5 months ago) by nobu
File length: 141427 byte(s)
Diff to previous 26252 (colored)
* io.c (io_fwrite): preserve errno.  [ruby-core:27425]


Revision 26252 - (view) (annotate) - [select for diffs]
Modified Fri Jan 8 08:08:21 2010 UTC (11 years, 5 months ago) by usa
File length: 141305 byte(s)
Diff to previous 25485 (colored)
* io.c (rb_io_s_read): close the IO if an exception is raised on
  seeking. [ruby-core:27429]


Revision 25485 - (view) (annotate) - [select for diffs]
Modified Mon Oct 26 03:06:29 2009 UTC (11 years, 8 months ago) by nobu
File length: 140920 byte(s)
Diff to previous 25430 (colored)
* io.c (io_fwrite): adjust stdio file position after direct write on
  BSDish platforms.   [ruby-core:26300]


Revision 25430 - (view) (annotate) - [select for diffs]
Modified Thu Oct 22 01:00:18 2009 UTC (11 years, 8 months ago) by nobu
File length: 140614 byte(s)
Diff to previous 25181 (colored)
* *.[chy]: removed trailing spaces.

Revision 25181 - (view) (annotate) - [select for diffs]
Modified Fri Oct 2 08:25:29 2009 UTC (11 years, 9 months ago) by matz
File length: 141382 byte(s)
Diff to previous 24751 (colored)
* io.c (rb_io_fptr_finalize): free fptr to avoid memory leaks.
  fixed: #2009   [ruby-core:25173] [ruby-dev:39410]

Revision 24751 - (view) (annotate) - [select for diffs]
Modified Fri Sep 4 21:29:29 2009 UTC (11 years, 9 months ago) by nobu
File length: 141383 byte(s)
Diff to previous 24496 (colored)
* io.c (rb_io_binmode): check if closed regardless platforms.
  [ruby-core:25363]


Revision 24496 - (view) (annotate) - [select for diffs]
Modified Tue Aug 11 05:00:23 2009 UTC (11 years, 10 months ago) by usa
File length: 141391 byte(s)
Diff to previous 24284 (colored)
	* io.c (rb_sysopen): workaround for MSVCRT's bug.
	  [ruby-core:24838]



Revision 24284 - (view) (annotate) - [select for diffs]
Modified Sun Jul 26 10:17:39 2009 UTC (11 years, 11 months ago) by nobu
File length: 141308 byte(s)
Diff to previous 24283 (colored)
* io.c (argf_eof): go to the next file if called after ARGF.close
  or ARGF.skip.  [ruby-core:24561]


Revision 24283 - (view) (annotate) - [select for diffs]
Modified Sun Jul 26 09:42:28 2009 UTC (11 years, 11 months ago) by nobu
File length: 141294 byte(s)
Diff to previous 24223 (colored)
* io.c (Init_IO): $FILENAME should correspond to the first element
  of ARGV initially.


Revision 24223 - (view) (annotate) - [select for diffs]
Modified Tue Jul 21 10:40:47 2009 UTC (11 years, 11 months ago) by usa
File length: 141288 byte(s)
Diff to previous 23824 (colored)
	* io.c (rb_io_flush): fsync() after buffer is flushed on win32.
	  backported from trunk.  [ruby-core:20043]



Revision 23824 - (view) (annotate) - [select for diffs]
Modified Mon Jun 22 16:31:49 2009 UTC (12 years ago) by akr
File length: 141245 byte(s)
Diff to previous 23704 (colored)
rdoc update.


Revision 23704 - (view) (annotate) - [select for diffs]
Modified Tue Jun 16 13:23:04 2009 UTC (12 years ago) by nobu
File length: 141219 byte(s)
Diff to previous 23700 (colored)
* io.c (rb_io_open), math.c (domain_check), object.c (boot_defclass):
  constified.


Revision 23700 - (view) (annotate) - [select for diffs]
Modified Tue Jun 16 01:15:19 2009 UTC (12 years ago) by matz
File length: 141118 byte(s)
Diff to previous 23052 (colored)
* io.c (argf_close): always call #close method.  [ruby-core:23853]

* io.c (argf_skip): should close only when current_file is available.

Revision 23052 - (view) (annotate) - [select for diffs]
Modified Mon Mar 23 12:07:23 2009 UTC (12 years, 3 months ago) by knu
File length: 141165 byte(s)
Diff to previous 23018 (colored)
* array.c (ary_resize_capa): Remove an unused function.

* array.c, bignum.c, dir.c, enumerator.c, gc.c, io.c, numeric.c,
  object.c, re.c, string.c, struct.c: Mixing two styles is not a
  good thing.  Stick with the K&R style in 1.8.



Revision 23018 - (view) (annotate) - [select for diffs]
Modified Fri Mar 20 09:43:24 2009 UTC (12 years, 3 months ago) by knu
File length: 140891 byte(s)
Diff to previous 22113 (colored)
* array.c (Array#try_convert): New method backported from 1.9.

* hash.c (Hash#try_convert): New method backported from 1.9.

* io.c (IO#try_convert): New method backported from 1.9.

* re.c (Regexp#try_convert): New method backported from 1.9.

* string.c (String#try_convert): New method backported from 1.9.



Revision 22113 - (view) (annotate) - [select for diffs]
Modified Sat Feb 7 14:50:58 2009 UTC (12 years, 4 months ago) by akr
File length: 140404 byte(s)
Diff to previous 22110 (colored)
update rdoc.


Revision 22110 - (view) (annotate) - [select for diffs]
Modified Sat Feb 7 12:04:31 2009 UTC (12 years, 4 months ago) by akr
File length: 140349 byte(s)
Diff to previous 21913 (colored)
add not about IO#pos and IO#readpartial.


Revision 21913 - (view) (annotate) - [select for diffs]
Modified Sat Jan 31 07:07:21 2009 UTC (12 years, 5 months ago) by akr
File length: 140168 byte(s)
Diff to previous 21048 (colored)
* io.c (io_getpartial): fflush after read for updating pos in FILE.
  not portable, I guess.  [ruby-core:21561]


Revision 21048 - (view) (annotate) - [select for diffs]
Modified Thu Dec 25 16:15:00 2008 UTC (12 years, 6 months ago) by akr
File length: 140065 byte(s)
Diff to previous 19424 (colored)
rdoc update.


Revision 19424 - (view) (annotate) - [select for diffs]
Modified Fri Sep 19 00:32:22 2008 UTC (12 years, 9 months ago) by matz
File length: 140018 byte(s)
Diff to previous 18378 (colored)
* dln.c: newer BeOS support.  a patch from Pete Goodeve
  <pete.goodeve at computer.org> in [ruby-core:18712].

Revision 18378 - (view) (annotate) - [select for diffs]
Modified Tue Aug 5 20:10:16 2008 UTC (12 years, 10 months ago) by nobu
File length: 139989 byte(s)
Diff to previous 16870 (colored)
* file.c (rb_find_file): reset to real class.

* io.c (io_reopen): ditto.


Revision 16870 - (view) (annotate) - [select for diffs]
Modified Fri Jun 6 16:50:50 2008 UTC (13 years ago) by usa
File length: 139990 byte(s)
Diff to previous 16741 (colored)
	* io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.
	  fixed [ruby-dev:34979]



Revision 16741 - (view) (annotate) - [select for diffs]
Modified Sun Jun 1 20:28:01 2008 UTC (13 years, 1 month ago) by nobu
File length: 139954 byte(s)
Diff to previous 16740 (colored)
* io.c (rscheck), marshal.c (w_nbyte, w_bytes, w_unique),
  (path2class, path2module): constified.

* pack.c (pack_unpack), process.c (rb_syswait): suppress warnings.


Revision 16740 - (view) (annotate) - [select for diffs]
Modified Sun Jun 1 19:55:25 2008 UTC (13 years, 1 month ago) by nobu
File length: 139948 byte(s)
Diff to previous 16716 (colored)
* suppress warnings on cygwin, mingw and mswin.


Revision 16716 - (view) (annotate) - [select for diffs]
Modified Sat May 31 09:28:20 2008 UTC (13 years, 1 month ago) by nobu
File length: 139784 byte(s)
Diff to previous 16632 (colored)
* suppress warnings with -Wwrite-string.


Revision 16632 - (view) (annotate) - [select for diffs]
Modified Tue May 27 09:16:11 2008 UTC (13 years, 1 month ago) by knu
File length: 139685 byte(s)
Diff to previous 16629 (colored)
* ext/stringio/stringio.c (strio_each): Return an enumerator if no
  block is given.
  (strio_each_byte): Return an enumerator if no block is given,
  and return self if one is given as the rdoc says.

* io.c (rb_io_each_byte): Fix rdoc.  IO#each_byte returns self,
  not nil.


Revision 16629 - (view) (annotate) - [select for diffs]
Modified Tue May 27 06:39:47 2008 UTC (13 years, 1 month ago) by knu
File length: 139685 byte(s)
Diff to previous 16626 (colored)
* io.c (rb_io_each_char, argf_each_char, Init_IO):
  Add {IO#,ARGF.}{each_char,chars}.


Revision 16626 - (view) (annotate) - [select for diffs]
Modified Tue May 27 04:44:12 2008 UTC (13 years, 1 month ago) by knu
File length: 137903 byte(s)
Diff to previous 16623 (colored)
* io.c (Init_IO): Define {IO,ARGF}#{getbyte,readbyte}.


Revision 16623 - (view) (annotate) - [select for diffs]
Modified Tue May 27 04:22:56 2008 UTC (13 years, 1 month ago) by knu
File length: 137645 byte(s)
Diff to previous 16507 (colored)
* io.c: (rb_io_lines, rb_io_bytes, Init_IO): Define
  IO#{lines,bytes} and ARGF.{lines,bytes}.


Revision 16507 - (view) (annotate) - [select for diffs]
Modified Wed May 21 14:29:55 2008 UTC (13 years, 1 month ago) by nobu
File length: 136286 byte(s)
Diff to previous 16025 (colored)
* eval.c (search_method, remove_method, error_print, rb_alias)
  (rb_eval, rb_rescue2, search_required, Init_eval, rb_thread_create),
  gc.c (rb_source_filename, Init_stack), io.c (rb_io_getline),
  parse.y (rb_id2name, rb_parser_free): suppress warnings.


Revision 16025 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 03:35:55 2008 UTC (13 years, 2 months ago) by nobu
File length: 136282 byte(s)
Diff to previous 16010 (colored)
* rubyio.h (rb_io_t): renamed from OpenFile.

* ruby.h (struct RHash), file.c, gc.c, io.c, ext/dl/dl.c,
  ext/io/wait/wait.c, ext/pty/pty.c, ext/readline/readline.c,
  ext/socket/socket.c: ditto.

* win32/win32.h: removed workaround for OpenFile.


Revision 16010 - (view) (annotate) - [select for diffs]
Modified Mon Apr 14 09:19:52 2008 UTC (13 years, 2 months ago) by knu
File length: 136361 byte(s)
Diff to previous 15287 (colored)
* enum.c (enum_find, enum_reject): Return an enumerator if no
  block is given.

* io.c (rb_io_each_line, rb_io_each_byte, rb_io_s_foreach,
  argf_each_line, argf_each_byte): Ditto.

* string.c (str_gsub): Ditto.


Revision 15287 - (view) (annotate) - [select for diffs]
Modified Mon Jan 28 03:33:05 2008 UTC (13 years, 5 months ago) by matz
File length: 136108 byte(s)
Diff to previous 15154 (colored)
* io.c (rb_open_file): should check NUL in path.
  <http://www.rubyist.net/~matz/20080125.html#c01>.

* io.c (rb_io_s_popen): ditto.

* io.c (rb_io_reopen): ditto.

* io.c (next_argv): ditto.

* io.c (rb_io_s_foreach): ditto.

* io.c (rb_io_s_readlines): ditto.

* io.c (rb_io_s_read): ditto.

Revision 15154 - (view) (annotate) - [select for diffs]
Modified Mon Jan 21 08:43:58 2008 UTC (13 years, 5 months ago) by knu
File length: 136098 byte(s)
Diff to previous 14858 (colored)
* io.c (rb_io_mode_flags, rb_io_mode_modenum): Ignore encoding
  options for forward compatibility.


Revision 14858 - (view) (annotate) - [select for diffs]
Modified Thu Jan 3 02:29:04 2008 UTC (13 years, 6 months ago) by nobu
File length: 135776 byte(s)
Diff to previous 13774 (colored)
* io.c (fptr_finalize): clear errno first.  [ruby-talk:284492]


Revision 13774 - (view) (annotate) - [select for diffs]
Modified Thu Oct 25 05:19:33 2007 UTC (13 years, 8 months ago) by nobu
File length: 135761 byte(s)
Diff to previous 12147 (colored)
* io.c (rb_io_tell, rb_io_seek): check errno too.  [ruby-dev:32093]


Revision 12147 - (view) (annotate) - [select for diffs]
Modified Wed Apr 4 15:42:16 2007 UTC (14 years, 3 months ago) by nobu
File length: 135728 byte(s)
Diff to previous 12146 (colored)
* error.c (rb_notimplement), io.c (pipe_open): removed definite
  articles and UNIX manual section from messages.  [ruby-dev:30690]


Revision 12146 - (view) (annotate) - [select for diffs]
Modified Wed Apr 4 08:08:46 2007 UTC (14 years, 3 months ago) by nobu
File length: 135733 byte(s)
Diff to previous 12144 (colored)
* io.c (pipe_open): refined the message of NotImplementedError.
  [ruby-dev:30685]


Revision 12144 - (view) (annotate) - [select for diffs]
Modified Wed Apr 4 01:17:34 2007 UTC (14 years, 3 months ago) by nobu
File length: 135635 byte(s)
Diff to previous 12127 (colored)
* io.c (pipe_open): raise NotImplementedError for command "-" on
  platforms where fork(2) is not available.  [ruby-dev:30681]


Revision 12127 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 14:40:08 2007 UTC (14 years, 3 months ago) by nobu
File length: 135531 byte(s)
Diff to previous 11711 (colored)
* node.h (struct rb_thread.locals): explicit as struct.
  [ruby-core:10585]

* eval.c, node.h (enum rb_thread_status, struct rb_thread,
  rb_curr_thread, rb_main_thread): prefixed.  [ruby-core:10586]

* file.c (chompdirsep): made an unprefixed name static.

* io.c (io_fread): ditto.


Revision 11711 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 06:21:47 2007 UTC (14 years, 4 months ago) by knu
File length: 135524 byte(s)
Diff to previous 11708 (colored)
* io.c (rb_f_syscall): Fix buffer overflow with syscall
  arguments.  [ruby-bugs:PR#8541]


Revision 11708 - (view) (annotate) - [select for diffs]
Modified Mon Feb 12 23:01:19 2007 UTC (14 years, 4 months ago) by shyouhei
File length: 135420 byte(s)
Diff to previous 11455 (colored)
set svn:eol-style

Revision 11455 - (view) (annotate) - [select for diffs]
Modified Wed Jan 3 03:37:56 2007 UTC (14 years, 6 months ago) by matz
File length: 135420 byte(s)
Diff to previous 11454 (colored)
* io.c (ruby_dup): start GC on ENOMEM as well.

Revision 11454 - (view) (annotate) - [select for diffs]
Modified Wed Jan 3 03:14:57 2007 UTC (14 years, 6 months ago) by matz
File length: 135401 byte(s)
Diff to previous 11453 (colored)
Revert r11453

Revision 11453 - (view) (annotate) - [select for diffs]
Modified Wed Jan 3 02:51:44 2007 UTC (14 years, 6 months ago) by matz
File length: 135420 byte(s)
Diff to previous 10850 (colored)
* io.c (ruby_dup): start GC on ENOMEM as well.

Revision 10850 - (view) (annotate) - [select for diffs]
Modified Mon Sep 4 07:26:47 2006 UTC (14 years, 10 months ago) by matz
File length: 135401 byte(s)
Diff to previous 10648 (colored)
* io.c (pipe_open): command name should not contain null bytes.
  [ruby-dev:29421]

* process.c (proc_spawn): ditto.

* process.c (proc_spawn_n): ditto.

* process.c (rb_f_system): ditto.


Revision 10648 - (view) (annotate) - [select for diffs]
Modified Mon Jul 31 06:34:10 2006 UTC (14 years, 11 months ago) by matz
File length: 135399 byte(s)
Diff to previous 10636 (colored)
* ruby.h: use ifdef (or defined) for macro constants that may or
  may not be defined to shut up gcc's -Wundef warnings.
  [ruby-core:08447]


Revision 10636 - (view) (annotate) - [select for diffs]
Modified Fri Jul 28 16:27:42 2006 UTC (14 years, 11 months ago) by matz
File length: 135396 byte(s)
Diff to previous 10395 (colored)
* io.c (io_close): always calls "close" method of the receiver.
  [ruby-core:6911] [ruby-core:8112]


Revision 10395 - (view) (annotate) - [select for diffs]
Modified Mon Jun 26 07:23:47 2006 UTC (15 years ago) by matz
File length: 135367 byte(s)
Diff to previous 10180 (colored)
* io.c (pipe_open): avoid closing uninitialized file descriptors.
  a patch from <tommy at tmtm.org> [ruby-dev:28600]


Revision 10180 - (view) (annotate) - [select for diffs]
Modified Mon May 22 22:12:57 2006 UTC (15 years, 1 month ago) by akr
File length: 135193 byte(s)
Diff to previous 10176 (colored)
avoid useless fcntl in rb_io_set_nonblock.


Revision 10176 - (view) (annotate) - [select for diffs]
Modified Mon May 22 08:38:37 2006 UTC (15 years, 1 month ago) by akr
File length: 135067 byte(s)
Diff to previous 10149 (colored)
* rubyio.h (rb_io_set_nonblock): declared.

* io.c (rb_io_set_nonblock): new function.
  (io_getpartial): nonblocking read support.
  (io_read_nonblock): new method: IO#read_nonblock.
  (io_write_nonblock): new method: IO#write_nonblock.

* ext/socket/socket.c
  (sock_connect_nonblock): new method: Socket#connect_nonblock.
  (sock_accept_nonblock): new method: Socket#accept_nonblock.
  (sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock.

  [ruby-core:7917]


Revision 10149 - (view) (annotate) - [select for diffs]
Modified Sat May 13 07:43:41 2006 UTC (15 years, 1 month ago) by akr
File length: 132206 byte(s)
Diff to previous 10139 (colored)
update readpartial doc.


Revision 10139 - (view) (annotate) - [select for diffs]
Modified Tue May 9 02:12:11 2006 UTC (15 years, 1 month ago) by akr
File length: 131875 byte(s)
Diff to previous 10060 (colored)
note EAGAIN on readpartial document.


Revision 10060 - (view) (annotate) - [select for diffs]
Modified Tue Mar 28 01:49:32 2006 UTC (15 years, 3 months ago) by akr
File length: 131862 byte(s)
Diff to previous 9922 (colored)
doc update. [ruby-talk:186294]


Revision 9922 - (view) (annotate) - [select for diffs]
Modified Tue Feb 14 02:23:34 2006 UTC (15 years, 4 months ago) by matz
File length: 131624 byte(s)
Diff to previous 9833 (colored)
* io.c (argf_forward): should not use frame->argv.
  [ruby-core:07358]


Revision 9833 - (view) (annotate) - [select for diffs]
Modified Fri Jan 13 20:41:02 2006 UTC (15 years, 5 months ago) by akr
File length: 131505 byte(s)
Diff to previous 9830 (colored)
* io.c (READ_DATA_PENDING, READ_DATA_PENDING_COUNT): defined
  for DragonFly BSD 1.4.0.


Revision 9830 - (view) (annotate) - [select for diffs]
Modified Fri Jan 13 16:47:34 2006 UTC (15 years, 5 months ago) by akr
File length: 131262 byte(s)
Diff to previous 9718 (colored)
Tue Jan 11 15:00:00 2006  Ville Mattila  <mulperi@iki.fi>

       * io.c (READ_PENDING*): Support solaris 64-bit enviroments.
         Solaris defines a opaque FILE struct when compiling 64 bit
         binaries. This means that we dont have access to _ptr etc.
         members anymore. The solution by Steven Lumos is to define
         FILE64 that has needed members available. I've modified
         the origanal patch a bit so that it compiles both with gcc
         and now free sun studio 11 compiler and both amd64 and sparc.
         NOTE! We have to 64 bit solaris FILE structure time to time
         otherwise we'll get breakage.
         [ruby-core:7106]

Fri Jan  6 10:16:20 2006  Steven Lumos <steven@lumos.us>

       * io.c (READ_DATA_PENDING): defined for 64bit Solaris on SPARC.
         [ruby-core:7057]
         (READ_DATA_PENDING_COUNT): ditto.
         (READ_DATA_PENDING_PTR): ditto.


Revision 9718 - (view) (annotate) - [select for diffs]
Modified Mon Dec 19 17:11:20 2005 UTC (15 years, 6 months ago) by akr
File length: 130543 byte(s)
Diff to previous 9677 (colored)
* io.c (rb_f_backquote): fix a GC problem on
  IA64 with gcc 4.0.3 20051216 (prerelease) -O3.


Revision 9677 - (view) (annotate) - [select for diffs]
Modified Mon Dec 12 03:36:49 2005 UTC (15 years, 6 months ago) by akr
File length: 130524 byte(s)
Diff to previous 9673 (colored)
precedes registering global VALUE variables before initializing it.


Revision 9673 - (view) (annotate) - [select for diffs]
Modified Mon Dec 12 00:36:54 2005 UTC (15 years, 6 months ago) by matz
File length: 130525 byte(s)
Diff to previous 9457 (colored)
* ext/digest/digest.c (rb_digest_base_s_digest): add volatile to
  protect temporary context object.  [ruby-dev:27979]

* ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should
  be called before actual variable initialization.
  [ruby-dev:27986]


Revision 9457 - (view) (annotate) - [select for diffs]
Modified Mon Oct 24 12:15:26 2005 UTC (15 years, 8 months ago) by nobu
File length: 130525 byte(s)
Diff to previous 9383 (colored)
* configure.in, io.c: use sys/syscall.h if syscall.h is not available.
  [ruby-core:06247]


Revision 9383 - (view) (annotate) - [select for diffs]
Modified Thu Oct 13 14:30:54 2005 UTC (15 years, 8 months ago) by nobu
File length: 130467 byte(s)
Diff to previous 9324 (colored)
* io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c:
  get rid of warnings.  fixed: [ruby-core:06247]


Revision 9324 - (view) (annotate) - [select for diffs]
Modified Tue Sep 27 23:12:43 2005 UTC (15 years, 9 months ago) by nobu
File length: 130416 byte(s)
Diff to previous 9318 (colored)
* io.c (read_buffered_data): check if reached EOF.  fixed: [ruby-dev:27334]


Revision 9318 - (view) (annotate) - [select for diffs]
Modified Tue Sep 27 07:08:58 2005 UTC (15 years, 9 months ago) by ocean
File length: 130393 byte(s)
Diff to previous 9244 (colored)
* io.c: fixed rdoc. [ruby-Bugs:2523]


Revision 9244 - (view) (annotate) - [select for diffs]
Modified Tue Sep 20 08:14:56 2005 UTC (15 years, 9 months ago) by ocean
File length: 130377 byte(s)
Diff to previous 9234 (colored)
* io.c: PIPE_BUF is not defined on BeOS. use _POSIX_PIPE_BUF instead.
  [ruby-dev:27185]


Revision 9234 - (view) (annotate) - [select for diffs]
Modified Mon Sep 19 15:43:49 2005 UTC (15 years, 9 months ago) by matz
File length: 130237 byte(s)
Diff to previous 9211 (colored)
* io.c (io_close): call rb_io_close() directly if io is a T_FILE
  object.  [ruby-dev:27156]


Revision 9211 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 18:22:44 2005 UTC (15 years, 9 months ago) by akr
File length: 130169 byte(s)
Diff to previous 9210 (colored)
* file.c (rb_thread_flock): wrap the flock system call by
  TRAP_BEG/TRAP_END to enable signals.  [ruby-dev:27122]

* ext/socket/socket.c (bsock_send): wrap the sendto and send system
  call by TRAP_BEG/TRAP_END to enable signals when writing to a socket
  which is full.  [ruby-dev:27132]

* io.c (rb_io_syswrite): wrap the write system call by
  TRAP_BEG/TRAP_END to enable signals when writing to a pipe which is
  full.  [ruby-dev:27134]


Revision 9210 - (view) (annotate) - [select for diffs]
Modified Sun Sep 18 18:06:51 2005 UTC (15 years, 9 months ago) by akr
File length: 130141 byte(s)
Diff to previous 9200 (colored)
* io.c (io_fwrite): wrap the write system call by TRAP_BEG/TRAP_END to
  enable signals when writing to a pipe which is full.


Revision 9200 - (view) (annotate) - [select for diffs]
Modified Sat Sep 17 14:55:06 2005 UTC (15 years, 9 months ago) by matz
File length: 130105 byte(s)
Diff to previous 9084 (colored)
* lib/cgi.rb (CGI::Cookie): should handle multiple values for a
  cookie name.  [ruby-talk:156140]

* string.c (rb_str_substr): should propagate taintness even for
  empty strings.  [ruby-dev:27121]

* string.c (rb_str_aref): should infect result if range argument
  is tainted.  [ruby-dev:27121]


Revision 9084 - (view) (annotate) - [select for diffs]
Modified Mon Sep 5 15:02:10 2005 UTC (15 years, 9 months ago) by akr
File length: 130079 byte(s)
Diff to previous 8832 (colored)
document a blocking behavior of IO#eof?.


Revision 8832 - (view) (annotate) - [select for diffs]
Modified Mon Jul 25 07:29:39 2005 UTC (15 years, 11 months ago) by matz
File length: 129471 byte(s)
Diff to previous 8813 (colored)
* io.c: check HAVE_SYS_IOCTL_H before including the header.
  [ruby-dev:26610]


Revision 8813 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 10:21:16 2005 UTC (15 years, 11 months ago) by usa
File length: 129442 byte(s)
Diff to previous 8812 (colored)
* io.c (S_ISREG): need to define S_ISREG before it is used first.


Revision 8812 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 10:08:49 2005 UTC (15 years, 11 months ago) by akr
File length: 129442 byte(s)
Diff to previous 8810 (colored)
don't use S_ISDIR.


Revision 8810 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 09:46:57 2005 UTC (15 years, 11 months ago) by ocean
File length: 129482 byte(s)
Diff to previous 8809 (colored)
* io.c (wsplit_p): patch for the environment where
  fcntl(F_GETFL, O_NONBLOCK) is not supported. in that case,
  set FMODE_WSPLIT without fcntl check. [ruby-dev:26566]


Revision 8809 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 09:14:30 2005 UTC (15 years, 11 months ago) by akr
File length: 129395 byte(s)
Diff to previous 8799 (colored)
* io.c (rb_io_ctl): update FMODE_WSPLIT_INITIALIZED and FMODE_WSPLIT
  by F_SETFL.


Revision 8799 - (view) (annotate) - [select for diffs]
Modified Tue Jul 19 08:25:39 2005 UTC (15 years, 11 months ago) by matz
File length: 129144 byte(s)
Diff to previous 8787 (colored)
* io.c (rb_io_inspect): replace sprintf() with "%s" format all
  over the place by snprintf() to avoid integer overflow.

* sample/svr.rb: service can be stopped by ill-behaved client; use
  tsvr.rb instead.


Revision 8787 - (view) (annotate) - [select for diffs]
Modified Mon Jul 18 01:00:23 2005 UTC (15 years, 11 months ago) by akr
File length: 129138 byte(s)
Diff to previous 8436 (colored)
* rubyio.h (FMODE_WSPLIT, FMODE_WSPLIT_INITIALIZED): new constant.

* io.c (wsplit_p): new function.
  (io_fflush): split writing data by PIPE_BUF if wsplit_p is true in
  multi-threaded mode.
  (io_fwrite): ditto.


Revision 8436 - (view) (annotate) - [select for diffs]
Modified Thu May 12 08:12:42 2005 UTC (16 years, 1 month ago) by akr
File length: 128446 byte(s)
Diff to previous 8433 (colored)
* io.c (rb_io_eof, remain_size, read_all, io_read, appendline)
  (swallow, rb_io_each_byte, rb_io_getc): revert previous change.

* io.c (rb_io_eof, io_fread, appendline, swallow, rb_io_each_byte)
  (rb_io_getc, rb_getc): call clearerr before getc to avoid
  stdio incompatibility.


Revision 8433 - (view) (annotate) - [select for diffs]
Modified Thu May 12 07:28:16 2005 UTC (16 years, 1 month ago) by akr
File length: 128375 byte(s)
Diff to previous 8035 (colored)
* io.c (rb_io_eof, remain_size, read_all, io_read, appendline)
  (swallow, rb_io_each_byte, rb_io_getc): don't rely EOF flag.
  [ruby-talk:141527]


Revision 8035 - (view) (annotate) - [select for diffs]
Modified Mon Feb 28 02:45:23 2005 UTC (16 years, 4 months ago) by matz
File length: 128327 byte(s)
Diff to previous 7820 (colored)
* exception error messages updated.  [ruby-core:04497]


Revision 7820 - (view) (annotate) - [select for diffs]
Modified Tue Jan 25 04:03:02 2005 UTC (16 years, 5 months ago) by akr
File length: 128324 byte(s)
Diff to previous 7819 (colored)
fix some documents.


Revision 7819 - (view) (annotate) - [select for diffs]
Modified Mon Jan 24 11:43:12 2005 UTC (16 years, 5 months ago) by akr
File length: 128372 byte(s)
Diff to previous 7770 (colored)
fix IO#read docment.


Revision 7770 - (view) (annotate) - [select for diffs]
Modified Wed Jan 12 19:50:29 2005 UTC (16 years, 5 months ago) by akr
File length: 128108 byte(s)
Diff to previous 7751 (colored)
* io.c (io_fread): don't warn nonblocking behavior by default.


Revision 7751 - (view) (annotate) - [select for diffs]
Modified Sat Jan 8 18:17:13 2005 UTC (16 years, 5 months ago) by akr
File length: 128105 byte(s)
Diff to previous 7655 (colored)
* io.c (io_fread): warn nonblocking behavior.
  (io_readpartial): new method IO#readpartial.


Revision 7655 - (view) (annotate) - [select for diffs]
Modified Sat Dec 25 10:56:41 2004 UTC (16 years, 6 months ago) by matz
File length: 123834 byte(s)
Diff to previous 7649 (colored)
* stable version 1.8.2 released.

* lib/fileutils.rb (mkdir, mkdir_p): should ensure directory
  permission. (backportted from HEAD, 1.47)

* lib/fileutils.rb (traverse, remove_dir): untaint trasted
  objects. (backportted from HEAD, 1.46)

* io.c: cancel io_reopen() change on Dec. 24th.

* dln.c: use <dlfcn.h> for NetBSD.  [ruby-dev:25313]

* io.c (rb_f_select): [ruby-dev:25312]


Revision 7649 - (view) (annotate) - [select for diffs]
Modified Thu Dec 23 17:53:58 2004 UTC (16 years, 6 months ago) by nobu
File length: 124387 byte(s)
Diff to previous 7639 (colored)
* io.c (io_reopen, rb_io_reopen): prohibit to change access mode for
  special IO ports.  [ruby-dev:25225]


Revision 7639 - (view) (annotate) - [select for diffs]
Modified Thu Dec 23 00:38:39 2004 UTC (16 years, 6 months ago) by nobu
File length: 123829 byte(s)
Diff to previous 7637 (colored)
* io.c (io_reopen): restore exact mode.  fixed: [ruby-core:04003]


Revision 7637 - (view) (annotate) - [select for diffs]
Modified Thu Dec 23 00:19:03 2004 UTC (16 years, 6 months ago) by nobu
File length: 123777 byte(s)
Diff to previous 7632 (colored)
* io.c (io_reopen): readable flag was left unset for read-only IO.
  fixed: [ruby-core:04003]


Revision 7632 - (view) (annotate) - [select for diffs]
Modified Wed Dec 22 02:15:35 2004 UTC (16 years, 6 months ago) by nobu
File length: 123774 byte(s)
Diff to previous 7622 (colored)
* io.c (rb_io_mode_modenum): replace O_ACCMODE with O_RDWR.
  fixed: [ruby-dev:25273]


Revision 7622 - (view) (annotate) - [select for diffs]
Modified Tue Dec 21 03:22:48 2004 UTC (16 years, 6 months ago) by nobu
File length: 123677 byte(s)
Diff to previous 7608 (colored)
* io.c (io_reopen): keep duplex pipe in correct mode for exception
  safeness.  fixed: [ruby-dev:25152]


Revision 7608 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 03:43:14 2004 UTC (16 years, 6 months ago) by usa
File length: 123476 byte(s)
Diff to previous 7607 (colored)
* io.c (io_fwrite): workaround for MSVCRT's bug.
  fixed: [ruby-core:03982]


Revision 7607 - (view) (annotate) - [select for diffs]
Added Mon Dec 20 02:21:14 2004 UTC (16 years, 6 months ago) by nobu
File length: 123275 byte(s)
Diff to previous 7529 (colored)
* io.c (rb_io_eof): check if closed before clearerr().
  fixed: [ruby-dev:25251]



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26