[#3479] Missing .document files for ext/ libraries — Brian Candler <B.Candler@...>

The ri documentation for zlib, strscan and iconv doesn't get built by 'make

12 messages 2004/10/06

[#3492] Re: ANN: Free-form-operators patch — Markus <markus@...>

> In message "Re: ANN: Free-form-operators patch"

15 messages 2004/10/11
[#3493] Re: ANN: Free-form-operators patch — Yukihiro Matsumoto <matz@...> 2004/10/11

Hi,

[#3495] Re: ANN: Free-form-operators patch — Markus <markus@...> 2004/10/12

On Mon, 2004-10-11 at 16:16, Yukihiro Matsumoto wrote:

[#3561] 1.8.2 - what can we do to help? — Dave Thomas <dave@...>

Folks:

23 messages 2004/10/26
[#3562] Re: 1.8.2 - what can we do to help? — Yukihiro Matsumoto <matz@...> 2004/10/27

Hi,

From: Florian Frank <flori@...>
Date: 2004-10-05 14:35:19 UTC
List: ruby-core #3477
Hello,

The latest changes in io.c (ruby 1.8) are quite a disaster. I have put
an  rb_warn(mode) at the beginning of rb_fopen and strange things
are happening.

w+ doesn't work any more, it should create a file if it doesn't already 
exist:

(flori@closure:flori/ 1)$ ruby -e 'File.new("foo", "w+")'
-e:1: warning: r+
-e:1:in `initialize': No such file or directory - foo (Errno::ENOENT)
         from -e:1:in `new'
         from -e:1

Appending doesn't work either:

(flori@closure:flori/ 0)$ ruby -e 'File.new("foo", "a").puts "bla"'
-e:1: warning: w
(flori@closure:flori/ 0)$ ruby -e 'File.new("foo", "a").puts "blu"'
-e:1: warning: w
(flori@closure:flori/ 0)$ cat foo
blu

In rb_file_open_internal rb_io_mode_flags and rb_io_flags_mode are
called and this leads to the loss of important mode information.

Florian Frank


In This Thread

Prev Next