Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: When is mem.c / malloc called?



Don't know why, but now when I have the fprintf(), and do:

make clean ; ./configure --enable-zsh-debug --enable-zsh-mem && make
CFLAGS="-g -O0" && make install

then I see "Hello", and shell startup always ends in:

 mem.c:1341: MEM: allocation error at sbrk, size 20480.

i.e. aborts, so I guess I'm safe – the pathway to use non-standard,
thread unsafe malloc() is blocked because it's not working.

-- 
  Sebastian Gniazdowski
  psprint2@xxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author