mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
parent
b879528e24
commit
7fad7d345a
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ source_file_load(source_t *source, VALUE filepath) {
|
|||
|
||||
#ifdef HAVE_MMAP
|
||||
if (!source->size) {
|
||||
close(fd);
|
||||
source->source = "";
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue