summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-13 15:50:31 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-13 15:50:31 +0000
commit2d01177c9ef5d01cf123356c6ed329c3550d2a2a (patch)
tree1518ad757c470f3cd63377d6253c361a9ba04a73 /perl-install
parentd070816914231e53d27f293267eed7f3bcb34413 (diff)
downloaddrakx-2d01177c9ef5d01cf123356c6ed329c3550d2a2a.tar
drakx-2d01177c9ef5d01cf123356c6ed329c3550d2a2a.tar.gz
drakx-2d01177c9ef5d01cf123356c6ed329c3550d2a2a.tar.bz2
drakx-2d01177c9ef5d01cf123356c6ed329c3550d2a2a.tar.xz
drakx-2d01177c9ef5d01cf123356c6ed329c3550d2a2a.zip
- fix changing UID on forking (spotted by salem)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/run_program.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 8281156c4..440432933 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- fix changing UID on forking
+
Version 10.12 - 13 March 2008
- fix gurpmi path (#38679)
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index 11ebc2289..425ad16cf 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -111,7 +111,7 @@ sub raw {
} else {
if ($options->{setuid}) {
require POSIX;
- POSIX::setuid($options->{set_uid});
+ POSIX::setuid($options->{setuid});
}
sub die_exit {