OpenGrok
Cross Reference: banner.c
xref
: /
src
/
games
/
banner
/
banner.c
Home
|
History
|
Annotate
|
Download
|
only in
banner
History log of
/src/games/banner/banner.c
Revision
Date
Author
Comments
1.22
02-May-2021
rillig
games: remove trailing whitespace in *.c and *.h
1.21
13-Oct-2012
dholland
Move scratch variables of main to main, instead of having them be
file-static.
1.20
26-Feb-2012
wiz
branches: 1.20.2;
Man page and usage cleanups from Bug Hunting in PR 46103.
1.19
29-Aug-2011
joerg
branches: 1.19.2;
Use __dead
1.18
12-Aug-2009
dholland
sprinkle static
1.17
20-Jul-2008
lukem
Remove the \n and tabs from the __COPYRIGHT() strings.
1.16
22-Nov-2006
reed
branches: 1.16.18;
Check that -w width is not above maximum. (It already checks for zero or
negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki
Wlodek on bugtraq.
While here replace one use of 132 with DWIDTH.
1.15
01-Jul-2005
jmc
Whitespace fix
1.14
27-Jun-2005
rillig
Changed the type of data_table to be unsigned char[] instead of char[],
because it is initialized with values >= SCHAR_MAX. Also removed two
unnecessary bit mask operations. These changes do not affect the actual
behavior. Also replaced an "#ifdef notdef" with "#if 0". All these
changes are mainly for reducing lint(1) warnings.
1.13
27-Jun-2005
rillig
Fixed buffer overflow with long command line arguments.
1.12
27-Jan-2004
jsm
branches: 1.12.2; 1.12.4; 1.12.6; 1.12.8; 1.12.10; 1.12.12;
Remove uses of __P.
1.11
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
1.10
19-Jul-1999
hubertf
Back out last due to think o on my side: we don't start banner through
dm(6), so there's no setgid privileges to discard. Pointed out by
Joseph S. Myers <jsm28@cam.ac.uk>
1.9
19-Jul-1999
hubertf
Drop setgid privs passed from dm(6).
Patch submitted in PR 5945 by Joseph S. Myers <jsm28@cam.ac.uk>
1.8
14-Sep-1998
hubertf
constify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>)
1.7
10-Oct-1997
lukem
WARNSify, fixup .Nm usage
1.6
04-Mar-1997
mikel
eliminate redundant SCCS id; from Enami Tsugutomo in PR bin/3283.
1.5
07-Jan-1997
tls
Sync to 4.4BSD-Lite2
1.4
22-Apr-1995
cgd
don't print 'Message:' prompt if stdin is not a terminal.
(from Masanobu Saitoh <saitoh@spa.is.uec.ac.jp> in pr 982.)
Also, fix usage string and manual page to note that width argument
for -w is _not_ optional.
1.3
25-Mar-1995
glass
Merge 4.4Lite version
1.2
01-Aug-1993
mycroft
Add RCS identifiers.
1.1
04-Apr-1993
cgd
branches: 1.1.1;
added banner from net-2
1.1.1.2
28-Dec-1996
tls
Import from 4.4BSD-Lite2
1.1.1.1
25-Mar-1995
glass
Import original 4.4-Lite version.
1.12.12.1
24-Nov-2006
bouyer
Pull up following revision(s) (requested by reed in ticket #1591):
games/banner/banner.c: revision 1.16 via patch
Check that -w width is not above maximum. (It already checks for zero or
negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki
Wlodek on bugtraq.
While here replace one use of 132 with DWIDTH.
1.12.10.1
24-Nov-2006
bouyer
Pull up following revision(s) (requested by reed in ticket #1591):
games/banner/banner.c: revision 1.16 via patch
Check that -w width is not above maximum. (It already checks for zero or
negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki
Wlodek on bugtraq.
While here replace one use of 132 with DWIDTH.
1.12.8.1
24-Nov-2006
bouyer
Pull up following revision(s) (requested by reed in ticket #10764):
games/banner/banner.c: revision 1.16 via patch
Check that -w width is not above maximum. (It already checks for zero or
negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki
Wlodek on bugtraq.
While here replace one use of 132 with DWIDTH.
1.12.6.1
24-Nov-2006
bouyer
Pull up following revision(s) (requested by reed in ticket #1591):
games/banner/banner.c: revision 1.16 via patch
Check that -w width is not above maximum. (It already checks for zero or
negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki
Wlodek on bugtraq.
While here replace one use of 132 with DWIDTH.
1.12.4.1
24-Nov-2006
bouyer
Pull up following revision(s) (requested by reed in ticket #10764):
games/banner/banner.c: revision 1.16 via patch
Check that -w width is not above maximum. (It already checks for zero or
negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki
Wlodek on bugtraq.
While here replace one use of 132 with DWIDTH.
1.12.2.1
24-Nov-2006
bouyer
Pull up following revision(s) (requested by reed in ticket #10764):
games/banner/banner.c: revision 1.16 via patch
Check that -w width is not above maximum. (It already checks for zero or
negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki
Wlodek on bugtraq.
While here replace one use of 132 with DWIDTH.
1.16.18.1
18-Sep-2008
wrstuden
Sync with wrstuden-revivesa-base-2.
1.19.2.2
30-Oct-2012
yamt
sync with head
1.19.2.1
17-Apr-2012
yamt
sync with head
1.20.2.1
20-Nov-2012
tls
Resync to 2012-11-19 00:00:00 UTC
Indexes created Mon Oct 27 20:09:55 GMT 2025