Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2011 18:10:18 +0000 (UTC)
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/rs rs.c
Message-ID:  <201102071810.p17IAUD1037550@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jh          2011-02-07 18:10:18 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/rs           rs.c 
  Log:
  SVN rev 218411 on 2011-02-07 18:10:18Z by jh
  
  - Use LINE_MAX from limits.h as the maximum line length instead of
    BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE).
  - Error out if we encounter a line longer than LINE_MAX. The previous
    behavior was to silently split long lines and produce corrupted
    output.
  
  PR:             bin/151384
  
  Revision  Changes    Path
  1.17      +12 -6     src/usr.bin/rs/rs.c



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