]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r279016:
authored <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Mar 2015 09:15:11 +0000 (09:15 +0000)
committered <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Mar 2015 09:15:11 +0000 (09:15 +0000)
commitdab4d8037e25aad49f59e41c55b4c0acfefb6a14
treec42156775c03416f3b0b75b5ed5df6ae2f3416b4
parentff8a3dc2c2110351e0fe16d9a01368f92a095903
MFC r279016:

  Make syslogd work in case shutdown() is POSIX-ly correct.

  On POSIX conformant systems, shutdown() should return ENOTCONN when not
  connected. We attempted to fix this once (kern/84761), but this change
  got backed out because it 'breaks code' (r150155).

  I just reapplied the patch and indeed, syslogd fails on startup. Make it
  easier to re-enable this change in the future by paching up syslogd to
  do the right thing.

Sponsored by: Nuxi

git-svn-id: svn://svn.freebsd.org/base/stable/10@280020 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/syslogd/syslogd.c