From: Jos Backus Date: 2004-12-13T05:49:35+09:00 Subject: Re: [patch] Obtaining mode information on an IO object On Mon, Dec 13, 2004 at 03:20:18AM +0900, Florian Frank wrote: > Will the modes change if IO#binmode is called on an existing IO object? > At the moment it doesn't seem possible at all to find out if a given IO > object is in binary mode or not. binmode is useful only in MS-DOS/Windows environments and has no effect on Unix. I haven't tried it but looking at the code the answer methinks is yes. -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos at catnook.com _/_/ _/_/_/ require 'std/disclaimer'