-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Geoff Cummins Sent: Tuesday, October 08, 2002 9:54 PM To: [EMAIL PROTECTED] Subject: Re: [Qmail-scanner-general]Qmail scanner and perl 5.8
I found a fix for this by looking at the comments in the bugs reports. Emerson provided a fix that works for me. Currently you have: open(SOUT,"<&STDOUT")||&tempfail("cannot dup fd 0 - $!"); For Perl 5.8: You just need to change STDOUT to be "1" as follow: open(SOUT,"<&1")||&tempfail("cannot dup fd 0 - $!"); http://sourceforge.net/tracker/index.php?func=detail&aid=580744&group_id =6116&atid=106116 Geoff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Geoff Cummins Sent: Tuesday, October 08, 2002 9:54 PM To: [EMAIL PROTECTED] Subject: Re: [Qmail-scanner-general]Qmail scanner and perl 5.8 On Tue, Oct 08, 2002 at 09:00:00PM -0700, John Johnson wrote: > Is there a version of qmail-scanner that works with perl 5.8? The > readme says That it doesn't work with it. > I found a fix for this by looking at the comments in the bugs reports. Emerson provided a fix that works for me. Currently you have: open(SOUT,"<&STDOUT")||&tempfail("cannot dup fd 0 - $!"); For Perl 5.8: You just need to change STDOUT to be "1" as follow: open(SOUT,"<&1")||&tempfail("cannot dup fd 0 - $!"); http://sourceforge.net/tracker/index.php?func=detail&aid=580744&group_id =6116&atid=106116 Geoff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general