This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove obsolete, never-implemented XSI STREAMS declarations


On Tue, Feb 26, 2019 at 1:33 PM Zack Weinberg <zackw@panix.com> wrote:
>
> On Tue, Feb 26, 2019 at 11:51 AM Florian Weimer <fweimer@redhat.com> 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
Xtranslcl.c.

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
semi-mechanically-generated
whitelisting, auditing, and analysis code.

Stan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]