]> err.no Git - dpkg/commitdiff
Even if safe, revert r541 for now, as the RMs have not replied to the
authorGuillem Jover <guillem@debian.org>
Wed, 11 Oct 2006 23:51:45 +0000 (23:51 +0000)
committerGuillem Jover <guillem@debian.org>
Wed, 11 Oct 2006 23:51:45 +0000 (23:51 +0000)
approval request. This is going in the next upload, though.

ChangeLog
debian/changelog
scripts/controllib.pl

index cb94d671670672016c1b60affd817679a605eddd..7405a69daee7b3221efdcd661c6c5461aee3ec33 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,11 +4,6 @@
        file. State that the languages should be listed alphabetically in
        debian/changelog.
 
-2006-10-03  Brendan O'Dea  <bod@debian.org>
-
-       * scripts/controllib.pl (subprocerr): Require POSIX for WIFEXITED,
-       WEXITSTATUS, WIFSIGNALED and WTERMSIG.
-
 2006-09-27  Guillem Jover  <guillem@debian.org>
 
        * m4/compiler.m4: Add a new line at the end of the file, to cope with
index 5ef6006c355874514f8b885b57485a99c0a89d48..7f2b65c6bbd968b820f1cc843d18052eae310d64 100644 (file)
@@ -16,9 +16,6 @@ dpkg (1.13.23~) UNRELEASED; urgency=low
     read contains nul character" warning.
     Closes: #376351, #375749, #376724, #377279
 
-  [ Brendan O'Dea ]
-  * Require POSIX inside subprocerr in controllib.pl. Closes: #390636
-
   [ Added dpkg Translations ]
   * Dzongkha (Kinley Tshering)
 
index d57053271aeceb6e5732118aecbdc37f92d8a99f..ff3d3747388a6e51e1acd718823bc6ce466410ee 100755 (executable)
@@ -430,13 +430,12 @@ sub warnerror { if ($warnable_error) { &warn( @_ ); } else { &error( @_ ); } }
 
 sub subprocerr {
     local ($p) = @_;
-    require POSIX;
-    if (POSIX::WIFEXITED($?)) {
+    if (WIFEXITED($?)) {
         die sprintf(_g("%s: failure: %s gave error exit status %s"),
-                    $progname, $p, POSIX::WEXITSTATUS($?))."\n";
-    } elsif (POSIX::WIFSIGNALED($?)) {
+                    $progname, $p, WEXITSTATUS($?))."\n";
+    } elsif (WIFSIGNALED($?)) {
         die sprintf(_g("%s: failure: %s died from signal %s"),
-                    $progname, $p, POSIX::WTERMSIG($?))."\n";
+                    $progname, $p, WTERMSIG($?))."\n";
     } else {
         die sprintf(_g("%s: failure: %s failed with unknown exit code %d"),
                     $progname, $p, $?)."\n";