Hi!

----

cd -@ no longer seems to work on Solaris 11/B145/AMD64/64bit when
subshells+cd -f are involved. It seems the issue may crawled-in the
time when we switched over to /dev/file@xattr/ ... ;-(

Example:
-- snip --
$ cat test79.sh
redirect {basefd}<"."
touch x5
cd -@ x5
redirect {n}<"."
cd -f ${basefd}
(cd -f "$n" ; print "hello5" >"myxattr")
(cd -@ x5 ; cat "myxattr" )
rm x5
$ ksh -x test79.sh
+ command exec
+ {basefd}< .
+ touch x5
+ cd -@ x5
+ command exec
+ {n}< .
+ cd -f 12
+ cd -f 10
+ print hello5
+ 1> myxattr
+ cd -@ x5
test79.sh[7]: cd: /dev/file/xattr@x5//@//: [No such file or directory]
+ cat myxattr
hello5
+ rm x5
rm: x5: not found
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to