On Sat, Aug 10, 2013 at 11:47 PM, Roland Mainz <[email protected]> wrote: > Hi! > > ---- > > The following mini-script running on ast-ksh.2013-08-07/Solaris > 11/B145/AMD64/64bit fails with a "[Operation not applicable]" while > the same works on Linux: > -- snip -- > $ ksh -c 'builtin cat ; builtin mkdir ; mkdir tmp ; redirect > {dirfd}<"./tmp" ; mkdir /proc/$$/fd/${dirfd}/test1 ; print "foo2" >>tmp/test1/a ; cat /proc/$$/fd/${dirfd}//test1/a ; rm tmp/test1/a ; > rmdir /proc/$$/fd/${dirfd}//test1 ; true' > mkdir: /proc/24955/fd/11//test1: [Operation not applicable] > -- snip -- > ... it seems the /proc emulation in libast isn't working properly somehow... > ;-(
BTW: The same works with /dev/fd/ ... ---- 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
