зеркало из https://github.com/github/ruby.git
* file.c (rb_f_test): Fix formatting of Kernel#test rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
8963f50f26
Коммит
9dc0d6fe63
|
@ -1,3 +1,7 @@
|
|||
Wed Feb 22 06:48:55 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* file.c (rb_f_test): Fix formatting of Kernel#test rdoc.
|
||||
|
||||
Wed Feb 22 06:12:15 2012 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/dbm/extconf.rb: check DBM_SUFFIX for Mac OS X.
|
||||
|
|
7
file.c
7
file.c
|
@ -4209,9 +4209,8 @@ test_check(int n, int argc, VALUE *argv)
|
|||
* call-seq:
|
||||
* test(int_cmd, file1 [, file2] ) -> obj
|
||||
*
|
||||
* Uses the integer <i>aCmd</i> to perform various tests on
|
||||
* <i>file1</i> (first table below) or on <i>file1</i> and
|
||||
* <i>file2</i> (second table).
|
||||
* Uses the integer +int_cmd+ to perform various tests on +file1+ (first
|
||||
* table below) or on +file1+ and +file2+ (second table).
|
||||
*
|
||||
* File tests on a single file:
|
||||
*
|
||||
|
@ -4253,7 +4252,7 @@ test_check(int n, int argc, VALUE *argv)
|
|||
* | | the real uid/gid
|
||||
* "z" | boolean | True if file1 exists and has a zero length
|
||||
*
|
||||
* Tests that take two files:
|
||||
* Tests that take two files:
|
||||
*
|
||||
* "-" | boolean | True if file1 and file2 are identical
|
||||
* "=" | boolean | True if the modification times of file1
|
||||
|
|
Загрузка…
Ссылка в новой задаче