> Pull request #5 https://github.com/apache/apr/pull/5/files > corresponds to https://bz.apache.org/bugzilla/show_bug.cgi?id=61985 > Yann and I are neutral on dodging (fd == -1), what do others think? > This would be a trivial one-line fix if we adopt it. > > Are there any committers with an opinion after reviewing the PR comments?
Yann comments on the Linux manpage's comments on negative fd. I just looked on MacOS, and the (BSD) page is silent on the subject. I guess there's no such thing as an authoritative reference? In the absence of such, I'd be reluctant to change this in 1.6, but open to something for 1.7. I may comment on the bugzilla report. -- Nick Kew