diff --git a/Build.sh b/Build.sh index 703948c..5846d99 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirBSD: src/bin/ksh/Build.sh,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/Build.sh,v 2.1 2004/12/10 18:09:40 tg Exp $ #- # Copyright (c) 2004 # Thorsten "mirabile" Glaser diff --git a/CONTRIBUTORS b/CONTRIBUTORS index c705bf4..c3a91d8 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,4 +1,4 @@ -$MirBSD: src/bin/ksh/CONTRIBUTORS,v 1.1 2004/12/10 18:08:08 tg Exp $ +$MirBSD: src/bin/ksh/CONTRIBUTORS,v 2.1 2004/12/10 18:09:40 tg Exp $ $OpenBSD: CONTRIBUTORS,v 1.9 1999/07/14 13:37:23 millert Exp $ This is a partial history of this shell gleened from old change logs and diff --git a/Makefile b/Makefile index 1f6c633..1567380 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $MirBSD: src/bin/ksh/Makefile,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/Makefile,v 2.1 2004/12/10 18:09:40 tg Exp $ # $OpenBSD: Makefile,v 1.18 2004/02/16 19:07:19 deraadt Exp $ PROG= ksh diff --git a/NOTES b/NOTES index dc206d7..8591204 100644 --- a/NOTES +++ b/NOTES @@ -1,4 +1,4 @@ -$MirBSD: src/bin/ksh/NOTES,v 1.1 2004/12/10 18:08:08 tg Exp $ +$MirBSD: src/bin/ksh/NOTES,v 2.1 2004/12/10 18:09:40 tg Exp $ $OpenBSD: NOTES,v 1.9 2003/10/26 15:07:25 jmc Exp $ General features of at&t ksh88 that are not (yet) in pdksh: diff --git a/PROJECTS b/PROJECTS index 95158d8..f60b8a5 100644 --- a/PROJECTS +++ b/PROJECTS @@ -1,4 +1,4 @@ -$MirBSD: src/bin/ksh/PROJECTS,v 1.1 2004/12/10 18:08:08 tg Exp $ +$MirBSD: src/bin/ksh/PROJECTS,v 2.1 2004/12/10 18:09:40 tg Exp $ $OpenBSD: PROJECTS,v 1.5 1999/07/14 13:37:23 millert Exp $ diff --git a/README b/README index 6bc0c99..f30a49d 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -$MirBSD: src/bin/ksh/README,v 1.1 2004/12/10 18:08:08 tg Exp $ +$MirBSD: src/bin/ksh/README,v 2.1 2004/12/10 18:09:40 tg Exp $ This is the README for mirbsdksh, developed as part of the MirBSD operating system at The MirOS Project, and produced portably. diff --git a/aclocal.m4 b/aclocal.m4 index f69d317..ed6dcd6 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl $MirBSD: src/bin/ksh/aclocal.m4,v 1.1 2004/12/10 18:08:08 tg Exp $ +dnl $MirBSD: src/bin/ksh/aclocal.m4,v 2.1 2004/12/10 18:09:40 tg Exp $ dnl- dnl Copyright (c) 2004 dnl Thorsten "mirabile" Glaser diff --git a/alloc.c b/alloc.c index 3991c23..0475361 100644 --- a/alloc.c +++ b/alloc.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/alloc.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/alloc.c,v 2.1 2004/12/10 18:09:40 tg Exp $ */ /* $OpenBSD: alloc.c,v 1.7 2004/02/19 18:51:17 deraadt Exp $ */ /* diff --git a/c_ksh.c b/c_ksh.c index 7d83db4..ea87b7c 100644 --- a/c_ksh.c +++ b/c_ksh.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/c_ksh.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/c_ksh.c,v 2.1 2004/12/10 18:09:40 tg Exp $ */ /* $OpenBSD: c_ksh.c,v 1.18 2004/02/10 13:03:36 jmc Exp $ */ /* @@ -13,7 +13,7 @@ #include #endif /* __CYGWIN__ */ -__RCSID("$MirBSD: src/bin/ksh/c_ksh.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/c_ksh.c,v 2.1 2004/12/10 18:09:40 tg Exp $"); int c_cd(char **wp) diff --git a/c_sh.c b/c_sh.c index db05c88..0552516 100644 --- a/c_sh.c +++ b/c_sh.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/c_sh.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/c_sh.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: c_sh.c,v 1.17 2003/03/13 09:03:07 deraadt Exp $ */ /* @@ -10,7 +10,7 @@ #include "ksh_time.h" #include "ksh_times.h" -__RCSID("$MirBSD: src/bin/ksh/c_sh.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/c_sh.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); static char *clocktos(clock_t t); diff --git a/c_test.c b/c_test.c index 4b76563..d14959a 100644 --- a/c_test.c +++ b/c_test.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/c_test.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/c_test.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: c_test.c,v 1.10 2003/10/10 19:09:07 millert Exp $ */ /* @@ -14,7 +14,7 @@ #include "ksh_stat.h" #include "c_test.h" -__RCSID("$MirBSD: src/bin/ksh/c_test.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/c_test.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); /* test(1) accepts the following grammar: oexpr ::= aexpr | aexpr "-o" oexpr ; diff --git a/c_test.h b/c_test.h index 848bbe3..494267a 100644 --- a/c_test.h +++ b/c_test.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/c_test.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/c_test.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: c_test.h,v 1.2 2003/10/22 07:40:38 jmc Exp $ */ #ifndef C_TEST_H diff --git a/c_ulimit.c b/c_ulimit.c index 7e7b9a4..663aafa 100644 --- a/c_ulimit.c +++ b/c_ulimit.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/c_ulimit.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/c_ulimit.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: c_ulimit.c,v 1.10 2003/10/22 07:40:38 jmc Exp $ */ /* @@ -32,7 +32,7 @@ extern long ulimit(); # endif /* HAVE_ULIMIT */ #endif /* HAVE_ULIMIT_H */ -__RCSID("$MirBSD: src/bin/ksh/c_ulimit.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/c_ulimit.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); #define SOFT 0x1 #define HARD 0x2 diff --git a/chvt.c b/chvt.c index 80244fd..8d1f988 100644 --- a/chvt.c +++ b/chvt.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/chvt.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/chvt.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /*- * Copyright (c) 2004 @@ -24,7 +24,7 @@ #include #include "ksh_stat.h" -__RCSID("$MirBSD: src/bin/ksh/chvt.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/chvt.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); char * chvt(char *f) diff --git a/conf-end.h b/conf-end.h index 35c7be1..573cbb4 100644 --- a/conf-end.h +++ b/conf-end.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/conf-end.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/conf-end.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: conf-end.h,v 1.2 1996/08/25 12:37:58 downsj Exp $ */ #ifndef CONF_END_H diff --git a/config.h b/config.h index 259d14c..7f07800 100644 --- a/config.h +++ b/config.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/config.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/config.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: config.h,v 1.9 2003/10/22 07:40:38 jmc Exp $ */ /* diff --git a/configure b/configure index c339b44..407019e 100644 --- a/configure +++ b/configure @@ -2,7 +2,7 @@ # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13.20040919 -# $MirBSD: src/bin/ksh/configure,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/configure,v 2.1 2004/12/10 18:09:41 tg Exp $ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 2004 # Free Software Foundation, Inc. # diff --git a/configure.in b/configure.in index f424292..3b7e11d 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $MirBSD: src/bin/ksh/configure.in,v 1.1 2004/12/10 18:08:08 tg Exp $ +dnl $MirBSD: src/bin/ksh/configure.in,v 2.1 2004/12/10 18:09:41 tg Exp $ dnl dnl Process this file with autoconf to produce a configure script dnl diff --git a/edit.c b/edit.c index e6ea8ae..9b07703 100644 --- a/edit.c +++ b/edit.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/edit.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/edit.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: edit.c,v 1.18 2003/08/22 18:17:10 fgsch Exp $ */ /* @@ -22,7 +22,7 @@ #include #include "ksh_stat.h" -__RCSID("$MirBSD: src/bin/ksh/edit.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/edit.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); #if defined(TIOCGWINSZ) static RETSIGTYPE x_sigwinch(int sig); diff --git a/edit.h b/edit.h index 0119521..36b2a7b 100644 --- a/edit.h +++ b/edit.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/edit.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/edit.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: edit.h,v 1.3 1999/11/14 22:04:02 d Exp $ */ /* $From: edit.h,v 1.2 1994/05/19 18:32:40 michael Exp michael $ */ diff --git a/emacs-gen.sh b/emacs-gen.sh index 45cae2b..66a9693 100644 --- a/emacs-gen.sh +++ b/emacs-gen.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirBSD: src/bin/ksh/emacs-gen.sh,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/emacs-gen.sh,v 2.1 2004/12/10 18:09:41 tg Exp $ # $OpenBSD: emacs-gen.sh,v 1.1.1.1 1996/08/14 06:19:10 downsj Exp $ case $# in diff --git a/emacs.c b/emacs.c index ab39ff3..0fd9222 100644 --- a/emacs.c +++ b/emacs.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/emacs.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/emacs.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: emacs.c,v 1.28 2003/10/22 07:40:38 jmc Exp $ */ /* @@ -19,7 +19,7 @@ #include #include "edit.h" -__RCSID("$MirBSD: src/bin/ksh/emacs.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/emacs.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); static Area aedit; #define AEDIT &aedit /* area for kill ring and macro defns */ diff --git a/eval.c b/eval.c index 63d241a..a506d76 100644 --- a/eval.c +++ b/eval.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/eval.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/eval.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: eval.c,v 1.16 2004/12/08 21:23:18 millert Exp $ */ /* @@ -10,7 +10,7 @@ #include "ksh_dir.h" #include "ksh_stat.h" -__RCSID("$MirBSD: src/bin/ksh/eval.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/eval.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); /* * string expansion diff --git a/exec.c b/exec.c index b1e47a2..1ab9cbd 100644 --- a/exec.c +++ b/exec.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/exec.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/exec.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: exec.c,v 1.31 2003/12/15 05:25:52 otto Exp $ */ /* @@ -10,7 +10,7 @@ #include #include "ksh_stat.h" -__RCSID("$MirBSD: src/bin/ksh/exec.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/exec.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); /* Does ps4 get parameter substitutions done? */ #ifdef KSH diff --git a/expand.h b/expand.h index 1815302..dfc7cea 100644 --- a/expand.h +++ b/expand.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/expand.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/expand.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: expand.h,v 1.3 2001/03/26 16:19:45 todd Exp $ */ #ifndef EXPAND_H diff --git a/expr.c b/expr.c index 813b5d4..3813dc8 100644 --- a/expr.c +++ b/expr.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/expr.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/expr.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: expr.c,v 1.9 2003/10/22 07:40:38 jmc Exp $ */ /* @@ -8,7 +8,7 @@ #include "sh.h" #include -__RCSID("$MirBSD: src/bin/ksh/expr.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/expr.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); /* The order of these enums is constrained by the order of opinfo[] */ enum token { diff --git a/history.c b/history.c index 45b5f88..3c56c11 100644 --- a/history.c +++ b/history.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/history.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/history.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: history.c,v 1.24 2004/08/03 12:44:59 danh Exp $ */ /* @@ -21,7 +21,7 @@ #include "sh.h" #include "ksh_stat.h" -__RCSID("$MirBSD: src/bin/ksh/history.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/history.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); #ifdef HISTORY # ifdef EASY_HISTORY diff --git a/io.c b/io.c index c5a7115..a910e83 100644 --- a/io.c +++ b/io.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/io.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/io.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: io.c,v 1.13 2003/11/10 21:26:39 millert Exp $ */ /* diff --git a/jobs.c b/jobs.c index 332a98b..1bc5c9c 100644 --- a/jobs.c +++ b/jobs.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/jobs.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/jobs.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: jobs.c,v 1.21 2003/11/10 21:26:39 millert Exp $ */ /* @@ -31,7 +31,7 @@ #include "ksh_times.h" #include "tty.h" -__RCSID("$MirBSD: src/bin/ksh/jobs.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/jobs.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); /* Start of system configuration stuff */ diff --git a/ksh.1tbl b/ksh.1tbl index 93bde39..7aa0e11 100644 --- a/ksh.1tbl +++ b/ksh.1tbl @@ -1,4 +1,4 @@ -.\" $MirBSD: src/bin/ksh/ksh.1tbl,v 1.1 2004/12/10 18:08:08 tg Exp $ +.\" $MirBSD: src/bin/ksh/ksh.1tbl,v 2.1 2004/12/10 18:09:41 tg Exp $ .\" $OpenBSD: ksh.1tbl,v 1.79 2004/12/04 07:05:13 jaredy Exp $ .\" $OpenBSD: sh.1tbl,v 1.52 2004/11/09 21:56:54 jmc Exp $ .\" diff --git a/ksh_dir.h b/ksh_dir.h index 797082b..7083e77 100644 --- a/ksh_dir.h +++ b/ksh_dir.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/ksh_dir.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/ksh_dir.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: ksh_dir.h,v 1.1.1.1 1996/08/14 06:19:11 downsj Exp $ */ #ifndef KSH_DIR_H diff --git a/ksh_limval.h b/ksh_limval.h index 912cc3e..356537d 100644 --- a/ksh_limval.h +++ b/ksh_limval.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/ksh_limval.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/ksh_limval.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: ksh_limval.h,v 1.1.1.1 1996/08/14 06:19:11 downsj Exp $ */ #ifndef KSH_LIMVAL_H diff --git a/ksh_stat.h b/ksh_stat.h index 79d5a0f..42e5999 100644 --- a/ksh_stat.h +++ b/ksh_stat.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/ksh_stat.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/ksh_stat.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: ksh_stat.h,v 1.3 1996/10/01 02:05:39 downsj Exp $ */ #ifndef KSH_STAT_H diff --git a/ksh_time.h b/ksh_time.h index 7e01be7..c9aa3de 100644 --- a/ksh_time.h +++ b/ksh_time.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/ksh_time.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/ksh_time.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: ksh_time.h,v 1.2 1996/10/01 02:05:40 downsj Exp $ */ #ifndef KSH_TIME_H diff --git a/ksh_times.h b/ksh_times.h index 8c92e60..2fc0f1a 100644 --- a/ksh_times.h +++ b/ksh_times.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/ksh_times.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/ksh_times.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: ksh_times.h,v 1.2 1996/10/01 02:05:41 downsj Exp $ */ #ifndef KSH_TIMES_H diff --git a/ksh_wait.h b/ksh_wait.h index 07e3176..ca45240 100644 --- a/ksh_wait.h +++ b/ksh_wait.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/ksh_wait.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/ksh_wait.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: ksh_wait.h,v 1.3 1997/06/19 13:58:43 kstailey Exp $ */ #ifndef KSH_WAIT_H diff --git a/lex.c b/lex.c index 75cf1cd..af2e02e 100644 --- a/lex.c +++ b/lex.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/lex.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/lex.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: lex.c,v 1.18 2003/08/06 21:08:05 millert Exp $ */ /* @@ -8,7 +8,7 @@ #include "sh.h" #include -__RCSID("$MirBSD: src/bin/ksh/lex.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/lex.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); /* Structure to keep track of the lexing state and the various pieces of info * needed for each particular state. diff --git a/lex.h b/lex.h index fe93700..fd20246 100644 --- a/lex.h +++ b/lex.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/lex.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/lex.h,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: lex.h,v 1.8 2004/11/02 22:09:24 deraadt Exp $ */ /* $From: lex.h,v 1.4 1994/05/31 13:34:34 michael Exp $ */ diff --git a/main.c b/main.c index 99aa4a7..818234c 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/main.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/main.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: main.c,v 1.28 2004/08/23 14:56:32 millert Exp $ */ /* @@ -11,7 +11,7 @@ #include "ksh_stat.h" #include "ksh_time.h" -__RCSID("$MirBSD: src/bin/ksh/main.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/main.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); extern char **environ; diff --git a/misc.c b/misc.c index e5dc456..768929e 100644 --- a/misc.c +++ b/misc.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/misc.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/misc.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: misc.c,v 1.20 2003/10/22 07:40:38 jmc Exp $ */ /* @@ -11,7 +11,7 @@ # include #endif -__RCSID("$MirBSD: src/bin/ksh/misc.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/misc.c,v 2.1 2004/12/10 18:09:41 tg Exp $"); #ifndef UCHAR_MAX # define UCHAR_MAX 0xFF diff --git a/missing.c b/missing.c index 9bc8de6..a064c7e 100644 --- a/missing.c +++ b/missing.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/missing.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/missing.c,v 2.1 2004/12/10 18:09:41 tg Exp $ */ /* $OpenBSD: missing.c,v 1.5 2003/05/16 18:49:46 jsyn Exp $ */ /* diff --git a/path.c b/path.c index 63f67dc..2c1d93f 100644 --- a/path.c +++ b/path.c @@ -1,10 +1,10 @@ -/** $MirBSD: src/bin/ksh/path.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/path.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: path.c,v 1.9 2003/10/22 07:40:38 jmc Exp $ */ #include "sh.h" #include "ksh_stat.h" -__RCSID("$MirBSD: src/bin/ksh/path.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/path.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); /* * Contains a routine to search a : separated list of diff --git a/proto.h b/proto.h index c694cda..3476c90 100644 --- a/proto.h +++ b/proto.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/proto.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/proto.h,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: proto.h,v 1.11 2003/05/16 19:58:57 jsyn Exp $ */ /* $From: proto.h,v 1.3 1994/05/19 18:32:40 michael Exp michael $ */ diff --git a/rnd.c b/rnd.c index cadd4a8..075f97c 100644 --- a/rnd.c +++ b/rnd.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/rnd.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/rnd.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /*- * Copyright (c) 2004 @@ -23,7 +23,7 @@ #include "sh.h" #include "proto.h" -__RCSID("$MirBSD: src/bin/ksh/rnd.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/rnd.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); #ifndef HAVE_SRANDOM #undef HAVE_RANDOM diff --git a/sh.1tbl b/sh.1tbl index 8830324..1b150df 100644 --- a/sh.1tbl +++ b/sh.1tbl @@ -1,4 +1,4 @@ -.\" $MirBSD: src/bin/ksh/sh.1tbl,v 1.1 2004/12/10 18:08:08 tg Exp $ +.\" $MirBSD: src/bin/ksh/sh.1tbl,v 2.1 2004/12/10 18:09:42 tg Exp $ .\" _MirBSD: src/bin/ksh/ksh.1tbl,v 1.41 2004/11/10 17:18:29 tg Exp $ .\" $OpenBSD: ksh.1tbl,v 1.78 2004/11/08 23:42:02 jmc Exp $ .\" $OpenBSD: sh.1tbl,v 1.52 2004/11/09 21:56:54 jmc Exp $ diff --git a/sh.h b/sh.h index 90b1dc2..a201e0b 100644 --- a/sh.h +++ b/sh.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/sh.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/sh.h,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: sh.h,v 1.18 2004/05/31 10:36:35 otto Exp $ */ #ifndef SH_H diff --git a/shf.c b/shf.c index 81e1168..2dc0e60 100644 --- a/shf.c +++ b/shf.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/shf.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/shf.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: shf.c,v 1.8 2003/02/28 09:45:09 jmc Exp $ */ /* @@ -9,7 +9,7 @@ #include "ksh_stat.h" #include "ksh_limval.h" -__RCSID("$MirBSD: src/bin/ksh/shf.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/shf.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); /* flags to shf_emptybuf() */ #define EB_READSW 0x01 /* about to switch to reading */ diff --git a/shf.h b/shf.h index 7aaa21f..71a62cc 100644 --- a/shf.h +++ b/shf.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/shf.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/shf.h,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: shf.h,v 1.2 1999/01/08 20:25:02 millert Exp $ */ #ifndef SHF_H diff --git a/siglist.in b/siglist.in index 29b429f..696a276 100644 --- a/siglist.in +++ b/siglist.in @@ -1,4 +1,4 @@ -# $MirBSD: src/bin/ksh/siglist.in,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/siglist.in,v 2.1 2004/12/10 18:09:42 tg Exp $ # $OpenBSD: siglist.in,v 1.1.1.1 1996/08/14 06:19:11 downsj Exp $ # # List of signals used to initialize ksh's signal table (see trap.c diff --git a/siglist.sh b/siglist.sh index d9cbc12..bcdda05 100644 --- a/siglist.sh +++ b/siglist.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirBSD: src/bin/ksh/siglist.sh,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/siglist.sh,v 2.1 2004/12/10 18:09:42 tg Exp $ # $OpenBSD: siglist.sh,v 1.4 1997/06/19 13:58:47 kstailey Exp $ # # Script to generate a sorted, complete list of signals, suitable diff --git a/syn.c b/syn.c index 51ef14e..da4c3c3 100644 --- a/syn.c +++ b/syn.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/syn.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/syn.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: syn.c,v 1.14 2003/10/22 07:40:38 jmc Exp $ */ /* @@ -8,7 +8,7 @@ #include "sh.h" #include "c_test.h" -__RCSID("$MirBSD: src/bin/ksh/syn.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/syn.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); struct nesting_state { int start_token; /* token than began nesting (eg, FOR) */ diff --git a/table.c b/table.c index 22a1eb1..cf2e14b 100644 --- a/table.c +++ b/table.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/table.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/table.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: table.c,v 1.5 1999/01/10 17:55:03 millert Exp $ */ /* @@ -7,7 +7,7 @@ #include "sh.h" -__RCSID("$MirBSD: src/bin/ksh/table.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/table.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); #define INIT_TBLS 8 /* initial table size (power of 2) */ diff --git a/table.h b/table.h index 1a5e464..47e0bff 100644 --- a/table.h +++ b/table.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/table.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/table.h,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: table.h,v 1.5 1999/06/15 01:18:36 millert Exp $ */ /* $From: table.h,v 1.3 1994/05/31 13:34:34 michael Exp $ */ diff --git a/tests/bksl-nl.t b/tests/bksl-nl.t index e420ca4..20d07e8 100644 --- a/tests/bksl-nl.t +++ b/tests/bksl-nl.t @@ -1,4 +1,4 @@ -# $MirBSD: src/bin/ksh/tests/bksl-nl.t,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/tests/bksl-nl.t,v 2.1 2004/12/10 18:09:44 tg Exp $ # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ # # These tests deal with how \newline is handled in various situations. The diff --git a/tests/history.t b/tests/history.t index 6992413..3bfeeb0 100644 --- a/tests/history.t +++ b/tests/history.t @@ -1,4 +1,4 @@ -# $MirBSD: src/bin/ksh/tests/history.t,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/tests/history.t,v 2.1 2004/12/10 18:09:44 tg Exp $ # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ # # Not tested yet: diff --git a/tests/read.t b/tests/read.t index 506607b..adf8eec 100644 --- a/tests/read.t +++ b/tests/read.t @@ -1,4 +1,4 @@ -# $MirBSD: src/bin/ksh/tests/read.t,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/tests/read.t,v 2.1 2004/12/10 18:09:45 tg Exp $ # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ # # To test: diff --git a/tests/regress.t b/tests/regress.t index 63df1bc..5602e63 100644 --- a/tests/regress.t +++ b/tests/regress.t @@ -1,4 +1,4 @@ -# $MirBSD: src/bin/ksh/tests/regress.t,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/tests/regress.t,v 2.1 2004/12/10 18:09:45 tg Exp $ # $OpenBSD: regress.t,v 1.12 2003/11/08 19:17:27 jmc Exp $ # # The first 39 of these tests are from the old Bugs script. diff --git a/tests/th b/tests/th index 190d407..60b58a3 100644 --- a/tests/th +++ b/tests/th @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $MirBSD: src/bin/ksh/tests/th,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/tests/th,v 2.1 2004/12/10 18:09:45 tg Exp $ # $OpenBSD: th,v 1.10 2003/09/01 05:16:46 fgsch Exp $ # # Test harness for pdksh tests. diff --git a/tests/th.sh b/tests/th.sh index 3e8136f..da723cf 100644 --- a/tests/th.sh +++ b/tests/th.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirBSD: src/bin/ksh/tests/th.sh,v 1.1 2004/12/10 18:08:08 tg Exp $ +# $MirBSD: src/bin/ksh/tests/th.sh,v 2.1 2004/12/10 18:09:45 tg Exp $ # $OpenBSD: th.sh,v 1.4 2001/01/28 23:04:57 niklas Exp $ # # Simple script to find perl and run it diff --git a/tests/version.t b/tests/version.t index 83fc208..6cdd2df 100644 --- a/tests/version.t +++ b/tests/version.t @@ -5,5 +5,5 @@ category: pdksh stdin: echo $KSH_VERSION expected-stdout-pattern: - /PD KSH v5\.2\.14 MirOS R18 in (native )?KSH mode( as mksh)?/ + /PD KSH v5\.2\.14 MirOS R19 in (native )?KSH mode( as mksh)?/ --- diff --git a/trap.c b/trap.c index 6650277..b06e09c 100644 --- a/trap.c +++ b/trap.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/trap.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/trap.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: trap.c,v 1.13 2003/02/28 09:45:09 jmc Exp $ */ /* @@ -9,7 +9,7 @@ #define FROM_TRAP_C #include "sh.h" -__RCSID("$MirBSD: src/bin/ksh/trap.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/trap.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); /* Table is indexed by signal number * diff --git a/tree.c b/tree.c index a6439e4..4d5512f 100644 --- a/tree.c +++ b/tree.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/tree.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/tree.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: tree.c,v 1.10 2002/02/27 19:37:09 dhartmei Exp $ */ /* @@ -7,7 +7,7 @@ #include "sh.h" -__RCSID("$MirBSD: src/bin/ksh/tree.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/tree.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); #define INDENT 4 diff --git a/tree.h b/tree.h index 7084af4..25abaea 100644 --- a/tree.h +++ b/tree.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/tree.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/tree.h,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: tree.h,v 1.8 2003/10/22 07:40:38 jmc Exp $ */ /* $From: tree.h,v 1.3 1994/05/31 13:34:34 michael Exp $ */ diff --git a/tty.c b/tty.c index 93a4e3c..41199b7 100644 --- a/tty.c +++ b/tty.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/tty.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/tty.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: tty.c,v 1.2 1996/10/01 02:05:51 downsj Exp $ */ #include "sh.h" @@ -7,7 +7,7 @@ #include "tty.h" #undef EXTERN -__RCSID("$MirBSD: src/bin/ksh/tty.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/tty.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); int get_tty(int fd, TTY_state *ts) diff --git a/tty.h b/tty.h index 38569f0..38a4574 100644 --- a/tty.h +++ b/tty.h @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/tty.h,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/tty.h,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: tty.h,v 1.2 1996/11/21 07:59:36 downsj Exp $ */ #ifndef TTY_H diff --git a/var.c b/var.c index b5853e9..4886981 100644 --- a/var.c +++ b/var.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/var.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/var.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: var.c,v 1.17 2004/05/08 19:42:35 deraadt Exp $ */ #include "sh.h" @@ -7,7 +7,7 @@ #include "ksh_stat.h" #include -__RCSID("$MirBSD: src/bin/ksh/var.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/var.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); /* * Variables diff --git a/version.c b/version.c index 8ebb74c..c83eb04 100644 --- a/version.c +++ b/version.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/version.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/version.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: version.c,v 1.12 1999/07/14 13:37:24 millert Exp $ */ /*- @@ -26,7 +26,7 @@ #include "sh.h" const char ksh_version[] = - "@(#)PD KSH v5.2.14 MirOS R18 in " + "@(#)PD KSH v5.2.14 MirOS R19 in " #ifdef MIRBSD_NATIVE "native " #endif diff --git a/vi.c b/vi.c index 7ed41bc..95dec2a 100644 --- a/vi.c +++ b/vi.c @@ -1,4 +1,4 @@ -/** $MirBSD: src/bin/ksh/vi.c,v 1.1 2004/12/10 18:08:08 tg Exp $ */ +/** $MirBSD: src/bin/ksh/vi.c,v 2.1 2004/12/10 18:09:42 tg Exp $ */ /* $OpenBSD: vi.c,v 1.13 2004/05/10 16:28:47 pvalchev Exp $ */ /* @@ -15,7 +15,7 @@ #include "ksh_stat.h" /* completion */ #include "edit.h" -__RCSID("$MirBSD: src/bin/ksh/vi.c,v 1.1 2004/12/10 18:08:08 tg Exp $"); +__RCSID("$MirBSD: src/bin/ksh/vi.c,v 2.1 2004/12/10 18:09:42 tg Exp $"); #define Ctrl(c) (c&0x1f) #define is_wordch(c) (letnum(c))