diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-24 23:46:39 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-24 23:46:39 +0000 |
| commit | fd6def0f9a3232a7eaa2a0610744f90c7f6ae64c (patch) | |
| tree | 75c68b7bc02af5524666a8e48f868c113d496c24 | |
| parent | 422071996c3cae9a25eef9a66e6b20892436e21b (diff) | |
| download | ruby-fd6def0f9a3232a7eaa2a0610744f90c7f6ae64c.tar.gz ruby-fd6def0f9a3232a7eaa2a0610744f90c7f6ae64c.tar.xz ruby-fd6def0f9a3232a7eaa2a0610744f90c7f6ae64c.zip | |
rdoc update.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3511,7 +3511,7 @@ rb_thread_flock(void *data) * } * * # read the counter using read lock - * File.open("testfile", "r") {|f| + * File.open("counter", "r") {|f| * f.flock(File::LOCK_SH) * p f.read * } |
