git: sh: Sync with FreeBSD:

Peter Avalos pavalos at crater.dragonflybsd.org
Sun Mar 17 17:47:03 PDT 2013


commit f00eae149c338528630cd778fd4de222713daa11
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Sun Mar 17 17:29:29 2013 -0700

    sh: Sync with FreeBSD:
    
    * Expand assignment-like words specially for export/readonly/local.
    * Remove unused variables.
    * Reset pendingsigs before checking pending traps, not after.
    * Track continued jobs (even if not continued by bg or fg).
    * Inline waitproc() into its only caller.
    * Fix EINTR race condition in "wait" and "set -T" using sigsuspend().
    * use setinputfile instead of open/setinputfd.
    * Prefer internal nextopt() to libc getopt().
    * Use C99 flexible array instead of accessing array beyond bounds.
    * Fix two issues when an alias is redefined.
    * Detect and flag write errors on stdout in builtins.
    * Prefer strsignal() to accessing sys_siglist directly.
    * Don't lose $? when backquoted command ends with semicolon or newline.
    * Fix crash when parsing '{ } &'.
    * Pass $? to command substitution containing compound/multiple commands.
    * Simplify cd-hash interaction.
    * Remove mkinit's initialization routine.
    * Move some stackmarks to fix high memory usage in some loops.
    * Show negated commands (!) in jobs output.
    * Prefer our character classification functions to <ctype.h>.
    * Expand here documents in the current process.
    * Do not test for digit_contig in mksyntax.
    * Simplify mksyntax
    * Fix a crash with the stackmark code.
    * If a SIGINT or SIGQUIT interrupts "wait", return status 128+sig.
    * When executing a trap, keep exit status along with evalskip.
    * Update $FreeBSD$ to include SVN id.
    
    Obtained-from:   FreeBSD

