~ubuntu-branches/debian/jessie/ppp/jessie

« back to all changes in this revision

Viewing changes to debian/patches/027_child_debugging.diff

  • Committer: Bazaar Package Importer
  • Author(s): Michael Beattie
  • Date: 2001-12-11 00:24:05 UTC
  • Revision ID: james.westby@ubuntu.com-20011211002405-gcsjlgalwyjf99m2
Tags: 2.4.1.uus-4
Use MAKEDEV in postinst, not mknod. (Closes: #122574)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- ppp-2.4.0/pppd/main.c.reap  Thu Jul  6 07:17:02 2000
 
2
+++ ppp-2.4.0/pppd/main.c       Thu Nov  9 17:41:30 2000
 
3
@@ -1579,7 +1579,8 @@
 
4
                 (chp? chp->prog: "??"), pid, WTERMSIG(status));
 
5
        } else if (debug)
 
6
            dbglog("Script %s finished (pid %d), status = 0x%x",
 
7
-                  (chp? chp->prog: "??"), pid, status);
 
8
+                  (chp? chp->prog: "??"), pid,
 
9
+                  WIFEXITED(status) ? WEXITSTATUS(status) : status);
 
10
        if (chp && chp->done)
 
11
            (*chp->done)(chp->arg);
 
12
        if (chp)
 
13