Alan Coopersmith wrote:
> Roland Mainz wrote:
> > However IMO it would still make sense to use the libshell builtin code
> > for this - what is the Sun policy in this case ? Is an ARC case required
> > for this (e.g. both the current code for "pwd" and the use of the
> > libshell builtin code will produce identical results) ?
> 
> Are you changing the interfaces imported or exported?   If so, then you may
> need an ARC case.
> 
> For pwd, the current exported interfaces would be (from a quick scan of
> the man page):
>         Command path: /usr/bin/pwd
>         Arguments: none accepted

The cureent implementation of /usr/bin/pwd doesn't care about arguments.
$ /usr/bin/pwd -G -A -R -B -A -G _E
/tmp/gisburn

The ksh93 builtin version of "pwd" issues an error for everything except
-L and -P, however -P is a no-op since this is a seperate process which
only sees the physical path at startup.

>         Output format: path name on a single line
> 
> Are you changing any of those?   Since you said to drop the suggestion to
> use -P & -L, it sounds like you're not.

See above. The current implementation just ignores all switches and the
new one would ignore -L and -P switches and issue errors for all other
options. This may be a border case since pwd(1) does not describe any
options or the behaviour if any options are given. Existing scripts
won't be affected as they usually do not pass any arguments to
/usr/bin/pwd and if they do it's likely either -P or -L where the
resulting behaviour is identical to the current /usr/bin/pwd

> That leaves imported interfaces.   From what I see in elfdump, the current
> pwd uses only Committed interfaces from libc.   You're suggesting to add
> use of interfaces from libshell - are those Committed, Uncomitted or some
> form of Private?   If they're Project Private, then you'ld need an ARC case
> since you're proposing use outside the original project.   If they're a
> higher stability level, you may not.

Ok... this is the point where I need April or Don (since I cause almost
everytimes havov&&destruction)... libshell is "Project Private" - but in
which scope... "OS/Net" or "ksh93-integration" ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to