[Mimedefang] MIMEDefang 2.48 is available
David F. Skoll
dfs at roaringpenguin.com
Mon Nov 1 07:38:37 EST 2004
On Mon, 1 Nov 2004, Chris Masters wrote:
>
> > * embperl.c: Detect if user opens file >descriptors
> inside his/her filter. If so, log a loud >and nasty
> warning that such code should be >moved to
> filter_initialize.
> Why is it a problem to do this outside of
> filter_initialize?
Because after we fork a child, we close() all unneeded file
descriptors (see mimedefang-multiplexor.c, around line 2193. This
will most likely close the file descriptor "out from under" Perl --
that is, Perl will think the descriptor is open, but the C code will
have closed it.
Regards,
David.
More information about the MIMEDefang
mailing list