Message206447
> The complete fix is maybe to write fflush() before fclose(), or at least raise an exception if fclose() returns a non-zero result. Correctly, file.close() returns a number in case of an error...
Oh sorry, I missed the line "if (sts == -1) ..." which raises an error.
But I'm still unable to reproduce the glibc bug mentioned by Charles-François :
> Yeah, who's volunteering to report it to the glibc? |
|
Date |
User |
Action |
Args |
2013-12-17 14:29:42 | vstinner | set | recipients:
+ vstinner, pitrou, neologix, python-dev, serhiy.storchaka, jasujm |
2013-12-17 14:29:42 | vstinner | set | messageid: <1387290582.65.0.509234591626.issue17976@psf.upfronthosting.co.za> |
2013-12-17 14:29:42 | vstinner | link | issue17976 messages |
2013-12-17 14:29:42 | vstinner | create | |
|