Branch: Tag:

1998-01-10

1998-01-10 21:31:10 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

now create_process works (and it uses winsock 2)

Rev: NT/init_nt:1.3
Rev: NT/tools/rntcc:1.4
Rev: NT/tools/uname:1.1
Rev: src/configure.in:1.148
Rev: src/fd_control.c:1.12
Rev: src/fdlib.c:1.6
Rev: src/fdlib.h:1.4
Rev: src/main.c:1.31
Rev: src/modules/Image/colortable.c:1.31
Rev: src/modules/Image/configure.in:1.6
Rev: src/modules/Image/font.c:1.25
Rev: src/modules/files/configure.in:1.38
Rev: src/modules/files/file.c:1.66
Rev: src/modules/files/socket.c:1.22
Rev: src/modules/files/testsuite.in:1.10
Rev: src/modules/spider/configure.in:1.21
Rev: src/modules/spider/dumudp.c:1.30
Rev: src/modules/system/configure.in:1.16
Rev: src/modules/system/system.c:1.35
Rev: src/signal_handler.c:1.18
Rev: src/time_stuff.h:1.6

1: + #!/bin/sh    -  + . $NTTOOLS +  + M=no + N=no + S=no +  + for a in "$*" + do +  case "$a" in +  --version) +  echo "Fake NT uname version 1.0 by Fredrik Hubinette" +  exit 0 +  ;; +  +  --help) +  echo "Usage: uname [-a] [-m] [-n] [-r] [-s] [-v]" +  exit 0 +  ;; +  +  --all) M=yes ; N=yes ; S=yes ;; +  --machine) M=yes ;; +  --nodename) N=yes ;; +  --sysname) S=yes ;; +  +  --*) +  echo "Unknown option $a" +  exit 1 +  ;; +  +  -*) +  case "$a" in +  *m*) M=yes ;; +  esac +  +  case "$a" in +  *n*) N=yes ;; +  esac +  +  case "$a" in +  *s*) S=yes ;; +  esac +  +  case "$a" in +  *a*) M=yes ; N=yes ; S=yes ;; +  esac +  ;; +  +  esac + done +  + if [ $M$N$S = nonono ]; then +  S=yes + fi +  + OUTPUT= +  + if [ $S = yes ]; then +  OUTPUT="$OUTPUT `getntenv OS`" + fi +  + if [ $N = yes ]; then +  OUTPUT="$OUTPUT $NTHOST" + fi +  + if [ $M = yes ]; then +  OUTPUT="$OUTPUT `getntenv PROCESSOR_ARCHITECTURE`" + fi +  + echo $OUTPUT +  + exit 0   Newline at end of file added.