diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-02-01 03:12:21 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-02-01 03:12:21 +0000 |
commit | 73af1e949d5c017068e3f3fabb9e5260b91ffab0 (patch) | |
tree | b87ecb9a91288193e781207cca394bd73dcfa21f /file.c | |
parent | 1af83e49971e5ca5fa1b0c80a12e7b34d9271cac (diff) |
2000-02-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -423,7 +423,7 @@ test_c(obj, fname) struct stat st; if (rb_stat(fname, &st) < 0) return Qfalse; - if (S_ISBLK(st.st_mode)) return Qtrue; + if (S_ISCHR(st.st_mode)) return Qtrue; return Qfalse; } |