gdialog wrapper return values fixed

This commit is contained in:
Mike Newman 2003-06-29 16:21:12 +00:00
parent 7755ff4e80
commit 425724a8d1
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-20 Mike Newman <mikegtn@gnome.org>
* src/gdialog.in: fix return value with patch from Yann
<bloch@iie.cnam.fr>. Thanks!
2003-06-21 Mike Newman <mikegtn@gnome.org> 2003-06-21 Mike Newman <mikegtn@gnome.org>
* configure.in: Added en_GB to ALL_LINGUAS * configure.in: Added en_GB to ALL_LINGUAS

View File

@ -305,4 +305,10 @@ ARG: while ($argn < $args) {
# execute the constructed zenity command line # execute the constructed zenity command line
$command .= " 2>&1"; $command .= " 2>&1";
system($command);
# perl doc: The return value of system() is the exit status of the
#program as returned by the wait() call. To get the actual exit value
# divide by 256.
exit(system($command)/256);