Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2009 18:18:46 +0000 (UTC)
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/tools/regression/usr.bin Makefile src/tools/regression/usr.bin/comm Makefile regress.00.out regress.00a.in regress.00b.in regress.01.out regress.01a.in regress.01b.in regress.02.out regress.02a.in regress.02b.in regress.sh regress.t ...
Message-ID:  <200912121822.nBCIM4Oi031600@repoman.freebsd.org>

index | next in thread | raw e-mail

jh          2009-12-12 18:18:46 UTC

  FreeBSD src repository

  Modified files:
    tools/regression/usr.bin Makefile 
    usr.bin/comm         comm.c 
  Added files:
    tools/regression/usr.bin/comm Makefile regress.00.out 
                                  regress.00a.in regress.00b.in 
                                  regress.01.out regress.01a.in 
                                  regress.01b.in regress.02.out 
                                  regress.02a.in regress.02b.in 
                                  regress.sh regress.t 
  Log:
  SVN rev 200442 on 2009-12-12 18:18:46Z by jh
  
  Don't read the newline character to line buffer because lines are passed
  to wcscoll(3). Newline characters could cause incorrect results when
  comparing lines.
  
  Also, if an input line didn't contain a newline character, it was
  omitted from the output. According to my interpretation, SUSv3 requires
  that the newline is always printed.
  
  Add regression tests for the cases. [1]
  
  PR:             bin/140976
  Submitted by:   D'Arcy Cain (original version) [1]
  Approved by:    trasz (mentor)
  
  Revision  Changes    Path
  1.14      +1 -1      src/tools/regression/usr.bin/Makefile
  1.1       +4 -0      src/tools/regression/usr.bin/comm/Makefile (new)
  1.1       +2 -0      src/tools/regression/usr.bin/comm/regress.00.out (new)
  1.1       +5 -0      src/tools/regression/usr.bin/comm/regress.00a.in (new)
  1.1       +2 -0      src/tools/regression/usr.bin/comm/regress.00b.in (new)
  1.1       +2 -0      src/tools/regression/usr.bin/comm/regress.01.out (new)
  1.1       +5 -0      src/tools/regression/usr.bin/comm/regress.01a.in (new)
  1.1       +2 -0      src/tools/regression/usr.bin/comm/regress.01b.in (new)
  1.1       +5 -0      src/tools/regression/usr.bin/comm/regress.02.out (new)
  1.1       +3 -0      src/tools/regression/usr.bin/comm/regress.02a.in (new)
  1.1       +3 -0      src/tools/regression/usr.bin/comm/regress.02b.in (new)
  1.1       +13 -0     src/tools/regression/usr.bin/comm/regress.sh (new)
  1.1       +6 -0      src/tools/regression/usr.bin/comm/regress.t (new)
  1.23      +13 -16    src/usr.bin/comm/comm.c


help

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