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
keramida
760cdded06
Various typo fixes.
...
PR: docs/39395
Submitted by: Rich Neswold <rneswold@ameritech.net>
2002-07-12 01:30:18 +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
obrien
49c4747738
Yep, revision 1.3 was 1/2assed.
...
This time use the right attribute for null_format_ok.
Submitted by: bde
2002-07-12 00:49:52 +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
truckman
5d8999f18a
Defer calling SYSCTL_OUT() until after the locks have been released.
2002-07-11 23:18:43 +00:00
truckman
fe3b828f84
Reduce the nesting level of a code block that doesn't need to be in
...
an else clause.
2002-07-11 23:13:31 +00:00
wollman
231c73de87
A simple implementation of statvfs(3) (one step above the trivial one).
...
Not yet connected to the build (awaiting documentation).
2002-07-11 22:54:11 +00:00
alfred
ec5f2018ae
WARNS=2, de-__P()
2002-07-11 22:50:36 +00:00
julian
3b02a53006
Remove debugging code that I originally only wanted to be there for a couple of days after merge.
...
Reminded with pointy stick by: jhb
2002-07-11 22:47:58 +00:00
alfred
f77a6250b3
WARNS=4, de-__P()
2002-07-11 22:29:11 +00:00
alfred
44a833ee5a
Update manpages to reference 'timed' rpc functions
2002-07-11 22:25:16 +00:00
alfred
d828b6f6ee
Fix indentation broken in previous __P removal.
...
Grumbled about by: bde
2002-07-11 22:18:26 +00:00
jhb
30b152864c
thread_exit() requires PROC_LOCK to be held, so lock it.
2002-07-11 22:13:33 +00:00
alfred
088603aa7d
WARNS=4, de-__P()
2002-07-11 22:11:20 +00:00
jhb
26953c640b
Add a missing newline during panic printf's for SMP systems that don't
...
have APICS. (Like all the !i386 archs).
2002-07-11 21:56:37 +00:00
jmallett
356638a289
Remove unused variables due to libufs(3) commit. Clean up extraneous use of
...
semicolon at closing paren of a function body.
2002-07-11 21:46:12 +00:00
jmallett
3f66160d6d
Convert dumpfs(8) to libufs(3), rather than rolling local functions for a
...
number of things.
2002-07-11 21:44:03 +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
jmallett
9c7ad0f5fd
Fill out (zero) and fill in (when doing getino()) the minimum and maximum
...
inodes in our inoblock (disk->d_ino{min,max}) appropriately.
2002-07-11 21:27:26 +00:00
alfred
b790e6b937
WARNS=4, de-__P()
2002-07-11 21:26:41 +00:00
joerg
1d2b625a3d
Complete rewrite, once again.
...
This is basically a ``C compilation'' of the former whereis.pl file,
employing the same algorithms, and aiming at being mostly
UI-compatible to the old (legally tainted) 4.3BSD whereis(1). In
comparision, the 4.4BSD-Lite version is just another variant of
which(1) only, where in particular the option to search for source
directories is sorely missing.
While i was at it, i added two more options which i contemplated doing
long since. -x will suppress the run of locate(1) to find sources
that could not be found otherwise, potentially saving a lot of time
(but obviously, risking to not find some sources that are well hidden
in the tree). -q will omit the leading name of the query, so in
particular, you can now do something like:
cd `whereis -qs ls`
I'd explicitly like to thank johan for his review which was quite a
bit more than an average review, including sending me a lot of diffs.
Reviewed by: johan
2002-07-11 21:20:54 +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
trhodes
15adc38d49
Add a bit of information on FFS snapshots to the mount(8) manual page.
...
PR: 30139
Submitted by: Chris Knight <chris@aims.com.au?
MFC after: 3 days
2002-07-11 21:12:45 +00:00
alfred
39c57be6b9
WARNS?=4 cleanup.
2002-07-11 21:12:18 +00:00
keramida
eea24f3d3e
Add note about the info documentation of diff(1).
...
It contains a detailed description of the =format option part.
PR: docs/36464
Submitted by: Gary W. Swearingen <swear@blarg.net>
2002-07-11 21:11:26 +00:00
alfred
d9e0ad98f3
de-__P()
2002-07-11 20:53:56 +00:00
bde
7555ac60bc
Fixed misspelling of "hint." as "hints." in rp's hints.
2002-07-11 20:47:56 +00:00
bde
3e0829ee08
Fixed misspelling of "hint." as "hints." in the description of the "hint."
...
keyword and in the description of rp's hints.
Didn't fix rp's hints being mostly in comments so that they are harder to
use (they don't get linted either way because makeLINT.sh strips them and
there is no compile-time syntax checking of hints anyway).
2002-07-11 20:43:37 +00:00
obrien
e6d1debf31
RELENG_4_6 PL 1 libc bits with non-vulnerable resolver.
...
Security Advisory: FreeBSD-SA-02:28.resolv
2002-07-11 20:40:24 +00:00
bde
ec7ed82a0a
Improved wording in the descriptions of hints. In particular, don't start
...
a new paragraph for describing the hints associated with each card type.
Reviewed by: ru
2002-07-11 20:24:58 +00:00
keramida
18c9f9fd09
Mention zegrep and zfgrep too,
...
and what their equivalent grep options are.
PR: docs/35603
Submitted by: "Gary W. Swearingen" <swear@blarg.net>
2002-07-11 20:12:15 +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
alc
25fc8eccc6
o Lock accesses to the page queues.
2002-07-11 18:48:05 +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
dillon
0b74a2da00
Convert old style (type foo *)0 casts to NULLs
...
PR: kern/40360
Requested by: Hiten PAndya via direct email
2002-07-11 17:54:58 +00:00
bde
9180aabc4c
Fixed 4 printf format errors that were fatal on alphas. %qd is not even
...
suitable for printing quad_t's since it is equivalent to %lld but quad_t
is unsigned long on alphas. quad_t shouldn't be used anyway.
2002-07-11 17:49:41 +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