Branch: Tag:

1998-01-17

1998-01-17 07:50:06 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

rsh replacement for NT + accept() fix

Rev: NT/init_nt:1.8
Rev: NT/tools/lib:1.10
Rev: NT/tools/rntcc:1.8
Rev: NT/tools/sprsh:1.1
Rev: NT/tools/sprshd:1.1
Rev: NT/tools/uname:1.3
Rev: src/modules/files/socket.c:1.23

14:   }      getntenv() { +  if [ $USE_SPRSH = yes ]; then +  sprsh getenv $1 +  else    rsh $NTHOST set $1 | egrep "^$1=" | sed 's/^.*=//   s///g' -  +  fi   }      silent_do_cmd() { -  +  if [ $USE_SPRSH = yes ]; then +  sprsh "$*" +  else    BATFILE=TMP$$.bat    PWD=`pwd`    RPWD=`fixabspath $PWD`
34:    if [ x$CLEANUP = xyes ]; then    rm $BATFILE || :    fi +  fi   }      do_cmd() {    echo "DOING $*" >&2    silent_do_cmd "$@"   }