cvs commit: src/usr.bin/sed process.c src/tools/regression/usr.bin/sed regress.b2a.out regress.sh

Yar Tikhiy yar at FreeBSD.org
Mon Apr 2 08:14:47 UTC 2007


yar         2007-04-02 08:14:46 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/sed          process.c 
    tools/regression/usr.bin/sed regress.sh 
  Added files:
    tools/regression/usr.bin/sed regress.b2a.out 
  Log:
  Don't forget to close the range if we branched over its end
  and had no chance to match it by the 2nd address precisely.
  Otherwise the unclosed range would bogusly extend to the end
  of stream.
  
  Add a basic regression test for the bug fixed.  (This change
  also fixes the more complex case 5.3 from `multitest.t'.)
  
  Compared with:  SUN and GNU seds
  Tested by:      regression tests
  MFC after:      1 week
  
  Revision  Changes    Path
  1.1       +3 -0      src/tools/regression/usr.bin/sed/regress.b2a.out (new)
  1.13      +3 -1      src/tools/regression/usr.bin/sed/regress.sh
  1.44      +11 -2     src/usr.bin/sed/process.c


More information about the cvs-src mailing list