eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
78141aa6c6
commit
14fe04bdac
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
Sat Aug 5 16:43:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
|
||||||
|
|
||||||
|
* djgpp/*: convert DOS line endings to UNIX style.
|
||||||
|
|
||||||
|
* djgpp/config.status: rename to config.sed for SFN.
|
||||||
|
|
||||||
|
* lib/ftools.rb (compare, safe_unlink, chmod): avoid warnings.
|
||||||
|
|
||||||
|
* lib/ftools.rb (move): typo. not `tpath', but `to'.
|
||||||
|
|
||||||
Wed Aug 2 18:27:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
|
Wed Aug 2 18:27:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
|
||||||
|
|
||||||
* eval.c (rb_thread_wait_fd): prohibit thread context switch
|
* eval.c (rb_thread_wait_fd): prohibit thread context switch
|
||||||
|
@ -81,7 +81,7 @@ class << File
|
|||||||
syscopy from, to and unlink from
|
syscopy from, to and unlink from
|
||||||
utime(from_stat.atime, from_stat.mtime, to)
|
utime(from_stat.atime, from_stat.mtime, to)
|
||||||
begin
|
begin
|
||||||
chown(fstat.uid, fstat.gid, tpath)
|
chown(fstat.uid, fstat.gid, to)
|
||||||
rescue
|
rescue
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -110,7 +110,8 @@ class << File
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
while fr == tr
|
while fr == tr
|
||||||
if fr = from.read(fsize)
|
fr = from.read(fsize)
|
||||||
|
if fr
|
||||||
tr = to.read(fr.size)
|
tr = to.read(fr.size)
|
||||||
else
|
else
|
||||||
ret = to.read(fsize)
|
ret = to.read(fsize)
|
||||||
@ -136,7 +137,7 @@ class << File
|
|||||||
begin
|
begin
|
||||||
$stderr.print files.join(" "), "\n" if verbose
|
$stderr.print files.join(" "), "\n" if verbose
|
||||||
chmod 0777, *files
|
chmod 0777, *files
|
||||||
unlink *files
|
unlink(*files)
|
||||||
rescue
|
rescue
|
||||||
# STDERR.print "warning: Couldn't unlink #{files.join ' '}\n"
|
# STDERR.print "warning: Couldn't unlink #{files.join ' '}\n"
|
||||||
end
|
end
|
||||||
@ -163,11 +164,13 @@ class << File
|
|||||||
|
|
||||||
alias o_chmod chmod
|
alias o_chmod chmod
|
||||||
|
|
||||||
|
vsave, $VERBOSE = $VERBOSE, false
|
||||||
def chmod(mode, *files)
|
def chmod(mode, *files)
|
||||||
verbose = if files[-1].is_a? String then false else files.pop end
|
verbose = if files[-1].is_a? String then false else files.pop end
|
||||||
$stderr.printf "chmod %04o %s\n", mode, files.join(" ") if verbose
|
$stderr.printf "chmod %04o %s\n", mode, files.join(" ") if verbose
|
||||||
o_chmod mode, *files
|
o_chmod mode, *files
|
||||||
end
|
end
|
||||||
|
$VERBOSE = vsave
|
||||||
|
|
||||||
def install(from, to, mode = nil, verbose = false)
|
def install(from, to, mode = nil, verbose = false)
|
||||||
to = catname(from, to)
|
to = catname(from, to)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#define RUBY_VERSION "1.5.5"
|
#define RUBY_VERSION "1.5.5"
|
||||||
#define RUBY_RELEASE_DATE "2000-08-02"
|
#define RUBY_RELEASE_DATE "2000-08-05"
|
||||||
#define RUBY_VERSION_CODE 155
|
#define RUBY_VERSION_CODE 155
|
||||||
#define RUBY_RELEASE_CODE 20000802
|
#define RUBY_RELEASE_CODE 20000805
|
||||||
|
Loading…
x
Reference in New Issue
Block a user