History log of /freebsd-10.0-release/usr.bin/paste/paste.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 227242 06-Nov-2011 ed

Mark global functions and/or variables in paste(1) static where possible.

This allows compilers and static analyzers to more thorough analysis.


# 216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# 200462 13-Dec-2009 delphij

Revert most part of 200420 as requested, as more review and polish is
needed.


# 200420 11-Dec-2009 delphij

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


# 162239 12-Sep-2006 charnier

WARNS=6 chocked on unitialized variable.


# 131076 24-Jun-2004 tjr

Add support for multibyte characters in input files and delimiter
strings (arguments to the -d option.) This involves backing out paste.c
rev. 1.13 until we have a version of fgetln() that operates on wide
character streams.


# 97233 24-May-2002 tjr

Use fgetln(3) to handle lines of unlimited length instead of a
getc/putc loop.

Suggested by: dd


# 97230 24-May-2002 tjr

P1003.2 forbids imposing any limit on line lengths; read character by
character instead of manually buffering each line.


# 97223 24-May-2002 tjr

Exit with non-zero status if any files specified could not be opened
when -s option is given (SUSv3).


# 96785 17-May-2002 jmallett

Clean up malloc(3)'s argument. Remove casts which do nothing when we're
using sizeof() anyway. Use slightly more consistent (per-file) error
reporting for malloc(3) returning NULL. If "malloc failed" was being printed,
don't use err(3). If a NULL format is being used, use err(3). In one case
errx(3) was being used with strerror(3), so just use err(3).


# 95626 28-Apr-2002 markm

More low hanging warnings fruit; ANSIfy, de-register, constify.


# 92921 21-Mar-2002 imp

remove __P


# 92772 20-Mar-2002 mike

When invoked with no file arguments, display usage.

Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
PR: 36074

Use new ID scheme.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 33644 20-Feb-1998 jb

Add #include <stdlib.h> to get prototype for malloc(). Without this,
the compiler assumes an int return. On alpha this is enough to ruin
ya day.


# 27907 05-Aug-1997 asami

Remove bogus malloc() decl.


# 27787 31-Jul-1997 charnier

Use err(3). Add prototypes. Silent -Wall.


# 24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources