Re: Re: Problem with leak detection
| From: | Wez Furlong | Date: | Mon, 20 Jun 2005 20:55:43 +0000 |
| Subject: | Re: Re: Problem with leak detection | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16810@lists.php.net to get a copy of this message | ||
That should probably just be:
#if PHP_WIN32
OutputDebugString(...);
#endif
fprintf(stderr, ...);
On 6/20/05, Michael Wallner <mike@php.net> wrote:
> Sorry, but I cannot speak for exit(), but I usually replace all occurrences of
>
> #if PHP_WIN32
> OutputDebugString(...);
> #else
> fprintf(stderr, ...);
> #endif
>
> with just fprintf(stderr, ...) to see any mem-leaks on Win32-CLI.