diff options
-rw-r--r-- | ext/Setup | 2 | ||||
-rw-r--r-- | sample/trojan.rb | 4 | ||||
-rw-r--r-- | version.h | 4 |
3 files changed, 5 insertions, 5 deletions
@@ -10,4 +10,4 @@ #socket #tkutil #tcltklib -gtk +#gtk diff --git a/sample/trojan.rb b/sample/trojan.rb index 2024da0908..edf8ee63ce 100644 --- a/sample/trojan.rb +++ b/sample/trojan.rb @@ -2,10 +2,10 @@ path = ENV['PATH'].split(/:/) for dir in path - if File.d(dir) + if File.directory?(dir) for f in d = Dir.open(dir) fpath = dir+"/"+f - if File.f(fpath) && (File.stat(fpath).mode & 022) != 0 + if File.file?(fpath) && (File.stat(fpath).mode & 022) != 0 printf("file %s is writable from other users\n", fpath) end end @@ -1,2 +1,2 @@ -#define RUBY_VERSION "1.1b9_14" -#define VERSION_DATE "98/04/22" +#define RUBY_VERSION "1.1b9_15" +#define VERSION_DATE "98/04/24" |