On Tue, Apr 4, 2017 at 11:56 AM, Dimitry Andric <d...@freebsd.org> wrote: > On 4 Apr 2017, at 19:14, Ngie Cooper (yaneurabeya) <yaneurab...@gmail.com> > wrote: >> Where did xmalloc.c originate from? > > GNU.
I believe this to be completely incorrect. > Almost all software from the GNU project relies on malloc wrappers > which abort the program on allocation failures. That is not what bsdgrep's xmalloc() did, if you read the code. It simply tracks all allocations for basic leak analysis. Abort on allocation failure would be a perfectly reasonable behavior for bsdgrep(1), too. Best, Conrad _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"