Re: Shouldn't pclose() be used on FILE * created by popen() in libbalsa/pop.c?
- From: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>
- To: John Merryweather Cooper <jmcoopr webmail bmi net>
- Cc: Balsa List <balsa-list gnome org>
- Subject: Re: Shouldn't pclose() be used on FILE * created by popen() in libbalsa/pop.c?
- Date: Wed, 25 Jul 2001 02:35:51 +0200
On 2001.07.25 02:20:41 +0200 John Merryweather Cooper wrote:
> I'm trying to stomp on a bug, and I think I've found it.
>
> I use procmail to filter my mail with Balsa. But the longer I allow Balsa
> to run the more "zombie" procmail processes I end up with--often several
> hundred!
>
> I think this is happening because popen() is being used to start procmail
> at the end of a pipe, but fclose is being used to close the pipe.
> Shouldn't this be pclose()? My man pages on popen/pclose seem to say so.
>
> I should note that I'm running FreeBSD 4.3-STABLE, maybe this isn't a
> problem for Linux?
i filter my emails through procmail on linux and i dont get these
zombie processes.
--
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]