freebsd-dev/usr.sbin/lpr
Garance A Drosehn cc3fd56f96 Rename a few global variables which hold hostname-related values to be
more sensible/understandable.  'from'->'from_host'  'host'->'local_host'
'fromb'->'frombuf'  'fromhost'->'origin_host'  and a local-variable
named 'host'->'hostbuf'.  This fixes some compile-time warnings about
local variables shadowing global variables.

Other than renaming variables, the only actual code changes are to call
strlcpy() instead of strncpy() when setting those (renamed) variables,
and that 'from_ip' is now a strdup()-created buffer instead of being a
static buffer compiled in as 1025 bytes.

Reviewed by:	freebsd-print@bostonradio.org (an earlier version)
MFC after:	1 week
2001-06-15 22:03:07 +00:00
..
chkprintcap - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
common_source Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
filters Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
filters.ru moved to koi2alt 1999-09-23 02:54:44 +00:00
lp beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
lpc Rename global variable 'name' to 'progname', thus fixing a number of 2001-06-15 16:28:37 +00:00
lpd Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lpq Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lpr Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lprm Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lptest Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
pac Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
SMM.doc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Makefile Add a comment pointing to the freebsd-print@bostonradio.org mailing list. 2001-03-12 02:13:08 +00:00
Makefile.inc IPv6 support for lpr. 2000-12-16 18:06:09 +00:00