From: ts Date: 2002-08-11T23:55:02+09:00 Subject: Re: empty file returns nil not empty string? >>>>> "T" == =?iso-8859-1?Q?Thomas S=F8ndergaard?= writes: T> I don't understand what you mean by "... use the default value of 8192 to T> trying to read the file". Can you explain it in a little more detail? For 1.6.7 if the result of fstat == 0, ruby return "" and force eof For 1.7.2 if the result of fstat == 0, ruby will try to read from the file with a buffer of 8192 bytes (call to fread()) Guy Decoux