🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #920

Re: access permissions in 1003.1

#920
From: Sean Eric Fagan
Date: Thu, 13 Jun 1991 18:38
37 lines
2639 bytes
Submitted-by: sef@kithrup.COM (Sean Eric Fagan)

In article <1991Jun12.235808.20822@uunet.uu.net> mib@geech.gnu.ai.mit.edu (Michael I Bushnell) writes:
>HP is *already* claiming Posix compliance, and you say one of the
>solutions "will likely be used".  *That* is precisely the problem.

No, that is not the problem.  I do not work for HP, nor have I ever in the
past.  As far as I know, HP solved the problem quite nicely.  For the
company I was working for, which was *not* HP, I and one other person spent
a few weeks looking into the name-space pollution problem, how to solve it,
and what it would affect in terms of compatibility with old programs and
binaries.

Another poster asks what the two "fairly obvious" methods are.  One is to have
an "ansi-only" mode, a "posix-only" mode, and a "normal" mode, probably
toggled by command-line switches.  Each "mode" would have its own
header-file tree assosciated with it, with only the header-files defined by
that standard (normal would, of course, have everything), as well as a
special library and startup-file.

The other way is a bit harder, but allows backwards-compatibility to work
more easily (at least with supposedly-compliant programs).  Essentially, you
have all "illegal" symbols be "safe" (__select, for example).  All library
routines are written to use the __ names; then, you have the linker accept
an option that tells it to try to ignore the leading __ if there are
unresolved externals.  You still need header-file work, of course, but that
does help the name-pollution problem.  If I remember correctly, both HP and
AT&T did something similar.

-- 
Sean Eric Fagan  | "I made the universe, but please don't blame me for it;
sef@kithrup.COM  |  I had a bellyache at the time."
-----------------+           -- The Turtle (Stephen King, _It_)
Any opinions expressed are my own, and generally unpopular with others.


Volume-Number: Volume 24, Number 3
Technical Details
Message-ID: <1991Jun15.175831.6319@uunet.uu.net>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!uunet.UU.NET!sef
References: <1991Jun5.201559.11784@uunet.uu.net> <1991Jun12.043706.18456@uunet.uu.net> <1991Jun12.235808.20822@uunet.uu.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!uunet.UU.NET!sef
From: sef@kithrup.COM (Sean Eric Fagan)
Newsgroups: comp.std.unix
Subject: Re: access permissions in 1003.1
Message-ID: <1991Jun15.175831.6319@uunet.uu.net>
Date: 13 Jun 91 18:38:47 GMT
References: <1991Jun5.201559.11784@uunet.uu.net> <1991Jun12.043706.18456@uunet.uu.net> <1991Jun12.235808.20822@uunet.uu.net>
Sender: usenet@uunet.uu.net (UseNet News)
Organization: Kithrup Enterprises, Ltd.
Lines: 37
Approved: sef@uunet.uu.net (Moderator, Sean Eric Fagan - comp.std.unix)
Originator: sef@uunet.UU.NET
Nntp-Posting-Host: uunet.uu.net
X-Submissions: std-unix@uunet.uu.net