diff options
-rw-r--r-- | doio.c | 1 | ||||
-rw-r--r-- | t/io/fs.t | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -2766,6 +2766,7 @@ nothing in the core. #endif } else { + SETERRNO(EBADF,RMS_IFI); tot--; } } @@ -265,6 +265,7 @@ SKIP: { check_utime_result($ut, $accurate_timestamps, $delta); # [perl #122703] close $fh; + $! = 0; ok(!utime($ut,$ut + $delta, $fh), "utime fails on a closed file handle"); isnt($!+0, 0, "and errno was set"); |