David, I have a fix for this, but Roland said I should ask whether I
can merge it with the patch to support NFSv4 attribute directories
since both touch the same places and deal with the same class of
problems.

Olga

On Fri, Jul 6, 2012 at 1:44 AM, ольга крыжановская
<[email protected]> wrote:
> Solaris chdir("name") does not work for /dev/fd. I (or Roland) have to
> find a workaround for this... ;-(
>
> Olga
>
> On Wed, Jun 20, 2012 at 5:56 AM, ольга крыжановская
> <[email protected]> wrote:
>> Can some one explain why the following statement works on Linux but
>> fails on Solaris 11?
>>
>> ksh -c 'redirect {n}<. ; cd / ; cd /dev/fd/$n ; /bin/pwd ; true'
>> will print the current cwd name on Linux.
>>
>> But on Solaris 11 I'll get:
>> ksh[1]: cd: /dev/fd/10: [Not a directory]
>> /
>>
>> Why?
>>
>> Olga
>> --
>>       ,   _                                    _   ,
>>      { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
>> .----'-/`-/     [email protected]   \-`\-'----.
>>  `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
>>       /\/\     Solaris/BSD//C/C++ programmer   /\/\
>>       `--`                                      `--`
>
>
>
> --
>       ,   _                                    _   ,
>      { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
> .----'-/`-/     [email protected]   \-`\-'----.
>  `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
>       /\/\     Solaris/BSD//C/C++ programmer   /\/\
>       `--`                                      `--`



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to