* regex.c (re_match_exec): $ _always_ matches at the end of string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d9d40c0d79
commit
4bdf9a6c61
@ -1,3 +1,7 @@
|
|||||||
|
Thu May 1 08:24:00 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* regex.c (re_match_exec): $ _always_ matches at the end of string.
|
||||||
|
|
||||||
Wed Apr 30 14:12:00 2003 wanowa.kimura@nifty.ne.jp (kimura wataru)
|
Wed Apr 30 14:12:00 2003 wanowa.kimura@nifty.ne.jp (kimura wataru)
|
||||||
|
|
||||||
* net/imap.rb: support THREAD extension.
|
* net/imap.rb: support THREAD extension.
|
||||||
|
6
file.c
6
file.c
@ -2045,6 +2045,7 @@ rb_file_flock(obj, operation)
|
|||||||
if (fptr->mode & FMODE_WRITABLE) {
|
if (fptr->mode & FMODE_WRITABLE) {
|
||||||
fflush(GetWriteFile(fptr));
|
fflush(GetWriteFile(fptr));
|
||||||
}
|
}
|
||||||
|
retry:
|
||||||
TRAP_BEG;
|
TRAP_BEG;
|
||||||
ret = flock(fileno(fptr->f), NUM2INT(operation));
|
ret = flock(fileno(fptr->f), NUM2INT(operation));
|
||||||
TRAP_END;
|
TRAP_END;
|
||||||
@ -2056,6 +2057,11 @@ rb_file_flock(obj, operation)
|
|||||||
case EWOULDBLOCK:
|
case EWOULDBLOCK:
|
||||||
#endif
|
#endif
|
||||||
return Qfalse;
|
return Qfalse;
|
||||||
|
case EINTR:
|
||||||
|
#if defined(ERESTART)
|
||||||
|
case ERESTART:
|
||||||
|
#endif
|
||||||
|
goto retry;
|
||||||
}
|
}
|
||||||
rb_sys_fail(fptr->path);
|
rb_sys_fail(fptr->path);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user