Closed GoogleCodeExporter closed 9 years ago
You're absolutely right.
I've done my research too and found that, as you say, a function that is
registered as an exit handler by `atexit()` must exit by returning, and not in
any other manner.
The purpose of the `exit` call was to warn the programmer about a fatal library
misuse, by forcing the return value of the program to `EXIT_FAILURE`. But now I
know I really shouldn't be doing that; I'll fix it as soon as possible.
Thank you very much for reporting :)
Original comment by guillermocalvo
on 18 Jul 2013 at 4:03
This issue was closed by revision r417.
Original comment by guillermocalvo
on 18 Jul 2013 at 5:11
Original issue reported on code.google.com by
ImJa...@gmail.com
on 18 Jul 2013 at 12:39