summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/Setup2
-rw-r--r--sample/trojan.rb4
-rw-r--r--version.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/ext/Setup b/ext/Setup
index 867d88cfda..9e3a2474c3 100644
--- a/ext/Setup
+++ b/ext/Setup
@@ -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
diff --git a/version.h b/version.h
index d833a21273..c19457a289 100644
--- a/version.h
+++ b/version.h
@@ -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"