Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 2010 23:44:29 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh parser.c src/tools/regression/bin/sh/parser alias3.0
Message-ID:  <201011022345.oA2NjRkL030208@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2010-11-02 23:44:29 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               parser.c 
  Added files:
    tools/regression/bin/sh/parser alias3.0 
  Log:
  SVN rev 214709 on 2010-11-02 23:44:29Z by jilles
  
  sh: Fix some issues with aliases and case, by importing dash checkkwd code.
  
  This moves the function of the noaliases variable into the checkkwd
  variable. This way it is properly reset on errors and aliases can be used
  normally in the commands for each case (the case labels recognize the
  keyword esac but no aliases).
  
  The new code is clearer as well.
  
  Obtained from:  dash
  
  Revision  Changes    Path
  1.101     +49 -50    src/bin/sh/parser.c
  1.1       +6 -0      src/tools/regression/bin/sh/parser/alias3.0 (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011022345.oA2NjRkL030208>