Re: problem with "nobackground" mode on NetBSD current?
Roy Marples
Sat Sep 12 20:49:43 2020
On 12/09/2020 18:17, Rob Newberry wrote:
Yep. I've confirmed that fixes it.
FYI -- I've also found the bug in my systems manager code. It was an uninitialized file descriptor variable, defaulted to zero instead of -1 (invalid file descriptor value), which was closed at the exit of a function.
I backed out my fix (temporarily) and tested with your changes to confirm that it did indeed fix the problem (I even added a logerrx to make sure it detected an invalid stdin). I can confirm that dhcpcd works with or without fixing my own code :-).
Thank you again!
Thanks for testing!
Comitted here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=08726f96dbb68f56febc8a14e44dcc8eadfb924f
First time for me where a bug in dhcpcd found a bug in a 3rd party product -
glad both are fixed.
Roy
Archive administrator: postmaster@marples.name