summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/lib/tcgetpgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/lib/tcgetpgrp.c')
-rw-r--r--mdk-stage1/dietlibc/lib/tcgetpgrp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mdk-stage1/dietlibc/lib/tcgetpgrp.c b/mdk-stage1/dietlibc/lib/tcgetpgrp.c
deleted file mode 100644
index f2a290651..000000000
--- a/mdk-stage1/dietlibc/lib/tcgetpgrp.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <termios.h>
-#include <sys/ioctl.h>
-
-int tcgetpgrp(int fildes)
-{
- return ioctl(fildes, TIOCGPGRP);
-}
274bf52b495c272cef50cce308.tar.bz2
drakx-2ad464a9746bf4274bf52b495c272cef50cce308.tar.xz
drakx-2ad464a9746bf4274bf52b495c272cef50cce308.zip
make sure progress_total is int64 (mga#19895)
Else gtkval_modify() would complain the ref changes from eg 'SCALAR(0xbd2aa38)' to 'REF(0xbd2aa38)' Thus enables i586 install to go on Though "Time remaining" looks bogus...
Diffstat (limited to 'perl-install/install/steps_gtk.pm')
-rw-r--r--perl-install/install/steps_gtk.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index c0658063b..9f6203764 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -597,6 +597,7 @@ sub installPackages {
gtknew('Image', file_ref => \$advertising_image, show_ref => \$show_advertising),
]));
+ my $progress_total = int64(0);
$box->pack_end(gtkshow(gtknew('VBox', border_width => 7, spacing => 3, children_loose => [
gtknew('ScrolledWindow', child => $pkg_log_widget,
hide_ref => \$show_advertising, height => 250, to_bottom => 1),
@@ -605,7 +606,7 @@ sub installPackages {
N("Time remaining:"),
gtknew('Label', text_ref => \ (my $msg_time_remaining = N("(estimating...)"))),
]),
- gtknew('VBox', children_centered => [ gtknew('ProgressBar', fraction_ref => \ (my $progress_total), height => 25) ]),
+ gtknew('VBox', children_centered => [ gtknew('ProgressBar', fraction_ref => \$progress_total, height => 25) ]),
gtknew('HSeparator'),
gtknew('HButtonBox', spacing => 0, layout => 'edge', children_loose => [
if_($release_notes, $rel_notes),