History log of /freebsd-10.1-release/usr.bin/banner/banner.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

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


# 227152 06-Nov-2011 ed

Add missing static keywords to banner(1)


# 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


# 201382 02-Jan-2010 ed

ANSIfy various tools in usr.bin/.

Most of these tools properly build at WARNS=6, except for their K&R
function declarations. Fix this, so we can bump WARNS as well.


# 164522 22-Nov-2006 maxim

o Check that -w width is not above maximum. Use DWIDTH instead of
hardcoded constant.

Reported by: Gruzicki Wlodek on BugTraq
Obtained from: NetBSD, OpenBSD
MFC after: 1 week


# 92920 21-Mar-2002 imp

remove __P


# 87628 10-Dec-2001 dwmalone

Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is:

1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.


# 87258 02-Dec-2001 markm

Use __FBSDID().


# 79939 19-Jul-2001 ru

Fixed the race caused by not checking the result of fgets(3):

/usr/bin/env MALLOC_OPTIONS=J banner </dev/null

PR: bin/29074

Fixed the problem when banner(6) would eat last character:

echo -n a | banner

MFC after: 1 week


# 77294 28-May-2001 mikeh

Fix overflowing on nul character.

PR: bin/16926
MFC after: 1 week


# 76888 20-May-2001 kris

Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC After: 1 week


# 73511 04-Mar-2001 billf

BDECFLAGS.

while I'm here, fix bitrotted debug code generating template.


# 58608 26-Mar-2000 charnier

Add -d and -t flags to usage. Add usage().


# 54110 04-Dec-1999 kris

Fix buffer overflow & add $FreeBSD$

Reviewed by: imp


# 45802 19-Apr-1999 steve

Use const where appropriate.

PR: 10739
Submitted by: Stephen J. Rosnowski <sjr@home.net>
Obtained from: NetBSD PR 6151


# 41568 06-Dec-1998 archie

Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).


# 27226 06-Jul-1997 bde

Merge from Lite2 (reject widths <= 0 instead of pretending that they are 80).


# 24360 29-Mar-1997 imp

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


# 8874 30-May-1995 rgrimes

Remove trailing whitespace.


# 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