Re: malloc overrides

2009-11-05 Thread Yaakov (Cygwin/X)
On 05/11/2009 13:02, Dave Korn wrote: So probably just adding a dummy free() implementation will do the job? Unfortunately not. Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: malloc overrides

2009-11-05 Thread Dave Korn
Corinna Vinschen wrote: On Nov 5 18:22, Andy Koppe wrote: 2009/11/5 Yaakov (Cygwin/X): extern void _exit (int); extern char* strdup (const char*); static int are_we_stuck = 1; char* malloc(unsigned n) { are_we_stuck = 0; return 0; } int main(void) { strdup(yo);