Wejn
11/17/2003 3:42:00 PM
Hi,
> # What about comparation of [dev,inode] ?
>
> Good point, Michal. I thik I need some post-RubyConf rest :)
>
> How about (File.expand_path("src") == File.expand_path("dest"))?
wow ... even better :-) I think it will avoid possible problems
on Win32 (I'm not sure how stat() behaves there regarding to
dev and inode#).
M.
--
# Michal Safranek, email:
a=(("a".."z").to_a+["@","."]);p(("%b"%[0x645bbb83a6a496]
).scan(/...../).map{|x|a[Integer("0b"+x)]}.join.reverse)