diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-20 22:36:38 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-20 22:36:38 +0000 |
commit | a32b336a3bc5ab07f808f4b1c2a1dcee16e2b553 (patch) | |
tree | f4ea8016ec28053b06c7d3d9a8b14c6f80dc56d5 /package/ppp/patches/104-debian_fix_linkpidfile.patch | |
parent | 54c401d74230750629cae557b5a7d0489c3387bd (diff) | |
download | master-187ad058-a32b336a3bc5ab07f808f4b1c2a1dcee16e2b553.tar.gz master-187ad058-a32b336a3bc5ab07f808f4b1c2a1dcee16e2b553.tar.bz2 master-187ad058-a32b336a3bc5ab07f808f4b1c2a1dcee16e2b553.zip |
[package] update ppp to v2.4.4 (#5102)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15955 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/patches/104-debian_fix_linkpidfile.patch')
-rw-r--r-- | package/ppp/patches/104-debian_fix_linkpidfile.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/package/ppp/patches/104-debian_fix_linkpidfile.patch b/package/ppp/patches/104-debian_fix_linkpidfile.patch deleted file mode 100644 index 431ce83cf9..0000000000 --- a/package/ppp/patches/104-debian_fix_linkpidfile.patch +++ /dev/null @@ -1,39 +0,0 @@ -Subject: Bug#284382: ppp: linkpidfile is not created upon detachment -From: <herbert@gondor.apana.org.au> - -Package: ppp -Version: 2.4.2+20040428-2 -Severity: wishlist - -When pppd detaches from the parent normally, that is, without nodetach -or updetach set, the linkpidfile is not created even when linkname is -set. - -This is because the create_linkpidfile call in detach() is only made -if the linkpidfile is filled in. However, linkpidfile is never filled -in until create_linkpidfile has been called. - -IMHO the call should be made uncondtionally in detach() since -create_linkpidfile does its own check on linkname anyway. - -Please note that the version of pppd in woody always wrote the -linkpidfile after detaching. It did so in main() however. That -call has now been removed which is why I'm seeing this problem. - -[...] - --- -Index: ppp-2.4.3/pppd/main.c -=================================================================== ---- ppp-2.4.3.orig/pppd/main.c 2007-06-04 13:22:09.004486392 +0200 -+++ ppp-2.4.3/pppd/main.c 2007-06-04 13:22:10.548251704 +0200 -@@ -768,8 +768,7 @@ - /* update pid files if they have been written already */ - if (pidfilename[0]) - create_pidfile(pid); -- if (linkpidfile[0]) -- create_linkpidfile(pid); -+ create_linkpidfile(pid); - exit(0); /* parent dies */ - } - setsid(); |