httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@helios.de (Jens-Uwe Mager)
Subject Re: [PATCH] PR#2395 coredump if proxy-cache is disabled
Date Wed, 22 Jul 1998 14:59:51 GMT

>The following patch stops the core dumps but I get the feeling that it 
>shouldn't have even reached the function ap_proxy_cache_update() if no caching
>is going on. I don't know the proxy module well enough to determine what needs
>to be fixed though, or why it only seems to happen in OS/2. Does unix accept
>unlink(NULL) as a no-op?

Yes. Unlink() is a system call entry point, not a library function and
thus will return -1 and set errno to EFAULT in this case. Even though
it does not core dump it is not correct either.

Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

Phone:		+49 5131 709320
FAX:		+49 5131 709325
Internet:	jum@helios.de

Mime
View raw message