diff options
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2093,7 +2093,7 @@ rb_find_file(file) } path = dln_find_file(file, path); - if (stat(path, &st) == 0) { + if (path && stat(path, &st) == 0) { return path; } return 0; |