mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Switch all calls to open() to explicitly open for read
This commit is contained in:
@@ -33,7 +33,7 @@ sub parse_ppp_options
|
||||
{
|
||||
local @rv;
|
||||
local $lnum = 0;
|
||||
open(OPTS, $_[0]);
|
||||
open(OPTS, "<".$_[0]);
|
||||
while(<OPTS>) {
|
||||
s/\r|\n//g;
|
||||
if (/^#\s*(.*)/) {
|
||||
|
||||
Reference in New Issue
Block a user