From: Andrew Hunt Date: 2000-01-25T20:49:48-05:00 Subject: [ruby-talk:01186] Bug in chardev? Either I'm going blind, or there's a bug in File::Stat.chardev? static VALUE rb_stat_c(obj) VALUE obj; { if (S_ISBLK(get_stat(obj)->st_mode)) return Qtrue; ^^^^^ return Qfalse; } Shouldn't that be S_ISCHR instead? -- Andrew Hunt, Toolshed Technologies, Inc. Innovative Object-Oriented Software Development web: http://www.toolshed.com email: andy@toolshed.com -- Our New Book: "The Pragmatic Programmer" Published by Addison-Wesley Oct 1999 (see www.pragmaticprogrammer.com/ppbook) --