[LON-CAPA-cvs] cvs: loncom /auth lonlogout.pm
raeburn
raeburn at source.lon-capa.org
Wed Mar 11 20:47:49 EDT 2015
raeburn Thu Mar 12 00:47:49 2015 EDT
Modified files:
/loncom/auth lonlogout.pm
Log:
- close() filehandles after reading.
Index: loncom/auth/lonlogout.pm
diff -u loncom/auth/lonlogout.pm:1.47 loncom/auth/lonlogout.pm:1.48
--- loncom/auth/lonlogout.pm:1.47 Wed Mar 4 21:34:28 2015
+++ loncom/auth/lonlogout.pm Thu Mar 12 00:47:49 2015
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Logout Handler
#
-# $Id: lonlogout.pm,v 1.47 2015/03/04 21:34:28 raeburn Exp $
+# $Id: lonlogout.pm,v 1.48 2015/03/12 00:47:49 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -116,6 +116,7 @@
&& defined($r->dir_config('lonSSOUserLogoutHeadFile'))) {
if (open(my $fh,$r->dir_config('lonSSOUserLogoutHeadFile'))) {
$headextra.= join('',<$fh>);
+ close($fh);
}
}
$start_page=&Apache::loncommon::start_page('Logged Out',$headextra,
More information about the LON-CAPA-cvs
mailing list