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 various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
common_source lpr(1): Fix a typo in a source code comment 2021-11-19 20:04:09 +01:00
filters General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
filters.ru various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
lp various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
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 General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
lpr lpr: remove a.out binary detection 2022-04-15 20:04:41 +01:00
lprm General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
lptest General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pac General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
Makefile
Makefile.inc