summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lpq
Commit message (Collapse)AuthorAgeFilesLines
* Sort sections.ru2005-01-181-5/+5
|
* Eliminated double whitespace.ru2004-07-031-7/+7
|
* Mechanically kill hard sentence breaks.ru2004-07-021-4/+7
|
* (Hopefully) Last set of changes so all of lpr uses __FBSDID() forgad2003-07-151-4/+5
| | | | | | | setting rcsids, and uses a consistent format for 'sccsid' lines. Reviewed by: discussed with bde and obrien MFC after: 15 days
* Stop adding ${CWARNFLAGS} to CFLAGS. The standard makefile processing willgad2002-06-231-1/+1
| | | | | | add them automatically, and there is no point in adding them twice. MFC after: 5 days
* Use `The .Nm utility'charnier2002-04-201-6/+9
|
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-131-0/+1
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-5/+7
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Fix most of the warnings generated by compiling lpr with -Wnon-const-format,gad2001-07-151-2/+2
| | | | | | | | | often by just telling gcc that some internal routine is "__printflike" (work done by Kris Kennaway <kris@FreeBSD.org>). Also fix the new warnings which show up once gcc starts checking the "printf-like parameters" passed to those routines. MFC after: 1 week
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Rename a few global variables which hold hostname-related values to begad2001-06-151-1/+1
| | | | | | | | | | | | | | | 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
* Rename global variable 'name' to 'progname', thus fixing a number ofgad2001-06-151-1/+1
| | | | | | | | warnings which come up for various routines that have a parameter which is also called 'name'. Reviewed by: freebsd-print@bostonradio.org MFC after: 1 week
* Fix about 90-100 warnings one gets when trying to compile lpr&friendsgad2001-06-121-10/+7
| | | | | | | | | | | | with BDECFLAGS on, mainly by adding 'const' to parameters in a number of routine declarations. While I'm at it, ANSI-fy all of the routine declarations. The resulting object code is exactly the same after this update as before it, with the exception of one unavoidable change to lpd.o on freebsd/alpha. Also added $FreeBSD$ line to lpc/extern.h lpc/lpc.h lptest/lptest.c Reviewed by: /sbin/md5, and no feedback from freebsd-audit
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+0
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-0/+1
|
* Prepare for mdoc(7)NG.ru2000-12-271-2/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Fix additional warnings. Remove -Werror, since some people have complainedwollman1998-09-111-1/+2
| | | | | | | about it. PR: 7886 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de> (partially)
* Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internalbde1998-03-071-5/+4
| | | | | | | | | | libraries so that `ld -f' in can create correct dependencies for yet-to-be-built libraries. Get the default BINDIR correctly (by including ../Makefile.inc recursively. Override the default it it is wrong. Don't override defaults when the defaults are correct.
* Fixed DPADD.bde1997-12-161-1/+2
|
* Mega lpd/lpd upgrade, part I:wollman1997-12-022-36/+60
| | | | | | | | | | | | | | | - Get rid of a lot of the static variables which were shared by many routines and programs in the suite. - Create an abstract interface to the printcap database, so that other retrieval and iteration mechanisms could be developed (e.g., YP, Hesiod, or automatic retrieval from a trusted server). - Give each capability a human-readable name in addition to the historic two-character one. - Otherwise generally clean up a lot of dark corners. Many still remain. - When submitting jobs, use the official login name record (from getlogin()) if there is one, rather than reverse-mapping the uid. More to come...
* Use err(3). Add usage(). Various fixes in man pages.charnier1997-09-242-10/+9
|
* Use setuid/seteuid around dangerous operations. Also a few bufferimp1997-07-231-0/+5
| | | | | | | | | | | | overflow patches that were "near" to where these operations are taking place. The buffer overflows are from OpenBSD. The setuid/seteuid patches are from NetBSD by way of OpenBSD (they changed them a little), at least from my read of the tree. This is the first of a series of OpenBSD lpr/et al merges. It (and them) should be merged back into 2.2 and/or 2.1 (if requested) branches when they have been shaken out in -current. Obtained from: OpenBSD
* Fix a typo, so the -a option will by documented in the synopsis.joerg1997-06-211-1/+1
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* This commit was generated by cvs2svn to compensate for changes in r15637,joerg1996-05-052-13/+62
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor-branch import of the 4.4BSD-Lite2 code for lpr. There arejoerg1996-05-052-13/+62
| | | | | | | | | | | | | | | | several bugfixes in it that are worth considering. Don't be alarmed about the import conflicts... Obtained from: 4.4BSD-Lite2
* | Get rid of update. Make man page installation work with our schemewollman1994-08-051-0/+1
|/ | | | (and rename a few in the process).
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-263-0/+272
OpenPOWER on IntegriCloud