alfred
c3235f750b
do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead
...
pass an empty string.
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
2002-07-15 18:53:52 +00:00
alfred
83a53d0868
Port to TI/RPC and/or IPV6.
...
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
2002-07-15 18:51:57 +00:00
alfred
b53eff381d
If an RPC fails, try a shorter reply in case the fault lies with the
...
size of the response.
PR: misc/26320
MFC After: 2 weeks
2002-07-15 18:34:27 +00:00
alfred
005eec7dbe
de-__P().
...
WARNS=4 cleanup:
include headers needed.
don't initialize char * with const char *.
fix main() declaration.
fix shadowed variable.
properly cast tcpcb members for printf(3) output.
remove 'register'.
remove unused arg.
Reviewed by: tmm, bde
2002-07-15 17:44:34 +00:00
des
5332a2b179
Comment out WARNS?=4 to unbreak the Alpha build.
2002-07-15 17:11:20 +00:00
des
71010f6257
Get rid of %qd, and unbreak Alpha build.
2002-07-15 16:05:15 +00:00
des
e0ecf9a222
Get rid of %qd, and unbreak Alpha build.
2002-07-15 12:17:31 +00:00
charnier
d2168fe021
The .Nm utility
2002-07-14 14:47:15 +00:00
bde
d738702902
Moved the setting of all profiling-related variables except the key one
...
(PROFLEVEL) to kern.pre.mk so that it is easier to manage. Bumped config
version to match.
Moved the check for cputype being configured to a less bogus place in
mkmakefile.c.
2002-07-13 19:36:14 +00:00
gad
f9c62a94d6
Call routine to free everything obtained when filling in 'struct printer'.
...
MFC after: 3 days
2002-07-12 01:53:36 +00:00
gad
e2696cc497
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
gad
793db011bb
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
gad
43e8f81241
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
gad
f95138e697
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
ec5f2018ae
WARNS=2, de-__P()
2002-07-11 22:50:36 +00:00
alfred
f77a6250b3
WARNS=4, de-__P()
2002-07-11 22:29:11 +00:00
alfred
d828b6f6ee
Fix indentation broken in previous __P removal.
...
Grumbled about by: bde
2002-07-11 22:18:26 +00:00
alfred
088603aa7d
WARNS=4, de-__P()
2002-07-11 22:11:20 +00:00
alfred
fc30cb8474
WARNS=4, de-__P()
2002-07-11 21:40:15 +00:00
alfred
ba97087db2
de-__P()
2002-07-11 21:28:16 +00:00
alfred
b790e6b937
WARNS=4, de-__P()
2002-07-11 21:26:41 +00:00
alfred
cef3a16df0
WARNS=4
2002-07-11 21:18:55 +00:00
alfred
9350b2dc7e
WARNS=4 cleanup, de-__P()
2002-07-11 21:16:52 +00:00
alfred
a241579492
de-__P()
2002-07-11 21:13:37 +00:00
alfred
39c57be6b9
WARNS?=4 cleanup.
2002-07-11 21:12:18 +00:00
alfred
d9e0ad98f3
de-__P()
2002-07-11 20:53:56 +00:00
robert
b9f87c2ae0
Use the length modifier 'l' when supplying an argument of
...
type long to printf(3).
2002-07-11 20:10:07 +00:00
robert
c0716890f8
- 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
db007fe41c
de-__P()
2002-07-11 19:07:35 +00:00
alfred
d553d8cff7
mark unused variable.
2002-07-11 18:45:59 +00:00
alfred
0faf69ab9f
conditionally set WARNS via ?=.
2002-07-11 18:45:14 +00:00
alfred
5071cb67d9
fixup for WARNS=4.
2002-07-11 18:42:53 +00:00
alfred
c40ae61c8c
de-__P()
2002-07-11 18:31:16 +00:00
bde
26d377573f
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
8a8f54cf28
make mostly WARNS=4 clean.
...
constify, mark unsued args, fixup prototypes.
2002-07-11 17:55:14 +00:00
alfred
8677b99410
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
2346687c8a
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
8f999c3422
Fix syslog format errors introduced in 1.6.
2002-07-11 17:36:09 +00:00
alfred
39199c8724
add includes for inet_ntoa prototype.
2002-07-11 17:33:47 +00:00
alfred
b611173b57
include string.h for strcmp(3) prototype.
2002-07-11 17:32:16 +00:00
alfred
a9f506168f
include stdlib.h for exit(3) prototype.
2002-07-11 17:31:15 +00:00
alfred
9bbf00859f
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
d96c3f211e
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
dd
84e2792bd8
Remove some missing words.
...
Submitted by: roam
2002-07-10 03:39:52 +00:00
dd
d7b7ec4cf0
Deuglify the usage message by making it look more like the synopsis in
...
the manual page.
2002-07-10 03:37:42 +00:00
dd
3e96616fd4
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
jmallett
2912bfd6c3
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
iwasaki
57bb0b6ca4
Resolve conflicts arising from the ACPI CA 20020611 import.
2002-07-09 17:54:02 +00:00
bde
f6b851446c
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
61a367a107
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