Dan Mick wrote: > Roland Mainz wrote: > > Roland Mainz wrote: > >> Dan Mick wrote: > >> [CC:'ing ksh93-integration-discuss at opensolaris.org] > >>> Someone just noticed that sleep hangs if the network is down. > >> Can you send a stacktrace of the hanging "sleep", please ? > > > > BTW: Two questions: > > 1. Which OS/Net build do you use - B106, B107, B108 or B109/tip ? > > I'm using 106 for my test. I don't know what the OP was using. I don't think > it matters (other than that it's using a ksh93 sleep).
It matters since the putback for http://mail.opensolaris.org/pipermail/onnv-notify/2009-February/008582.html changed the wrapper from a script to a binary. > > 2. What does $ /usr/xpg4/bin/file /usr/bin/sleep # say ? > > If this is equivalent to "are you really running a ksh93 script for > sleep"...really? You're really asking that? See above. The wrapper changed from a script ("alias.sh") to a binary ("alias.c") with slightly different behaviour. I'd like to figure out wrapper "accidently" killed this problem, too (and if not (which is likely) the fix will be slightly different, too). The part (which I don't understand right now (after being more than 24h awake)) is that the |libshell::sh_tilde()| call is coming from a shell pattern (e.g. "~(Elr)(alias|unalias|command)") where the |getpwnam()| call is AFAIK completely useless... ;-( ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;)