remove duplicate daemon() definitions
Various sources have their own daemon() implementation, with the integration of
4471189 "should have 4.4BSD's daemon() utility function" in 2009, these are all unnecessary and should be removed.
Updated by Ryan Zezeski almost 6 years ago
- Assignee set to Ryan Zezeski
Besides the public daemon symbol in libc, two other libs define
private daemon symbols.
According to README.mapfiles a private symbol may be removed at any
time, though it is courteous to make sure it's not in wide use first.
Given that daemon is now part of libc, and everything must link against
libc, I don't see a reason to keep these symbols defined.
The mDNS code also contains its own private daemon definition but since
that is a command, and the source is copied from Apple, I decided to
leave it alone.
pbchk complains about copyrights needing update but all I did was remove
code so that seems silly.
cstyle goes bonkers against port_after.h but it didn't feel right to
change that entire file for this ticket. Happy to make it cstyle clean
if someone feels otherwise.
Updated by Electric Monk almost 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit ce3c309f71f6893197099bfac06adb66f0870d7d Author: Ryan Zezeski <firstname.lastname@example.org> Date: 2015-02-22T21:16:15.000Z 872 remove duplicate daemon() definitions Reviewed by: Garrett D'Amore <email@example.com> Reviewed by: Marcel Telka <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>
Updated by Electric Monk over 5 years ago
commit eb459a53dd5ee2db4c6c3eb63fe988a901174fc2 Author: Richard Lowe <firstname.lastname@example.org> Date: 2015-02-25T17:12:12.000Z 872 remove duplicate daemon() definitions (backward compatibility)