Merged revisions 379510 via svnmerge from 
file:///srv/subversion/repos/asterisk/branches/10

................
  r379510 | mjordan | 2013-01-18 18:07:52 -0600 (Fri, 18 Jan 2013) | 21 lines
  
  Fix astcanary startup problem due to wrong pid value from before daemon call
  
  When Asterisk forks itself into the background via a call to daemon, it must
  re-set the pid value of the new process. Otherwise, astcanary gets the pid
  value of the process before the fork, which prevents it from running. Asterisk
  eventually starts lowering its priority, as it can no longer communicate
  with the proverbial canary in the coal mine.
  
  This patch ensures that the correct process identifier is used by astcanary.
  
  Note that this is getting committed to 10 as a regression fix.
  
  (closes issue ASTERISK-20947)
  Reported by: Jakob Hirsch
  Tested by: mjordan
  patches:
    asterisk-10.12.0.astcanary_ppid.diff uploaded by Jakob Hirsch (license 6113)
  ........
  
  Merged revisions 379509 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/10-digiumphones@379535 f38db490-d61c-443f-a65b-d21fe96a405b