This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Remove obsolete, never-implemented XSI STREAMS declarations
On Tue, Feb 26, 2019 at 1:33 PM Zack Weinberg <email@example.com> wrote:
> On Tue, Feb 26, 2019 at 11:51 AM Florian Weimer <firstname.lastname@example.org> wrote:
> > * Zack Weinberg:
> > > Please search the source tree for
> > > additional references to STREAMS, XTI, stropts.h, xti[types].h, the
> > > types defined by stropts.h, etc. and remove them or replace them with
> > > notes that we do not implement STREAMS, as appropriate.
> > I see. What about the patch below?
> Seems reasonable (I didn't do a search for more references myself)
> > I removed the isastream call from the pseudo-terminal example in the
> > manual, too.
> Yeah, this also seems fine. The only reason to keep this around would
> be if some current Unix still needed it, and if that were the case
> POSIX probably wouldn't have obsolesced STREAMS. (Does anyone know
> for sure?)
Searching in Google's mega-monorepo-o-gigantude, I see just 46
references to isastream(),
all in glibc sources/headers except for a call in the ancient X11 file
getpmsg() has 100-odd appearances outside of glibc sources, but no
actual calls to it;
the references seem to all be in different flavors of
whitelisting, auditing, and analysis code.