"James C. McPherson" wrote:
> On Wed, 18 Feb 2009 06:59:47 +0100
> Roland Mainz <roland.mainz at nrubsig.org> 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 ?
> 
> running the nightly build from 13 Feb (...tip)

... which seems to be shortly before Casper's putback
(http://mail.opensolaris.org/pipermail/onnv-notify/2009-February/008582.html)
... ;-/

> > 2. What does $ /usr/xpg4/bin/file /usr/bin/sleep # say ?
> 
> $ /usr/xpg4/bin/file /usr/bin/sleep
> /usr/bin/sleep: executable /usr/bin/ksh93 script
> 
> The same does not happen for me with snv_103, where /usr/bin/sleep
> is a binary.

Ok...
... can you check whether the attached patch
("old_alias_sh_do_not_use_getpwnam001.diff.txt") fixes the problem,
please (it avoids using the '~' which is the cause for this trouble) ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
-------------- next part --------------
--- /usr/bin/sleep      Fri Nov 14 20:34:38 2008
+++ /usr/bin/sleep      Wed Feb 18 07:36:27 2009
@@ -39,7 +39,7 @@
 # before /usr/bin (e.g. /usr/xpg4/bin/ls would be executed
 # before /usr/bin/ls if would look like
 # PATH=/usr/xpg4/bin:/usr/bin).
-if [[ "${cmd}" != ~(Elr)(alias|unalias|command) ]] && ! alias "${cmd}" 
>/dev/null 2>&1 ; then
+if [[ "${cmd}" != "alias" && "${cmd}" != "unalias" && "${cmd}" != "command" ]] 
&& ! alias "${cmd}" >/dev/null 2>&1 ; then
        builtin "${cmd}"
 fi
 

Reply via email to