History log of /freebsd-current/usr.bin/pr/pr.c
Revision Date Author Comments
# 0b8224d1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

Remove copyright strings ifdef'd out

We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).

Sponsored by: Netflix


# bdcbfde3 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 5f034518 30-Nov-2017 Eitan Adler <eadler@FreeBSD.org>

Revert license change.

This isn't identical to the one permitted by UCB since
it is copyright multiple people.


# 86fdf174 30-Nov-2017 Eitan Adler <eadler@FreeBSD.org>

Remove advertising clause from pr(1)

Permitted by https://www.freebsd.org/copyright/license.html
Renumber 4->3 to be consistent with other files


# df57947f 18-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

spdx: initial adoption of licensing ID tags.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.

Initially, only tag files that use BSD 4-Clause "Original" license.

RelNotes: yes
Differential Revision: https://reviews.freebsd.org/D13133


# 6504428e 05-Apr-2017 Alan Somers <asomers@FreeBSD.org>

Remove a duplicate fclose() that snuck into r316501

Reported by: Coverity
CID: 1373338
MFC after: 20 days
X-MFC-With: 316501
Sponsored by: Spectra Logic Corp


# 6dc025ea 04-Apr-2017 Alan Somers <asomers@FreeBSD.org>

Fix file descriptor and memory leaks in pr(1)

Also, hook NetBSD's pr test into the build, and add three more test cases.

Reported by: Coverity, Valgrind
CID: 271650 271651 271652 271653 271654 271655 271656 271656
CID: 271657 271658 271659 1006939 1006940 1006941 1006942 1009098
Reviewed by: ngie
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D9137


# 487ac9ac 30-Dec-2011 Ulrich Spörlein <uqs@FreeBSD.org>

Spelling fixes for usr.bin/


# 4f5e9a1a 06-Nov-2011 Ed Schouten <ed@FreeBSD.org>

Add missing static keywords to pr(1)


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 81d01f89 26-Feb-2010 Ed Schouten <ed@FreeBSD.org>

Use time(NULL) instead of gettimeofday(), because we only need tv_sec.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 444ec0d5 26-Oct-2005 John Baldwin <jhb@FreeBSD.org>

Fix misspelled 'argument' and try to make the sentence into English.

Submitted by: Andre Guibert de Bruet andy at siliconlandmark dot com


# bd5de413 26-Jul-2004 Philippe Charnier <charnier@FreeBSD.org>

No capital letter after :


# d64ada50 30-Dec-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


# f4ac32de 04-Sep-2002 David Malone <dwmalone@FreeBSD.org>

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by: md5


# e0761ab1 21-Jun-2002 Mark Murray <markm@FreeBSD.org>

Modernise this code by rounding up the usual suspects: register keyword,
consts, ANSIfication of functions, proper use of __FBSDID() and so on.
This commit is non-functional from a code-execution perspective, but
pr(1) now compiles WARNS=6 clean.


# 06b95991 18-Jun-2002 Tim J. Robbins <tjr@FreeBSD.org>

Don't convert a single space before a tab stop into a tab when the
-i option is used.


# 032b32ad 31-Mar-2002 Juli Mallett <jmallett@FreeBSD.org>

Add P1003.1-2001 -f and -p options.

PR: standards/36243
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
Reviewed by: mike
MFC after: 2 weeks


# 96c066cc 17-Feb-2002 Chris D. Faulhaber <jedgar@FreeBSD.org>

Ensure err is a useful value to prevent using fputs() with a NULL stream.
MFC after: 1 week


# 77b898c4 21-Mar-2001 Andrey A. Chernov <ache@FreeBSD.org>

Use nl_langinfo instead of %Ef


# 1a6e52d0 06-Feb-2001 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Fix typo: seperate -> separate.

Seperate does not exist in the english language.


# d68e2acd 03-Dec-1999 Kris Kennaway <kris@FreeBSD.org>

The -s option was broken (missing braces around an else clause).

Noticed by: Thomas Stromberg <tstromberg@rtci.com>
Obtained from: OpenBSD


# 4bf9895e 30-Nov-1999 Andrey A. Chernov <ache@FreeBSD.org>

Change meaning of newly introduced -L option - it helps lpr later


# b5076d91 30-Nov-1999 Andrey A. Chernov <ache@FreeBSD.org>

Localize it


# 375557fc 29-Jun-1998 Bruce Evans <bde@FreeBSD.org>

Don't assume that time_t is long.


# c44252b6 06-Jul-1997 Bruce Evans <bde@FreeBSD.org>

Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc. All changed files on the vendor branch should
already have been imported.


# 1c8af878 28-Mar-1997 Warner Losh <imp@FreeBSD.org>

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


# ebcf24fb 21-Oct-1996 Marc G. Fournier <scrappy@FreeBSD.org>

Fixes:

When you ask pr to use form feeds at the end of pages and specify a page
length and tell pr to not put the fancy headers and footers on each
pages, then pr will not separate the pages with a form feed.

Closes PR: bin/1237

Submitted by: Warner Losh <imp@village.org>


# f34b5369 23-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Remove wrong LC_TIME env. usage


# 7799f52a 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 9b50d902 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources