Jordan Henderson wrote:

> Grrr.  I'll try that again (Wordmail is fscking evil!)
> 
> I agree with Charles Lane that we should make 
> work-arounds for these kinds of things in VMS.C (or elsewhere) 
> to support all reasonable DECC versions (for reasonable values 
> of reasonable),  but perhaps a SPR should be submitted
> to VMS engineering in these kinds of cases.
> 
> Question is, what's the "official" behavior of chdir(), mkdir(), etc.?
> 
> POSIX?

Please note that I am not a POSIX lawyer nor do I play one on TV, _but_
my suspicion is that this may not be specified.  Adding trailing slashes
and still doing "the right thing(tm)" seems to me to be more of a Berkeley/
BSD/csh-ism and may not have been folded into a POSIX.

However failing to chdir() and returning a non success status simply
because of the presence of a trailing '/' does seem bizzare even if it
is in full compliance with a (vague?) POSIX spec.

Peter Prymmer

Reply via email to