diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-25 06:16:02 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-25 06:16:02 +0000 |
commit | d645e92dd68f64366ea6e4694b020121d8ce6ca2 (patch) | |
tree | e8ccf0dff3566dce68d10b1af84773d51e2757ba /dir.c | |
parent | d68ea57b84144552f320e8ead8f75bf296e87523 (diff) |
* ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not be
allowed when $SAFE > 3.
* dir.c (fnmatch): "*/bar" (with FNM_PATHNAME flag) does not
match "foo/bar".
* io.c (read_all): files on /proc filesystem with zero stat size,
may have contents.
* eval.c (exec_under): changing ruby_class is OK, but should not
alter cbase.
* eval.c (yield_under_i): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -169,8 +169,10 @@ fnmatch(pat, string, flags) } else if (ISDIRSEP(c)) { s = find_dirsep(s); - if (s) + if (s) { + s++; break; + } return FNM_NOMATCH; } |