comp.lang.ada
 help / color / mirror / Atom feed
From: barmar@think.COM (Barry Margolin)
Subject: Re: Ada/UNIX(tm) and the NAME function
Date: 30 Dec 88 17:35:47 GMT	[thread overview]
Message-ID: <34974@think.UUCP> (raw)
In-Reply-To: 8812281638.AA00722@aries

In article <8812281638.AA00722@aries> emery@mitre.org writes:
>...  If the pathname isn't absolute, call Unix.getcwd, ...
>Note that there is NO requirement to walk the directory chain.

How do you think Unix.getcwd works?  Most Unix implementations don't
remember the character string used to set the working directory.
Getcwd() walks the directory tree.

Does the specification of the NAME function say how it should interact
with asynchronous renamings?  Must it always return the current name,
or can it just return the name used to open the file?  This goes
beyond Unix, since most OSes allow files that are open to be renamed.
However, if the current name must always be returned, it would be
difficult for Unix to support this.


Barry Margolin
Thinking Machines Corp.

barmar@think.com
{uunet,harvard}!think!barmar

  reply	other threads:[~1988-12-30 17:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-12-28 16:38 Ada/UNIX(tm) and the NAME function David Emery
1988-12-30 17:35 ` Barry Margolin [this message]
1988-12-30 22:08   ` Dik T. Winter
1989-01-03 20:03 ` John Stafford
  -- strict thread matches above, loose matches on Subject: below --
1989-01-01  0:01 Erland Sommarskog
1988-12-20 19:40 John Stafford
1988-12-21 19:43 ` Robert Firth
1989-01-03 15:19   ` Stephe Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox