chiark
/
gitweb
/
~ian
/
cgi-auth-flexible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
restore umask
[cgi-auth-flexible.git]
/
cgi-auth-flexible.pm
diff --git
a/cgi-auth-flexible.pm
b/cgi-auth-flexible.pm
index fb161cc8f315a5d2ea6f7c84e0bdec12725f08e6..a959cbac9b8f393b98e4bebdd3ea53349278d4d7 100644
(file)
--- a/
cgi-auth-flexible.pm
+++ b/
cgi-auth-flexible.pm
@@
-270,6
+270,7
@@
sub _dbopen ($) {
RaiseError => 1,
ShowErrorStatement => 1,
});
+ umask $u;
die "$dsn $! ?" unless $dbh;
}
$v->{Dbh} = $dbh;