cvs commit: src/bin/sh eval.c sh.1 src/tools/regression/bin/sh/builtins case1.0

Stefan Farfeleder stefanf at FreeBSD.org
Thu Oct 4 09:14:49 PDT 2007


stefanf     2007-10-04 16:14:49 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               eval.c sh.1 
  Added files:
    tools/regression/bin/sh/builtins case1.0 
  Log:
  The exit status of a case statement where none of the patterns is matched
  is supposed to be 0, not the status of the previous command.
  
  Reported by:    Eygene Ryabinkin
  PR:             116559
  Approved by:    re (gnn)
  
  Revision  Changes    Path
  1.54      +1 -0      src/bin/sh/eval.c
  1.125     +4 -0      src/bin/sh/sh.1
  1.1       +13 -0     src/tools/regression/bin/sh/builtins/case1.0 (new)


More information about the cvs-all mailing list