Re: malloc should always abort

2015-12-30 Thread Thierry Deval
​Hi Ted, FWIW, I agree with malloc always failing on error.​ On Wed, Dec 30, 2015 at 7:12 AM, Ted Unangst wrote: > @@ -523,10 +521,8 @@ omalloc_init(struct dir_info **dp) > mopts.malloc_cache >>= 1; > break; >

Re: malloc should always abort

2015-12-30 Thread Theo Buehler
On Wed, Dec 30, 2015 at 01:12:05AM -0500, Ted Unangst wrote: > Long ago, malloc internally had two kinds of failures, warnings and errors. > The 'A' option elevated warningst to errors, and has been the default for some > time. But then warnings were effectively eliminated in favor of everything >

malloc should always abort

2015-12-29 Thread Ted Unangst
Long ago, malloc internally had two kinds of failures, warnings and errors. The 'A' option elevated warningst to errors, and has been the default for some time. But then warnings were effectively eliminated in favor of everything being an error, but then the 'a' flag turned errors into warnings!