From: Simon Strandgaard Date: 2004-06-20T02:07:51+09:00 Subject: Re: [RCR] IO#readn On Saturday 19 June 2004 19:01, Michael Neumann wrote: [snip] > > I never liked it that read(4) might return only 3 characters. > Wouldn't it be better then to change the behavier of #read itself, so it fails per default in case the specified number of bytes cannot be read. with ruby2 we should try to break as much as possible, and hopefully get it right. #readn smells too much like workaround :-) -- Simon Strandgaard