Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] close $filename ?

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: Sylvain Amrani <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] close $filename ?
  • Date: Thu, 14 Sep 2006 17:55:02 +0200

Thank you for reporting this error Sylvain ; it is in both our CVS branches now :
http://sourcesup.cru.fr/cgi/viewcvs.cgi/sympa/src/List.pm?r1=1.638.2.11&r2=1.638.2.12

Did you notice any side effects for this bug ?

Sylvain Amrani wrote:
Dealing with lock troubles on my sympa installation, I found such a code
in List.pm :

open FH, ">>$lock_file";
...
close $lock_file;

I think close FH would be better, isn't it ?

I attach a patch.




Archive powered by MHonArc 2.6.19+.

Top of Page