News for hackers. Stuff that matters.
Re:Kirc – A tiny IRC client written in POSIX C99 by simias on Wednesday September 16, 2020 @04:49PM (#24497705)
It's sloppy coding and not portable. If you really don't want to check for malloc() return value because you consider that it shouldn't fail (or that you won't be able to recover from it anyway) just implement an xmalloc() that just aborts on failure and do that. At least it'll crash "cleanly" this way.
Re:Kirc – A tiny IRC client written in POSIX C99 by mcpcpc on Thursday September 17, 2020 @08:26AM (#24503749)
will try to address the malloc concerns asap