summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-03 17:20:08 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-03 17:20:08 +0000
commitc3c6d7cbca3ec28f2f9133f2fd1d5c158c8a0929 (patch)
treea7adc2a5d07233c29c614e05a6fe360c9cbc9ebc /file.c
parent3dc849f3e7aa71baf56b8f602f26b9beaa5f8892 (diff)
* file.c (test_l): fix wrong method name in document.
(test_S): ditto. (test_b): ditto. (test_c): ditto. (test_suid): ditto. (test_sgid): ditto. (test_sticky): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/file.c b/file.c
index 1750eef..3bd7e6b 100644
--- a/file.c
+++ b/file.c
@@ -826,7 +826,7 @@ test_p(obj, fname)
/*
* call-seq:
- * File.pipe?(file_name) => true or false
+ * File.symlink?(file_name) => true or false
*
* Returns <code>true</code> if the named file is a symbolic link.
*/
@@ -870,7 +870,7 @@ test_l(obj, fname)
/*
* call-seq:
- * File.pipe?(file_name) => true or false
+ * File.socket?(file_name) => true or false
*
* Returns <code>true</code> if the named file is a socket.
*/
@@ -913,7 +913,7 @@ test_S(obj, fname)
/*
* call-seq:
- * File.pipe?(file_name) => true or false
+ * File.blockdev?(file_name) => true or false
*
* Returns <code>true</code> if the named file is a block device.
*/
@@ -942,7 +942,7 @@ test_b(obj, fname)
/*
* call-seq:
- * File.pipe?(file_name) => true or false
+ * File.chardev?(file_name) => true or false
*
* Returns <code>true</code> if the named file is a character device.
*/
@@ -1215,7 +1215,7 @@ check3rdbyte(fname, mode)
/*
* call-seq:
- * File.pipe?(file_name) => true or false
+ * File.setuid?(file_name) => true or false
*
* Returns <code>true</code> if the named file is a has the setuid bit set.
*/
@@ -1233,7 +1233,7 @@ test_suid(obj, fname)
/*
* call-seq:
- * File.pipe?(file_name) => true or false
+ * File.setgid?(file_name) => true or false
*
* Returns <code>true</code> if the named file is a has the setgid bit set.
*/
@@ -1251,7 +1251,7 @@ test_sgid(obj, fname)
/*
* call-seq:
- * File.pipe?(file_name) => true or false
+ * File.sticky?(file_name) => true or false
*
* Returns <code>true</code> if the named file is a has the sticky bit set.
*/