chiark
/
gitweb
/
~ian
/
cgi-auth-flexible.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
588cf61
)
restore umask
author
Ian Jackson
<ian.jackson@eu.citrix.com>
Fri, 18 Jan 2013 18:48:05 +0000
(18:48 +0000)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Fri, 18 Jan 2013 18:48:05 +0000
(18:48 +0000)
cgi-auth-flexible.pm
patch
|
blob
|
history
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;