freebsd-dev/usr.sbin/lpr
Brooks Davis a812a5cacb lpr: remove a.out binary detection
Since the first unattributed commit in 1981, lpr has attempted to
prevent users from printing executables (and in earlier versions
archives). Archive detection was lost in 1992 when lpr gained a
dependency on a.out.h. No corresponding support was added for ELF files
with the full transiation to ELF in 1998, but a.out support has been
dragged forward to and contaminated platforms that never supported
a.out.

While this feature isn't unuseful, preventing the printing of
a single file format we stopped producing ~20 years ago isn't worth
the costs (however minimal).

Reviewed by:	gad, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D34901
2022-04-15 20:04:41 +01:00
..
chkprintcap
common_source lpr(1): Fix a typo in a source code comment 2021-11-19 20:04:09 +01:00
filters
filters.ru
lp
lpc Fix some common typos in comments 2021-08-08 10:16:06 +02:00
lpd sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
lpq
lpr lpr: remove a.out binary detection 2022-04-15 20:04:41 +01:00
lprm
lptest
pac
Makefile
Makefile.inc