Branch: Tag:

1998-02-01

1998-02-01 02:08:25 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

Many patches for NT...

Rev: NT/tools/cp:1.3
Rev: NT/tools/install:1.3
Rev: NT/tools/lib:1.12
Rev: NT/tools/mkdir:1.3
Rev: NT/tools/rntcc:1.10
Rev: NT/tools/sprsh:1.2
Rev: NT/tools/sprshd:1.6
Rev: src/builtin_functions.c:1.66
Rev: src/error.c:1.12
Rev: src/error.h:1.12
Rev: src/fdlib.c:1.11
Rev: src/fdlib.h:1.8
Rev: src/interpret.c:1.65
Rev: src/modules/files/file.c:1.73
Rev: src/modules/files/socket.c:1.28
Rev: src/pike_memory.c:1.12
Rev: src/program.h:1.31
Rev: src/signal_handler.c:1.28

1: - #!/bin/sh + #!/usr/local/bin/pike    - dest=`eval echo '$'$#` + inherit "lib.pike";    - case "x$dest" in -  x[a-zA-Z]:*) -  . $NTTOOLS -  do_cmd copy `fixpath $*` -  exit $? -  ;; - esac -  - exec /bin/cp "$@" -  + int main(int argc, string *argv) + { +  if(sscanf(argv[-1],"%*[a-zA-Z]:%*s")) +  { +  argv[0]="copy"; +  exit(do_cmd( Array.map(argv,fixpath))); +  }else{ +  exece("/bin/cp",argv[1..]); +  exit(69); +  } + }