mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* file.c (file_load_ok): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
03d1c9cd82
commit
affcf615dc
2 changed files with 13 additions and 9 deletions
|
@ -1,3 +1,7 @@
|
|||
Man Jul 16 13:21:30 2001 Usaku Nakamura <usa@osb.att.ne.jp>
|
||||
|
||||
* file.c (file_load_ok): fix typo.
|
||||
|
||||
Sat Jul 14 12:26:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||
|
||||
* ext/digest/*/extconf.rb: fix so that they build from any
|
||||
|
|
2
file.c
2
file.c
|
@ -2208,7 +2208,7 @@ file_load_ok(file)
|
|||
{
|
||||
FILE *f;
|
||||
|
||||
if (!f) return 0;
|
||||
if (!file) return 0;
|
||||
f = fopen(file, "r");
|
||||
if (f == NULL) return 0;
|
||||
fclose(f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue