Garance A Drosehn
722915cdec
Fix set_qstate() so it correctly checks for any error from chmod().
...
Note that set_qstate() is only called from several 'lpc' commands.
MFC after: 3 days
2002-07-12 01:37:06 +00:00
Garance A Drosehn
4c2a399167
Add a SQS_QCHANGED option to set_qstate(). This will soon be used by 'lpc'.
...
Reviewed by: freebsd-print@bostonradio.org
MFC after: 3 days
2002-07-12 01:31:46 +00:00
Garance A Drosehn
bae8d45c7f
Add two variables to struct jobqueue, and change the way that getq()
...
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
2002-07-12 01:22:57 +00:00
Garance A Drosehn
d6771428c4
Move prototypes for ctl_readcf and ctl_freeinf from ctlinfo.c to ctlinfo.h,
...
so the routines can be called by an upcoming change for 'lpc topq/bottomq'.
MFC after: 3 days
2002-07-12 00:33:07 +00:00
Alfred Perlstein
39d4ee3fee
WARNS=2, de-__P()
2002-07-11 22:50:36 +00:00
Alfred Perlstein
1fb354a1b2
WARNS=4, de-__P()
2002-07-11 22:29:11 +00:00
Alfred Perlstein
54b60d7e15
Fix indentation broken in previous __P removal.
...
Grumbled about by: bde
2002-07-11 22:18:26 +00:00
Alfred Perlstein
7fa658d98b
WARNS=4, de-__P()
2002-07-11 22:11:20 +00:00
Alfred Perlstein
261755738e
WARNS=4, de-__P()
2002-07-11 21:40:15 +00:00
Alfred Perlstein
c8c710fd85
de-__P()
2002-07-11 21:28:16 +00:00
Alfred Perlstein
d8c965959f
WARNS=4, de-__P()
2002-07-11 21:26:41 +00:00
Alfred Perlstein
f251a0df8b
WARNS=4
2002-07-11 21:18:55 +00:00
Alfred Perlstein
2f9af24198
WARNS=4 cleanup, de-__P()
2002-07-11 21:16:52 +00:00
Alfred Perlstein
65f507d197
de-__P()
2002-07-11 21:13:37 +00:00
Alfred Perlstein
4f5d913371
WARNS?=4 cleanup.
2002-07-11 21:12:18 +00:00
Alfred Perlstein
b6528e647b
de-__P()
2002-07-11 20:53:56 +00:00
Robert Drehmel
94fed363fe
Use the length modifier 'l' when supplying an argument of
...
type long to printf(3).
2002-07-11 20:10:07 +00:00
Robert Drehmel
a89c0b2458
- Remove unnecessary inclusion of <utmp.h>.
...
- Cast a value to time_t before comparing it to another
time_t to fix a warning.
2002-07-11 20:01:36 +00:00
Alfred Perlstein
379e7b73a6
de-__P()
2002-07-11 19:07:35 +00:00
Alfred Perlstein
ef6d75ff7d
mark unused variable.
2002-07-11 18:45:59 +00:00
Alfred Perlstein
5c9c274a5f
conditionally set WARNS via ?=.
2002-07-11 18:45:14 +00:00
Alfred Perlstein
67d357f89b
fixup for WARNS=4.
2002-07-11 18:42:53 +00:00
Alfred Perlstein
d89167b4ea
de-__P()
2002-07-11 18:31:16 +00:00
Bruce Evans
729cce8403
Set NO_WERROR to ignore the following warning which is emitted on
...
alphas:
.../elf2aout.c:130: warning: cast increases required alignment of
target type
The warning is about casting ((char *)e + phoff) to a struct pointer,
where e is aligned but phoff might be garbage, so I think the warning
should be emitted on most machines (even on i386's, alignment checking
might be on) and the correct fix would involve validation phoff before
using it.
2002-07-11 18:06:09 +00:00
Alfred Perlstein
bf117eda42
make mostly WARNS=4 clean.
...
constify, mark unsued args, fixup prototypes.
2002-07-11 17:55:14 +00:00
Alfred Perlstein
7a8d51f860
Log the IP of the machine if an invalid host is passed over the wire.
...
PR: bin/29406
2002-07-11 17:44:59 +00:00
Alfred Perlstein
a2015ce534
Fix return values in the sm_notify_1 service routine to return an answer
...
most of the time (unless fork fails). This should fix the problem where
FreeBSD won't respond to a remote host and therefor the remote hosts
tries indefinitely to contact the FreeBSD hosts thereby irritating the
system administrator.
PR: misc/27810
2002-07-11 17:39:50 +00:00
Alfred Perlstein
51c8727aa7
Fix syslog format errors introduced in 1.6.
2002-07-11 17:36:09 +00:00
Alfred Perlstein
f49f84fa44
add includes for inet_ntoa prototype.
2002-07-11 17:33:47 +00:00
Alfred Perlstein
96e33c2107
include string.h for strcmp(3) prototype.
2002-07-11 17:32:16 +00:00
Alfred Perlstein
2b45ad94bd
include stdlib.h for exit(3) prototype.
2002-07-11 17:31:15 +00:00
Alfred Perlstein
69b9f14163
Do not allow unsafe characters in monitored hostnames.
...
This is modified version of the fix posted in the PR, I've taken Wollman's
advice and used strvis(3) to properly show invalid hostnames.
PR: bin/39815
2002-07-11 17:11:42 +00:00
Alfred Perlstein
9fb9141723
Add -h option to rpcbind, used to specify what address to bind to for
...
UDP requests.
Submitted by: mbr
2002-07-11 16:19:43 +00:00
Dima Dorfman
5d1bb94f36
Remove some missing words.
...
Submitted by: roam
2002-07-10 03:39:52 +00:00
Dima Dorfman
5ec065ee15
Deuglify the usage message by making it look more like the synopsis in
...
the manual page.
2002-07-10 03:37:42 +00:00
Dima Dorfman
b471ed9e9d
Add an -S option that allows the user to disable vty switching. It is
...
implemented using a new VT_LOCKSWITCH ioctl. Although it is possible
to implement something like this by VT_SETMODEing to VT_PROCESS and
never releasing the vty, that method has a number of downsides, the
biggest of which is that some program has to stay resident for the
lock to be in effect.
Reviewed by: roam, sheldonh
2002-07-10 03:31:25 +00:00
Juli Mallett
2421887c5a
Use libcrypto.so.2 instead of .1, since we have it now. It should enable
...
DES for keyserv again.
Submitted by: mbr
Kill a stray __P while I'm here.
2002-07-09 20:08:19 +00:00
Mitsuru IWASAKI
98479b041b
Resolve conflicts arising from the ACPI CA 20020611 import.
2002-07-09 17:54:02 +00:00
Bruce Evans
db774d6099
Fixed some world breakage caused by not updating clients when <timeconv.h>
...
was split off from <time.h>. This became fatal here when -Werror was
reenabled.
2002-07-08 20:13:07 +00:00
Gordon Tetlow
8f40768a94
Hook nfsd and mountd back into the build in /usr/sbin, where they make more
...
sense. Since portmap/rpcbind is in /usr/sbin it doesn't make any sense for
nfsd and mountd to be in /sbin.
For the record, NetBSD has them in /usr/sbin while OpenBSD has them in /sbin
PR: bin/30972
Reviewed by: jake (mentor)
2002-07-07 22:17:38 +00:00
Philippe Charnier
e1205e80e5
The .Nm utility
2002-07-06 19:34:18 +00:00
David E. O'Brien
4ffcd14286
We don't need to hit the user over the head so strong now that we've
...
fixed all the known warnings suffiently to not require NO_WERROR.
Ok'ed by: peter
2002-07-06 01:07:48 +00:00
Brian Somers
4dc4e1ee89
Back out the previous revision
...
Objected to by: Andre Oppermann <oppermann@pipeline.ch>
After Andre's objection, I've re-examined rfc 2759 and noted that it
says that the domain name shouldn't be used when generating the
NT-Response field. So it looks like the bug is in freeradius rather
than in ppp.
2002-07-04 23:33:35 +00:00
Brian Somers
27dc75f10c
If we've given a domain name prefix as the authentication name, strip
...
it off before passing it on to the RADIUS server for authentication.
2002-07-03 20:51:13 +00:00
Mark Murray
ece80b1d6f
C rewrite of kbdmap/vidfont.
...
Submitted by: Jonathan Belson <jon@witchspace.com>
OK'ed by: wosch (Perl code maintainer)
2002-07-03 14:56:08 +00:00
John Baldwin
7a921ebf84
Diff-reduce with 4-stable: 4.x has a compat4x package.
2002-07-02 21:07:25 +00:00
John Baldwin
500fb3ef13
Call the 4.x snap server "releng4.freebsd.org" instead of
...
"stable.freebsd.org" to be the same as 4-stable.
2002-07-02 20:19:59 +00:00
John Baldwin
522c2080e3
Alpha does indeed have a COMPAT4X distribution on current. 4-stable
...
already has this correct.
2002-07-02 20:03:55 +00:00
John Baldwin
92711d3586
Add lge(4) to the list of drivers. It was present in 4-stable but not in
...
-current.
2002-07-02 19:56:26 +00:00
Christian Weisgerber
0c57ad7285
LP64 cleanup: don't cast pointer to int.
2002-07-02 10:51:09 +00:00