diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-25 06:18:07 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-25 06:18:07 +0000 |
commit | 8551a01369ea6d542d6645a682d31134d14e62a5 (patch) | |
tree | 5fac7807a4677c97f177ddb7c01e9f240ea1d097 /dir.c | |
parent | bf2add823128797a9e3d78231fcd3860e94f65fa (diff) | |
download | ruby-8551a01369ea6d542d6645a682d31134d14e62a5.tar.gz ruby-8551a01369ea6d542d6645a682d31134d14e62a5.tar.xz ruby-8551a01369ea6d542d6645a682d31134d14e62a5.zip |
* ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not be
allowed when $SAFE > 3.
* eval.c (rb_thread_ready): THREAD_TO_KILL threads should not turn
into THREAD_RUNNABLE on wakeup.
* eval.c (rb_thread_list): THREAD_TO_KILL threads should be in the
list.
* eval.c (thgroup_list): ditto; by moving gid clearance from
rb_thread_cleanup().
* 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.
* ext/socket/socket.c (tcp_s_gethostbyname): refactored.
* ext/socket/socket.c (sock_s_gethostbyname): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -178,8 +178,10 @@ fnmatch(pat, string, flags) } else if (ISDIRSEP(c)) { s = find_dirsep(s); - if (s) + if (s) { + s++; break; + } return FNM_NOMATCH; } |