diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-08-13 05:17:43 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-08-13 05:17:43 +0000 |
commit | ccfdf8c80e3527abe6e638b38d52e39a3ff70c19 (patch) | |
tree | a9b33b46ff3d5e9a89e4041e1338314989ec187b /ext | |
parent | 5d941186af3e052c28f3d1f175fb674ce3207b79 (diff) |
pre 1.4.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/gdbm/README | 2 | ||||
-rw-r--r-- | ext/nkf/nkf.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ext/gdbm/README b/ext/gdbm/README index d25cc9240a..df7a261c68 100644 --- a/ext/gdbm/README +++ b/ext/gdbm/README @@ -1 +1 @@ -gdbm ext-library for Ruby 1.3 +gdbm ext-library for Ruby 1.3 or later diff --git a/ext/nkf/nkf.c b/ext/nkf/nkf.c index f275e28797..35d9295a74 100644 --- a/ext/nkf/nkf.c +++ b/ext/nkf/nkf.c @@ -133,9 +133,7 @@ rb_nkf_guess(obj, src) if (*p == '\033') { return INT2FIX(_JIS); } - if ('\000' <= *p && *p < '\006' - || *p == 0x7f - || *p == 0xff) { + if (*p < '\006' || *p == 0x7f || *p == 0xff) { return INT2FIX(_BINARY); } if (0x81 <= *p && *p <= 0x8d) { |