Re: [5/9] wpp: Handle remaining memory allocation failures [try 2]

2009-10-02 Thread Matteo Bruni
2009/10/2 Alexandre Julliard : > Matteo Bruni writes: > >> @@ -82,8 +82,7 @@ void *pp_xmalloc(size_t size) >>      res = malloc(size); >>      if(res == NULL) >>      { >> -        fprintf(stderr, "Virtual memory exhausted.\n"); >> -        exit(2); >> +        pp_internal_error(__FILE__, __LINE__

Re: [5/9] wpp: Handle remaining memory allocation failures [try 2]

2009-10-02 Thread Alexandre Julliard
Matteo Bruni writes: > @@ -82,8 +82,7 @@ void *pp_xmalloc(size_t size) > res = malloc(size); > if(res == NULL) > { > -fprintf(stderr, "Virtual memory exhausted.\n"); > -exit(2); > +pp_internal_error(__FILE__, __LINE__, "Virtual memory exhausted.\n"); >