tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH 1/3] gcc: Add missing parentheses around ternary operator



On Thu, Sep 09, 2021 at 05:28:58AM +0700, Robert Elz wrote:
 >   | Yeah, as you see it's the default. I don't remember the details any
 >   | more, or whether it was a bsd vs. sysv thing or what, but AFAICR the
 >   | other open behavior where it's needed was old and basically deprecated
 >   | even in the 90s.
 > 
 > In ancient times (well before the 90's, and without system version variation)
 > it was certainly true that opening a tty by a process with no controlling
 > tty would cause that tty to become the controlling tty.

Right. At some point that got improved, like various other things, and
the parts of the world that can't be arsed to keep up failed to keep
up long enough that it got into POSIX.

I don't have any idea if it's still relevant.

 > Until just recently (ie: this week) I had no idea that had changed.

No reason you should unless you've been reimplementing sessions and
process groups :-)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index