Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Ngie Cooper (yaneurabeya)
> On Apr 4, 2017, at 19:21, Pedro Giffuni wrote: > >> On Apr 4, 2017, at 14:48, Kyle Evans wrote: >> >> On Tue, Apr 4, 2017 at 2:45 PM, Ngie Cooper (yaneurabeya) >> wrote: >> >> > On Apr 4, 2017, at 12:04, Conrad Meyer wrote: >> > >> > On Tue, Apr 4, 2017 at 11:56 AM, Dimitry Andric wrote

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Pedro Giffuni
> On Apr 4, 2017, at 14:48, Kyle Evans wrote: > > On Tue, Apr 4, 2017 at 2:45 PM, Ngie Cooper (yaneurabeya) > mailto:yaneurab...@gmail.com>> wrote: > > > On Apr 4, 2017, at 12:04, Conrad Meyer > > wrote: > > > > On Tue, Apr 4, 2017 at 11:56 AM, Dimitry Andric >

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Kyle Evans
On Tue, Apr 4, 2017 at 2:45 PM, Ngie Cooper (yaneurabeya) < yaneurab...@gmail.com> wrote: > > > On Apr 4, 2017, at 12:04, Conrad Meyer wrote: > > > > On Tue, Apr 4, 2017 at 11:56 AM, Dimitry Andric wrote: > >> On 4 Apr 2017, at 19:14, Ngie Cooper (yaneurabeya) < > yaneurab...@gmail.com> wrote: >

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Ngie Cooper (yaneurabeya)
> On Apr 4, 2017, at 12:04, Conrad Meyer wrote: > > On Tue, Apr 4, 2017 at 11:56 AM, Dimitry Andric wrote: >> On 4 Apr 2017, at 19:14, Ngie Cooper (yaneurabeya) >> wrote: >>> Where did xmalloc.c originate from? >> >> GNU. > > I believe this to be completely incorrect. > >> Almost all softw

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Conrad Meyer
On Tue, Apr 4, 2017 at 11:56 AM, Dimitry Andric wrote: > On 4 Apr 2017, at 19:14, Ngie Cooper (yaneurabeya) > 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

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Conrad Meyer
On Tue, Apr 4, 2017 at 12:16 PM, Kyle Evans wrote: > On Tue, Apr 4, 2017 at 1:56 PM, Dimitry Andric wrote: >> >> > Where did xmalloc.c originate from? >> >> GNU. Almost all software from the GNU project relies on malloc wrappers >> which abort the program on allocation failures. > > > This also

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Kyle Evans
On Tue, Apr 4, 2017 at 1:56 PM, Dimitry Andric wrote: > > > Where did xmalloc.c originate from? > > GNU. Almost all software from the GNU project relies on malloc wrappers > which abort the program on allocation failures. This also explains the grep_* versions of `malloc`, `calloc`, `realloc`,

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Dimitry Andric
On 4 Apr 2017, at 19:14, Ngie Cooper (yaneurabeya) wrote: > >> On Apr 4, 2017, at 09:08, Conrad Meyer wrote: >> >> Author: cem >> Date: Tue Apr 4 16:08:51 2017 >> New Revision: 316492 >> URL: https://svnweb.freebsd.org/changeset/base/316492 >> >> Log: >> bsdgrep(1): Rip out "xmalloc" bits >>

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Ngie Cooper (yaneurabeya)
> On Apr 4, 2017, at 09:08, Conrad Meyer wrote: > > Author: cem > Date: Tue Apr 4 16:08:51 2017 > New Revision: 316492 > URL: https://svnweb.freebsd.org/changeset/base/316492 > > Log: > bsdgrep(1): Rip out "xmalloc" bits > > xmalloc was a debug malloc implementation, but the x{malloc,calloc

svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Conrad Meyer
Author: cem Date: Tue Apr 4 16:08:51 2017 New Revision: 316492 URL: https://svnweb.freebsd.org/changeset/base/316492 Log: bsdgrep(1): Rip out "xmalloc" bits xmalloc was a debug malloc implementation, but the x{malloc,calloc,free} functions default to calling the malloc(3) equivalents.