Re:Show HN: Progressbar - A C library for displaying command...
by danieltillett on Saturday August 29, 2015 @05:01AM
(#10139475)
If the memory was actually being used it would have crashed long before that. The test was kind of artificial.
[ Parent
| on HN ]
Re:Show HN: Progressbar - A C library for displaying command...
by dalke on Saturday August 29, 2015 @05:38AM
(#10139515)
Absolutely. I was pointing out that "It is impossible for malloc to fail" is, according to the linked page, an incorrect summary.
Re:Show HN: Progressbar - A C library for displaying command...
by danieltillett on Saturday August 29, 2015 @06:55AM
(#10139623)
It is still pointless checking if malloc fails on linux :)
Actually the real issue here is that you should be aware that on some systems malloc might fail and not segfault.