| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Suggested by: NetBSD man page
|
|
|
|
| |
same as a pointer to "char *". Tell the compiler this is ok.
|
|
|
|
|
|
|
| |
character 1 byte past the end of cmdline[] when libedit is being used for
input, and avoid writing a null pointer 1 element past the end of margv[].
Reviewed by: gad
|
|
|
|
|
|
|
|
|
|
| |
when reading/writing spool files. I intend to do a more elaborate
version, but I want to get this much in before 4.9-release. As written,
this results in no change to the object code.
Submitted by: John-Mark Gurney
Reviewed by: /sbin/md5
MFC after: 4 days
|
|
|
|
|
|
|
|
| |
places (replacing constants 0, 1 & 2).
Noticed by:
Reviewed by: md5
MFC after: 4 days
|
| |
|
|
|
|
|
| |
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 3 days
|
|
|
|
|
|
|
| |
setting rcsids, and uses a consistent format for 'sccsid' lines.
Reviewed by: discussed with bde and obrien
MFC after: 15 days
|
|
|
|
|
|
|
|
| |
format of 'sccsid' lines so they consistently match style(9).
A minor Makefile change is needed so lptest.c can find lp.cdefs.h.
Reviewed by: discussed with bde and obrien
MFC after: 15 days
|
|
|
|
|
|
|
|
|
|
| |
format of 'sccsid' lines so they consistently match style(9)
Also the 'sccsid' line is formatted to match style(9), and
a 'From:' is removed so the sccsid returns to what it was back
in the days of '-r CSRG' (1996).
Reviewed by: discussed with bde and obrien
MFC after: 15 days
|
|
|
|
|
|
|
|
|
|
| |
programs, minor Makefile changes are needed to find lp.cdefs.h.
For lpf.c, the 'sccsid' line is formatted to match style(9), and
a 'From:' is removed so the sccsid returns to what it was back
in the days of '-r CSRG' (1994).
Reviewed by: discussed with bde and obrien
MFC after: 15 days
|
|
|
|
|
|
|
|
|
|
| |
format of 'sccsid' lines so they consistently match style(9)
guidelines. Note that this means you will have to add '-a' to
the 'strings' command when searching for rcs ids, eg:
strings -a /usr/sbin/lpc | grep '$FreeBSD'
Reviewed by: discussed on cvs-src & with bde and obrien
MFC after: 15 days
|
|
|
|
|
|
|
|
| |
'#ifdef lint/#endif' around the lines should not have been removed.
Also add blank lines where one (per file) was missing.
Reviewed by: First part noticed by bde, blank lines noticed by me
MFC after: 15 days
|
|
|
|
|
|
|
|
| |
get from '-r CSRG', instead of having that sccsid as a comment.
(this is the sccsid from 1996 -- there have been many changes to
printcap.c since then!)
MFC after: 15 days
|
|
|
|
|
|
|
| |
'#ifdef lint/#endif' around the lines should not have been removed.
Reviewed by: noticed by bde
MFC after: 15 days
|
|
|
|
|
|
|
|
| |
format of 'sccsid' lines so they consistently match style(9)
guidelines. Inspired by recent update to lpd.c by charnier.
Reviewed by: discussed on cvs-src & with bde and obrien
MFC after: 15 days
|
|
|
|
|
|
|
|
| |
source to use __FBSDID() for setting rcsids. Also fix the format
of 'sccsid' lines to consistently match style(9) guidelines.
Reviewed by: discussed with bde and obrien
MFC after: 15 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
somewhat easier to build this lpr on other operating systems.
This simply includes <sys/cdefs.h> when that is appropriate,
and then checks for any cdefs-ish macros that lpr uses, and
defines them if they don't already exist. This is only a start
at making freebsd's lpr less of a hassle to port. It is mainly
added so all of lpr can be changed to use the __FBSDID() macro,
without making it *more* of a hassle to build on other OS's.
Reviewed by: discussed with bde and obrien
MFC after: 15 days
|
| |
|
| |
|
|
|
|
|
|
| |
but me (it's usually #ifdef-ed out).
MFC after: 1 week
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
since that is no longer defined in the default system install.
MFC after: 1 week
|
|
|
|
| |
Add $FreeBSD$ while I'm here.
|
|
|
|
| |
Add $FreeBSD$ while I'm here.
|
| |
|
|
|
|
| |
Discussed with: gad (now), arch (a year ago)
|
| |
|
|
|
|
| |
Approved by: re
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(I skipped those in contrib/, gnu/ and crypto/)
While I was at it, fixed a lot more found by ispell that I
could identify with certainty to be errors. All of these
were in comments or text, not in actual code.
Suggested by: bde
MFC after: 3 days
|
|
|
|
| |
Approved by: gad
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reflect much valuable feedback from wollman. More details on the new
'lpc topq' are in the log message for revision 1.2 of lpc/movejobs.c.
The previous implementation of 'lpc topq' is available as 'lpc xtopq',
in case there are any problems noticed in the new implementation. If
there are no problems with this version, a later update will remove the
'lpc xtopq' command.
Reviewed by: freebsd-print@bostonradio.org
MFC after: 6 days
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
Note that set_qstate() is only called from several 'lpc' commands.
MFC after: 3 days
|
|
|
|
|
| |
Reviewed by: freebsd-print@bostonradio.org
MFC after: 3 days
|
|
|
|
|
|
|
| |
calculates how much space to get for that struct, so it will get the
right amount when new variables are added.
MFC after: 3 days
|
|
|
|
|
|
| |
so the routines can be called by an upcoming change for 'lpc topq/bottomq'.
MFC after: 3 days
|
|
|
|
|
|
|
| |
recently rewritten. No one in -current has reported any problems with
the newer versions.
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
mainly so the compiler can correctly do printf-style parameter checking.
Some minor improvements to a few of the error messages, but the main
goal here is to get rid of a few more compile-time warning messages.
MFC after: 5 days
|
|
|
|
|
|
| |
add them automatically, and there is no point in adding them twice.
MFC after: 5 days
|
|
|
|
|
|
| |
("gi" short for 'generic init'...).
MFC after: 10 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
visible change should be that more than one queue can now be specified,
if one uses the '-msg' parameter to separate the list of queues from the
status message to set.
The previous implementation of 'down' remains available as the command
'xdown', available for instant fallback if there seems to be anything
wrong with the new one. If no one reports a problem after a few weeks,
then a later update will remove 'xdown'.
Reviewed by: freebsd-print@bostonradio.org
MFC after: 10 days
|
|
|
|
| |
MFC after: 10 days
|
|
|
|
|
|
|
| |
commands, to make things a little cleaner (mainly for a later update).
Reviewed by: freebsd-print@bostonradio.org
MFC after: 10 days
|
|
|
|
|
|
|
|
|
| |
change the status message of a print queue. This includes some minor
changes to the upstat() routine, so that error messages are not printed
while seteuid(priv-user).
Reviewed by: freebsd-audit and freebsd-print@bostonradio.org
MFC after: 10 days
|
|
|
|
|
|
| |
an option-space instead of a space...
MFC after: 10 days
|
|
|
|
|
|
|
| |
instead of an asterisk.
Noticed by: keramida
MFC after: 10 days
|