Summary of changes:
 bin/sh/Makefile                                    |   2 +-
 bin/sh/TOUR                                        |   6 +-
 bin/sh/alias.c                                     |  13 +-
 bin/sh/alias.h                                     |   2 +-
 bin/sh/arith.h                                     |   2 +-
 bin/sh/arith_yacc.c                                |   2 +-
 bin/sh/arith_yacc.h                                |   2 +-
 bin/sh/arith_yylex.c                               |   2 +-
 bin/sh/bltin/bltin.h                               |   2 +-
 bin/sh/bltin/echo.c                                |   2 +-
 bin/sh/builtins.def                                |   2 +-
 bin/sh/cd.c                                        |  28 +--
 bin/sh/cd.h                                        |   2 +-
 bin/sh/error.c                                     |   2 +-
 bin/sh/error.h                                     |   2 +-
 bin/sh/eval.c                                      | 136 +++++++++++---
 bin/sh/eval.h                                      |   2 +-
 bin/sh/exec.c                                      |  71 +++----
 bin/sh/exec.h                                      |   3 +-
 bin/sh/expand.c                                    |  15 +-
 bin/sh/expand.h                                    |   3 +-
 bin/sh/funcs/cmv                                   |   2 +-
 bin/sh/funcs/dirs                                  |   2 +-
 bin/sh/funcs/login                                 |   2 +-
 bin/sh/funcs/newgrp                                |   2 +-
 bin/sh/funcs/popd                                  |   2 +-
 bin/sh/funcs/pushd                                 |   2 +-
 bin/sh/funcs/suspend                               |   2 +-
 bin/sh/histedit.c                                  |  46 ++---
 bin/sh/init.h                                      |   3 +-
 bin/sh/input.c                                     |  22 +--
 bin/sh/input.h                                     |   6 +-
 bin/sh/jobs.c                                      | 134 +++++++------
 bin/sh/jobs.h                                      |   3 +-
 bin/sh/mail.c                                      |   2 +-
 bin/sh/mail.h                                      |   2 +-
 bin/sh/main.c                                      |  15 +-
 bin/sh/main.h                                      |   2 +-
 bin/sh/memalloc.c                                  |   2 +-
 bin/sh/memalloc.h                                  |   2 +-
 bin/sh/miscbltin.c                                 |   6 +-
 bin/sh/mkbuiltins                                  |   2 +-
 bin/sh/mkinit.c                                    |  10 +-
 bin/sh/mknodes.c                                   |   2 +-
 bin/sh/mksyntax.c                                  | 207 +++++++--------------
 bin/sh/mktokens                                    |   2 +-
 bin/sh/myhistedit.h                                |   2 +-
 bin/sh/mystring.c                                  |   2 +-
 bin/sh/mystring.h                                  |   2 +-
 bin/sh/nodes.c.pat                                 |   2 +-
 bin/sh/nodetypes                                   |   3 +-
 bin/sh/options.c                                   |   6 +-
 bin/sh/options.h                                   |   2 +-
 bin/sh/output.c                                    |  16 +-
 bin/sh/output.h                                    |   4 +-
 bin/sh/parser.c                                    |   9 +-
 bin/sh/parser.h                                    |   4 +-
 bin/sh/redir.c                                     |  24 +--
 bin/sh/redir.h                                     |   3 +-
 bin/sh/sh.1                                        |  45 +++--
 bin/sh/shell.h                                     |   2 +-
 bin/sh/show.c                                      |   2 +-
 bin/sh/show.h                                      |   2 +-
 bin/sh/trap.c                                      |  50 +++--
 bin/sh/trap.h                                      |   5 +-
 bin/sh/var.c                                       |  52 ++----
 bin/sh/var.h                                       |   2 +-
 tools/regression/bin/sh/Makefile                   |   2 +-
 tools/regression/bin/sh/builtins/alias.0           |   2 +-
 tools/regression/bin/sh/builtins/alias.1           |   2 +-
 tools/regression/bin/sh/builtins/alias3.0          |  12 ++
 .../builtins/{alias.0.stdout => alias3.0.stdout}   |   0
 tools/regression/bin/sh/builtins/break1.0          |   2 +-
 tools/regression/bin/sh/builtins/break2.0          |   2 +-
 tools/regression/bin/sh/builtins/break3.0          |   2 +-
 tools/regression/bin/sh/builtins/builtin1.0        |   2 +-
 tools/regression/bin/sh/builtins/case1.0           |   2 +-
 tools/regression/bin/sh/builtins/case10.0          |   2 +-
 tools/regression/bin/sh/builtins/case11.0          |   2 +-
 tools/regression/bin/sh/builtins/case12.0          |   2 +-
 tools/regression/bin/sh/builtins/case13.0          |   2 +-
 tools/regression/bin/sh/builtins/case14.0          |   2 +-
 tools/regression/bin/sh/builtins/case15.0          |   2 +-
 tools/regression/bin/sh/builtins/case16.0          |   2 +-
 tools/regression/bin/sh/builtins/case17.0          |   2 +-
 tools/regression/bin/sh/builtins/case18.0          |   2 +-
 tools/regression/bin/sh/builtins/case19.0          |   2 +-
 tools/regression/bin/sh/builtins/case2.0           |   2 +-
 tools/regression/bin/sh/builtins/case3.0           |   2 +-
 tools/regression/bin/sh/builtins/case4.0           |   2 +-
 tools/regression/bin/sh/builtins/case5.0           |   2 +-
 tools/regression/bin/sh/builtins/case6.0           |   2 +-
 tools/regression/bin/sh/builtins/case7.0           |   2 +-
 tools/regression/bin/sh/builtins/case8.0           |   2 +-
 tools/regression/bin/sh/builtins/case9.0           |   2 +-
 tools/regression/bin/sh/builtins/cd1.0             |   4 +-
 tools/regression/bin/sh/builtins/cd2.0             |   2 +-
 tools/regression/bin/sh/builtins/cd3.0             |   2 +-
 tools/regression/bin/sh/builtins/cd4.0             |   2 +-
 tools/regression/bin/sh/builtins/cd5.0             |   2 +-
 tools/regression/bin/sh/builtins/cd6.0             |   2 +-
 tools/regression/bin/sh/builtins/cd7.0             |   2 +-
 tools/regression/bin/sh/builtins/cd8.0             |   2 +-
 tools/regression/bin/sh/builtins/command1.0        |   2 +-
 tools/regression/bin/sh/builtins/command10.0       |   2 +-
 tools/regression/bin/sh/builtins/command11.0       |   2 +-
 tools/regression/bin/sh/builtins/command2.0        |   2 +-
 tools/regression/bin/sh/builtins/command3.0        |   2 +-
 tools/regression/bin/sh/builtins/command4.0        |   2 +-
 tools/regression/bin/sh/builtins/command5.0        |   2 +-
 tools/regression/bin/sh/builtins/command6.0        |   2 +-
 tools/regression/bin/sh/builtins/command7.0        |   2 +-
 tools/regression/bin/sh/builtins/command8.0        |   2 +-
 tools/regression/bin/sh/builtins/command9.0        |   2 +-
 tools/regression/bin/sh/builtins/dot1.0            |   2 +-
 tools/regression/bin/sh/builtins/dot2.0            |   2 +-
 tools/regression/bin/sh/builtins/dot3.0            |   2 +-
 tools/regression/bin/sh/builtins/dot4.0            |   2 +-
 tools/regression/bin/sh/builtins/eval1.0           |   2 +-
 tools/regression/bin/sh/builtins/eval2.0           |   2 +-
 tools/regression/bin/sh/builtins/eval3.0           |   2 +-
 tools/regression/bin/sh/builtins/eval4.0           |   2 +-
 tools/regression/bin/sh/builtins/eval5.0           |   2 +-
 tools/regression/bin/sh/builtins/exec1.0           |   2 +-
 tools/regression/bin/sh/builtins/exec2.0           |   2 +-
 tools/regression/bin/sh/builtins/exit1.0           |   2 +-
 tools/regression/bin/sh/builtins/exit2.8           |   2 +-
 tools/regression/bin/sh/builtins/exit3.0           |   2 +-
 tools/regression/bin/sh/builtins/export1.0         |   2 +-
 tools/regression/bin/sh/builtins/fc1.0             |   2 +-
 tools/regression/bin/sh/builtins/fc2.0             |   2 +-
 tools/regression/bin/sh/builtins/for1.0            |   2 +-
 tools/regression/bin/sh/builtins/for2.0            |   2 +-
 tools/regression/bin/sh/builtins/for3.0            |   2 +-
 tools/regression/bin/sh/builtins/getopts1.0        |   2 +-
 tools/regression/bin/sh/builtins/getopts2.0        |   2 +-
 tools/regression/bin/sh/builtins/hash1.0           |   2 +-
 tools/regression/bin/sh/builtins/hash2.0           |   2 +-
 tools/regression/bin/sh/builtins/hash3.0           |   2 +-
 tools/regression/bin/sh/builtins/hash4.0           |   2 +-
 tools/regression/bin/sh/builtins/lineno.0          |   2 +-
 tools/regression/bin/sh/builtins/local1.0          |  13 ++
 tools/regression/bin/sh/builtins/locale1.0         |   2 +-
 tools/regression/bin/sh/builtins/printf1.0         |   2 +-
 tools/regression/bin/sh/builtins/printf2.0         |   2 +-
 tools/regression/bin/sh/builtins/printf3.0         |   2 +-
 tools/regression/bin/sh/builtins/printf4.0         |   2 +-
 tools/regression/bin/sh/builtins/read1.0           |   2 +-
 tools/regression/bin/sh/builtins/read2.0           |   2 +-
 tools/regression/bin/sh/builtins/read3.0           |   2 +-
 tools/regression/bin/sh/builtins/read4.0           |   2 +-
 tools/regression/bin/sh/builtins/read5.0           |   2 +-
 tools/regression/bin/sh/builtins/read6.0           |   5 +
 tools/regression/bin/sh/builtins/return1.0         |   2 +-
 tools/regression/bin/sh/builtins/return2.1         |   2 +-
 tools/regression/bin/sh/builtins/return3.1         |   2 +-
 tools/regression/bin/sh/builtins/return4.0         |   2 +-
 tools/regression/bin/sh/builtins/return5.0         |   2 +-
 tools/regression/bin/sh/builtins/return6.4         |   2 +-
 tools/regression/bin/sh/builtins/return7.4         |   2 +-
 tools/regression/bin/sh/builtins/set1.0            |   2 +-
 tools/regression/bin/sh/builtins/set2.0            |   2 +-
 tools/regression/bin/sh/builtins/trap1.0           |   2 +-
 tools/regression/bin/sh/builtins/trap10.0          |   2 +-
 tools/regression/bin/sh/builtins/trap11.0          |   2 +-
 tools/regression/bin/sh/builtins/trap12.0          |  10 +
 tools/regression/bin/sh/builtins/trap2.0           |   2 +-
 tools/regression/bin/sh/builtins/trap3.0           |   2 +-
 tools/regression/bin/sh/builtins/trap4.0           |   2 +-
 tools/regression/bin/sh/builtins/trap5.0           |   2 +-
 tools/regression/bin/sh/builtins/trap6.0           |   2 +-
 tools/regression/bin/sh/builtins/trap7.0           |   2 +-
 tools/regression/bin/sh/builtins/trap8.0           |   2 +-
 tools/regression/bin/sh/builtins/trap9.0           |   2 +-
 tools/regression/bin/sh/builtins/type1.0           |   2 +-
 tools/regression/bin/sh/builtins/type2.0           |   2 +-
 tools/regression/bin/sh/builtins/unalias.0         |   2 +-
 tools/regression/bin/sh/builtins/var-assign.0      |   2 +-
 tools/regression/bin/sh/builtins/var-assign2.0     |   2 +-
 tools/regression/bin/sh/builtins/wait1.0           |   2 +-
 tools/regression/bin/sh/builtins/wait2.0           |   2 +-
 tools/regression/bin/sh/builtins/wait3.0           |   4 +-
 tools/regression/bin/sh/builtins/wait4.0           |  12 ++
 tools/regression/bin/sh/builtins/wait5.0           |  12 ++
 tools/regression/bin/sh/builtins/wait6.0           |   3 +
 tools/regression/bin/sh/builtins/wait7.0           |   4 +
 tools/regression/bin/sh/errors/assignment-error1.0 |   2 +-
 tools/regression/bin/sh/errors/assignment-error2.0 |   2 +-
 tools/regression/bin/sh/errors/backquote-error1.0  |   2 +-
 tools/regression/bin/sh/errors/backquote-error2.0  |   2 +-
 tools/regression/bin/sh/errors/bad-binary1.126     |   2 +-
 tools/regression/bin/sh/errors/bad-keyword1.0      |   2 +-
 tools/regression/bin/sh/errors/bad-parm-exp1.0     |   2 +-
 tools/regression/bin/sh/errors/bad-parm-exp2.2     |   2 +-
 tools/regression/bin/sh/errors/bad-parm-exp3.2     |   2 +-
 tools/regression/bin/sh/errors/bad-parm-exp4.2     |   2 +-
 tools/regression/bin/sh/errors/bad-parm-exp5.2     |   2 +-
 tools/regression/bin/sh/errors/bad-parm-exp6.2     |   2 +-
 tools/regression/bin/sh/errors/option-error.0      |   2 +-
 tools/regression/bin/sh/errors/redirection-error.0 |   2 +-
 .../regression/bin/sh/errors/redirection-error2.2  |   2 +-
 .../regression/bin/sh/errors/redirection-error3.0  |   2 +-
 .../regression/bin/sh/errors/redirection-error4.0  |   2 +-
 .../regression/bin/sh/errors/redirection-error5.0  |   2 +-
 .../regression/bin/sh/errors/redirection-error6.0  |   2 +-
 .../regression/bin/sh/errors/redirection-error7.0  |   2 +-
 tools/regression/bin/sh/errors/write-error1.0      |   3 +
 tools/regression/bin/sh/execution/bg1.0            |   2 +-
 tools/regression/bin/sh/execution/bg2.0            |   2 +-
 tools/regression/bin/sh/execution/bg3.0            |   2 +-
 tools/regression/bin/sh/execution/bg4.0            |   2 +-
 tools/regression/bin/sh/execution/fork1.0          |   2 +-
 tools/regression/bin/sh/execution/fork2.0          |   2 +-
 tools/regression/bin/sh/execution/fork3.0          |   2 +-
 tools/regression/bin/sh/execution/func1.0          |   2 +-
 tools/regression/bin/sh/execution/func2.0          |   2 +-
 tools/regression/bin/sh/execution/func3.0          |   2 +-
 tools/regression/bin/sh/execution/hash1.0          |   2 +-
 tools/regression/bin/sh/execution/killed1.0        |   2 +-
 tools/regression/bin/sh/execution/killed2.0        |   2 +-
 tools/regression/bin/sh/execution/path1.0          |   2 +-
 tools/regression/bin/sh/execution/redir1.0         |   2 +-
 tools/regression/bin/sh/execution/redir2.0         |   2 +-
 tools/regression/bin/sh/execution/redir3.0         |   2 +-
 tools/regression/bin/sh/execution/redir4.0         |   2 +-
 tools/regression/bin/sh/execution/redir5.0         |   2 +-
 tools/regression/bin/sh/execution/redir6.0         |   2 +-
 tools/regression/bin/sh/execution/redir7.0         |   2 +-
 tools/regression/bin/sh/execution/set-n1.0         |   2 +-
 tools/regression/bin/sh/execution/set-n2.0         |   2 +-
 tools/regression/bin/sh/execution/set-n3.0         |   2 +-
 tools/regression/bin/sh/execution/set-n4.0         |   2 +-
 tools/regression/bin/sh/execution/set-x1.0         |   2 +-
 tools/regression/bin/sh/execution/set-x2.0         |   2 +-
 tools/regression/bin/sh/execution/set-x3.0         |   2 +-
 tools/regression/bin/sh/execution/shellproc1.0     |   2 +-
 tools/regression/bin/sh/execution/subshell1.0      |   6 +
 .../regression/bin/sh/execution/subshell1.0.stdout |   2 +
 tools/regression/bin/sh/execution/subshell2.0      |  10 +
 tools/regression/bin/sh/execution/subshell3.0      |   4 +
 tools/regression/bin/sh/execution/subshell4.0      |   3 +
 tools/regression/bin/sh/execution/unknown1.0       |   2 +-
 tools/regression/bin/sh/execution/var-assign1.0    |   2 +-
 tools/regression/bin/sh/expansion/arith1.0         |   2 +-
 tools/regression/bin/sh/expansion/arith10.0        |   2 +-
 tools/regression/bin/sh/expansion/arith11.0        |   2 +-
 tools/regression/bin/sh/expansion/arith12.0        |   4 +
 tools/regression/bin/sh/expansion/arith2.0         |   2 +-
 tools/regression/bin/sh/expansion/arith3.0         |   2 +-
 tools/regression/bin/sh/expansion/arith4.0         |   2 +-
 tools/regression/bin/sh/expansion/arith5.0         |   2 +-
 tools/regression/bin/sh/expansion/arith6.0         |   2 +-
 tools/regression/bin/sh/expansion/arith7.0         |   2 +-
 tools/regression/bin/sh/expansion/arith8.0         |   2 +-
 tools/regression/bin/sh/expansion/arith9.0         |   2 +-
 tools/regression/bin/sh/expansion/assign1.0        |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst1.0      |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst10.0     |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst11.0     |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst12.0     |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst13.0     |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst14.0     |   5 +
 tools/regression/bin/sh/expansion/cmdsubst15.0     |   5 +
 tools/regression/bin/sh/expansion/cmdsubst16.0     |   5 +
 tools/regression/bin/sh/expansion/cmdsubst17.0     |   5 +
 tools/regression/bin/sh/expansion/cmdsubst2.0      |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst3.0      |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst4.0      |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst5.0      |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst6.0      |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst7.0      |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst8.0      |   2 +-
 tools/regression/bin/sh/expansion/cmdsubst9.0      |   2 +-
 tools/regression/bin/sh/expansion/export1.0        |  13 ++
 tools/regression/bin/sh/expansion/export2.0        |  24 +++
 tools/regression/bin/sh/expansion/export3.0        |  30 +++
 tools/regression/bin/sh/expansion/heredoc1.0       |   2 +-
 tools/regression/bin/sh/expansion/heredoc2.0       |   2 +-
 tools/regression/bin/sh/expansion/ifs1.0           |   2 +-
 tools/regression/bin/sh/expansion/ifs2.0           |   2 +-
 tools/regression/bin/sh/expansion/ifs3.0           |   2 +-
 tools/regression/bin/sh/expansion/ifs4.0           |   2 +-
 tools/regression/bin/sh/expansion/length1.0        |   2 +-
 tools/regression/bin/sh/expansion/length2.0        |   2 +-
 tools/regression/bin/sh/expansion/length3.0        |   2 +-
 tools/regression/bin/sh/expansion/length4.0        |   2 +-
 tools/regression/bin/sh/expansion/length5.0        |   2 +-
 tools/regression/bin/sh/expansion/length6.0        |   2 +-
 tools/regression/bin/sh/expansion/length7.0        |   2 +-
 tools/regression/bin/sh/expansion/length8.0        |   2 +-
 tools/regression/bin/sh/expansion/local1.0         |  28 +++
 tools/regression/bin/sh/expansion/local2.0         |  34 ++++
 tools/regression/bin/sh/expansion/pathname1.0      |   2 +-
 tools/regression/bin/sh/expansion/pathname2.0      |   2 +-
 tools/regression/bin/sh/expansion/pathname3.0      |   2 +-
 tools/regression/bin/sh/expansion/pathname4.0      |   2 +-
 tools/regression/bin/sh/expansion/plus-minus1.0    |   2 +-
 tools/regression/bin/sh/expansion/plus-minus2.0    |   2 +-
 tools/regression/bin/sh/expansion/plus-minus3.0    |   2 +-
 tools/regression/bin/sh/expansion/plus-minus4.0    |   2 +-
 tools/regression/bin/sh/expansion/plus-minus5.0    |   2 +-
 tools/regression/bin/sh/expansion/plus-minus6.0    |   2 +-
 tools/regression/bin/sh/expansion/plus-minus7.0    |   2 +-
 tools/regression/bin/sh/expansion/plus-minus8.0    |   2 +-
 tools/regression/bin/sh/expansion/question1.0      |   2 +-
 tools/regression/bin/sh/expansion/readonly1.0      |   7 +
 tools/regression/bin/sh/expansion/set-u1.0         |   2 +-
 tools/regression/bin/sh/expansion/set-u2.0         |   2 +-
 tools/regression/bin/sh/expansion/set-u3.0         |   2 +-
 tools/regression/bin/sh/expansion/tilde1.0         |   2 +-
 tools/regression/bin/sh/expansion/tilde2.0         |   2 +-
 tools/regression/bin/sh/expansion/trim1.0          |   2 +-
 tools/regression/bin/sh/expansion/trim2.0          |   2 +-
 tools/regression/bin/sh/expansion/trim3.0          |   2 +-
 tools/regression/bin/sh/expansion/trim4.0          |   2 +-
 tools/regression/bin/sh/expansion/trim5.0          |   2 +-
 tools/regression/bin/sh/expansion/trim6.0          |   2 +-
 tools/regression/bin/sh/expansion/trim7.0          |   2 +-
 tools/regression/bin/sh/expansion/trim8.0          |   2 +-
 tools/regression/bin/sh/parameters/env1.0          |   2 +-
 tools/regression/bin/sh/parameters/exitstatus1.0   |   2 +-
 tools/regression/bin/sh/parameters/mail1.0         |   2 +-
 tools/regression/bin/sh/parameters/mail2.0         |   2 +-
 tools/regression/bin/sh/parameters/optind1.0       |   2 +-
 tools/regression/bin/sh/parameters/positional1.0   |   2 +-
 tools/regression/bin/sh/parameters/positional2.0   |   2 +-
 tools/regression/bin/sh/parameters/pwd1.0          |   2 +-
 tools/regression/bin/sh/parameters/pwd2.0          |   2 +-
 tools/regression/bin/sh/parser/alias1.0            |   2 +-
 tools/regression/bin/sh/parser/alias10.0           |   9 +
 tools/regression/bin/sh/parser/alias2.0            |   2 +-
 tools/regression/bin/sh/parser/alias3.0            |   2 +-
 tools/regression/bin/sh/parser/alias4.0            |   2 +-
 tools/regression/bin/sh/parser/alias5.0            |   2 +-
 tools/regression/bin/sh/parser/alias6.0            |   2 +-
 tools/regression/bin/sh/parser/alias7.0            |   4 +
 tools/regression/bin/sh/parser/alias8.0            |   4 +
 tools/regression/bin/sh/parser/alias9.0            |   6 +
 tools/regression/bin/sh/parser/and-pipe-not.0      |   2 +-
 tools/regression/bin/sh/parser/case1.0             |   2 +-
 tools/regression/bin/sh/parser/case2.0             |   2 +-
 tools/regression/bin/sh/parser/dollar-quote1.0     |   2 +-
 tools/regression/bin/sh/parser/dollar-quote10.0    |   2 +-
 tools/regression/bin/sh/parser/dollar-quote11.0    |   2 +-
 tools/regression/bin/sh/parser/dollar-quote2.0     |   2 +-
 tools/regression/bin/sh/parser/dollar-quote3.0     |   2 +-
 tools/regression/bin/sh/parser/dollar-quote4.0     |   2 +-
 tools/regression/bin/sh/parser/dollar-quote5.0     |   2 +-
 tools/regression/bin/sh/parser/dollar-quote6.0     |   2 +-
 tools/regression/bin/sh/parser/dollar-quote7.0     |   2 +-
 tools/regression/bin/sh/parser/dollar-quote8.0     |   2 +-
 tools/regression/bin/sh/parser/dollar-quote9.0     |   2 +-
 tools/regression/bin/sh/parser/empty-braces1.0     |   7 +
 tools/regression/bin/sh/parser/for1.0              |   2 +-
 tools/regression/bin/sh/parser/for2.0              |   2 +-
 tools/regression/bin/sh/parser/func1.0             |   2 +-
 tools/regression/bin/sh/parser/func2.0             |   2 +-
 tools/regression/bin/sh/parser/func3.0             |   2 +-
 tools/regression/bin/sh/parser/heredoc1.0          |   2 +-
 tools/regression/bin/sh/parser/heredoc10.0         |   2 +-
 tools/regression/bin/sh/parser/heredoc11.0         |   2 +-
 tools/regression/bin/sh/parser/heredoc2.0          |   2 +-
 tools/regression/bin/sh/parser/heredoc3.0          |   2 +-
 tools/regression/bin/sh/parser/heredoc4.0          |   2 +-
 tools/regression/bin/sh/parser/heredoc5.0          |   2 +-
 tools/regression/bin/sh/parser/heredoc6.0          |   2 +-
 tools/regression/bin/sh/parser/heredoc7.0          |   2 +-
 tools/regression/bin/sh/parser/heredoc8.0          |   2 +-
 tools/regression/bin/sh/parser/heredoc9.0          |   2 +-
 tools/regression/bin/sh/parser/no-space1.0         |   2 +-
 tools/regression/bin/sh/parser/no-space2.0         |   2 +-
 tools/regression/bin/sh/parser/only-redir1.0       |   2 +-
 tools/regression/bin/sh/parser/pipe-not1.0         |   2 +-
 tools/regression/bin/sh/regress.sh                 |   2 +-
 tools/regression/bin/sh/regress.t                  |   2 +-
 tools/regression/bin/sh/set-e/and1.0               |   2 +-
 tools/regression/bin/sh/set-e/and2.1               |   2 +-
 tools/regression/bin/sh/set-e/and3.0               |   2 +-
 tools/regression/bin/sh/set-e/and4.0               |   2 +-
 tools/regression/bin/sh/set-e/background1.0        |   2 +-
 tools/regression/bin/sh/set-e/cmd1.0               |   2 +-
 tools/regression/bin/sh/set-e/cmd2.1               |   2 +-
 tools/regression/bin/sh/set-e/elif1.0              |   2 +-
 tools/regression/bin/sh/set-e/elif2.0              |   2 +-
 tools/regression/bin/sh/set-e/eval1.0              |   2 +-
 tools/regression/bin/sh/set-e/eval2.1              |   2 +-
 tools/regression/bin/sh/set-e/for1.0               |   2 +-
 tools/regression/bin/sh/set-e/func1.0              |   2 +-
 tools/regression/bin/sh/set-e/func2.1              |   2 +-
 tools/regression/bin/sh/set-e/if1.0                |   2 +-
 tools/regression/bin/sh/set-e/if2.0                |   2 +-
 tools/regression/bin/sh/set-e/if3.0                |   2 +-
 tools/regression/bin/sh/set-e/not1.0               |   2 +-
 tools/regression/bin/sh/set-e/not2.0               |   2 +-
 tools/regression/bin/sh/set-e/or1.0                |   2 +-
 tools/regression/bin/sh/set-e/or2.0                |   2 +-
 tools/regression/bin/sh/set-e/or3.1                |   2 +-
 tools/regression/bin/sh/set-e/pipe1.1              |   2 +-
 tools/regression/bin/sh/set-e/pipe2.0              |   2 +-
 tools/regression/bin/sh/set-e/return1.0            |   2 +-
 tools/regression/bin/sh/set-e/semi1.1              |   2 +-
 tools/regression/bin/sh/set-e/semi2.1              |   2 +-
 tools/regression/bin/sh/set-e/subshell1.0          |   2 +-
 tools/regression/bin/sh/set-e/subshell2.1          |   2 +-
 tools/regression/bin/sh/set-e/until1.0             |   2 +-
 tools/regression/bin/sh/set-e/until2.0             |   2 +-
 tools/regression/bin/sh/set-e/until3.0             |   2 +-
 tools/regression/bin/sh/set-e/while1.0             |   2 +-
 tools/regression/bin/sh/set-e/while2.0             |   2 +-
 tools/regression/bin/sh/set-e/while3.0             |   2 +-
 410 files changed, 1118 insertions(+), 821 deletions(-)
 create mode 100644 tools/regression/bin/sh/builtins/alias3.0
 copy tools/regression/bin/sh/builtins/{alias.0.stdout => alias3.0.stdout} (100%)
 create mode 100644 tools/regression/bin/sh/builtins/local1.0
 create mode 100644 tools/regression/bin/sh/builtins/read6.0
 create mode 100644 tools/regression/bin/sh/builtins/trap12.0
 create mode 100644 tools/regression/bin/sh/builtins/wait4.0
 create mode 100644 tools/regression/bin/sh/builtins/wait5.0
 create mode 100644 tools/regression/bin/sh/builtins/wait6.0
 create mode 100644 tools/regression/bin/sh/builtins/wait7.0
 create mode 100644 tools/regression/bin/sh/errors/write-error1.0
 create mode 100644 tools/regression/bin/sh/execution/subshell1.0
 create mode 100644 tools/regression/bin/sh/execution/subshell1.0.stdout
 create mode 100644 tools/regression/bin/sh/execution/subshell2.0
 create mode 100644 tools/regression/bin/sh/execution/subshell3.0
 create mode 100644 tools/regression/bin/sh/execution/subshell4.0
 create mode 100644 tools/regression/bin/sh/expansion/arith12.0
 create mode 100644 tools/regression/bin/sh/expansion/cmdsubst14.0
 create mode 100644 tools/regression/bin/sh/expansion/cmdsubst15.0
 create mode 100644 tools/regression/bin/sh/expansion/cmdsubst16.0
 create mode 100644 tools/regression/bin/sh/expansion/cmdsubst17.0
 create mode 100644 tools/regression/bin/sh/expansion/export1.0
 create mode 100644 tools/regression/bin/sh/expansion/export2.0
 create mode 100644 tools/regression/bin/sh/expansion/export3.0
 create mode 100644 tools/regression/bin/sh/expansion/local1.0
 create mode 100644 tools/regression/bin/sh/expansion/local2.0
 create mode 100644 tools/regression/bin/sh/expansion/readonly1.0
 create mode 100644 tools/regression/bin/sh/parser/alias10.0
 create mode 100644 tools/regression/bin/sh/parser/alias7.0
 create mode 100644 tools/regression/bin/sh/parser/alias8.0
 create mode 100644 tools/regression/bin/sh/parser/alias9.0
 create mode 100644 tools/regression/bin/sh/parser/empty-braces1.0

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f00eae149c338528630cd778fd4de222713daa11


-- 
DragonFly BSD source repository


More information about the Commits mailing list