Jacques Vidrine
17ada68462
Fix login so that it exports environmental variables that are set by PAM
...
modules (via pam_putenv). The following variables will never be set in
this fashion:
SHELL, HOME, LOGNAME, MAIL, CDPATH, IFS, PATH
any variable starting with `LD_'
2001-02-09 13:21:50 +00:00
Mike Heffner
8ecfa0142f
Fix style(9) bugs from previous commit: remove space after function
...
names and revert to char *[].
bde by: bde, imp
2001-02-08 20:15:59 +00:00
Alexey Zelkin
75c84bca41
Optimize gencat(1) sources in same manner as its libc part some time ago:
...
. remove SYSV compatibility bits
. sort #include's
. ifdef unused code
. cleanup BDECFLAGS warnings
. fixed few typos in diagnostics messages
. style(9) fixes
as part of this cleanup I have changed all K&R declarations to ANSI style.
Main reason for doing that was great mix of declarations used here - clean
ASNI , clean K&R, ifdef'ed (both).
Reviewed by: ache (mostly)
2001-02-08 16:38:16 +00:00
David E. O'Brien
b7b2701f13
Remove the manpage since the actual software was put in the Attic.
...
Noticed by: bde
2001-02-08 09:30:21 +00:00
Mike Heffner
7a536c3b41
De-__P()-ify, convert K&R style declarations to ANSI ones
2001-02-08 05:58:55 +00:00
Mike Heffner
aeacf525ad
Prevent string overflows by using safer string functions
...
Use tolower() rather than bit or-ing
Sanity check user specified printf() format
Exit when too many input files are given
Remove register from variables
Reviewed by: markm, imp
2001-02-08 05:33:19 +00:00
Ruslan Ermilov
46eea498da
mdoc(7) police: Change -filled displays (which just happen
...
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
Philippe Charnier
4c86f3ad84
Spelling
...
Remove unused #includes
2001-02-06 20:13:48 +00:00
Philippe Charnier
39e21a1b64
Remove duplicate FreeBSD Id
...
Remoce unused #include
Use imperative mode to start flag description
2001-02-06 20:03:48 +00:00
Philippe Charnier
3a87eff1cf
Rework diagnostics text
...
Remove unused #include
2001-02-06 20:01:40 +00:00
Ruslan Ermilov
c7368f9305
mdoc(7) police: simplify construct.
2001-02-06 16:20:31 +00:00
Jeroen Ruigrok van der Werven
2fa72ea7d4
Fix typo: compatability -> compatibility.
...
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
Jeroen Ruigrok van der Werven
1a6e52d0e9
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
2001-02-06 11:21:58 +00:00
Jeroen Ruigrok van der Werven
efe5a08e09
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
Also add $FreeBSD$ to README.
2001-02-06 11:21:40 +00:00
Poul-Henning Kamp
6817526d14
Convert if_multiaddrs from LIST to TAILQ so that it can be traversed
...
backwards in the three drivers which want to do that.
Reviewed by: mikeh
2001-02-06 10:12:15 +00:00
Jeroen Ruigrok van der Werven
f09deb6962
Fix typo: wierd -> weird.
...
There is no such thing as wierd in the english language.
2001-02-06 09:25:10 +00:00
Jeroen Ruigrok van der Werven
67034ac6ad
Fix tftpd and tftp to support file transfers of over 65535 blocks
...
(about 31 MB - 32 MB).
Submitted (partially)
by: Pascal Hofstee <daeron@wit401305.student.utwente.nl>
2001-02-02 10:53:02 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Will Andrews
99557a7988
De-__P()-ify
...
Reviewed by: markm
2001-01-28 00:35:40 +00:00
Will Andrews
d8a3fbd50d
BDECFLAGS: constify; use proper types. Add $FreeBSD$, clean up #ifndef lint.
...
Reviewed by: markm
2001-01-28 00:34:29 +00:00
Alexey Zelkin
8b32114bd4
Fix typo
2001-01-25 13:13:55 +00:00
Alexey Zelkin
e85c02aad1
Slightly re-word sentence to allow using .Nm macro without parameter
2001-01-25 12:11:23 +00:00
Alexey Zelkin
020a8e3a9b
Slightly re-word sentence to allow using .Nm macro without parameter
...
Use .St macro instead of hardcoding standard name
2001-01-25 12:10:57 +00:00
Will Andrews
34bc43d532
Fix bogus checking of snprintf() by decreasing the remaining size of the
...
string after each successful snprintf() call. This makes apply(1) work
*correctly*, although the whole snprintf() deal really should be redone.
Bug noted by: nectar (about 3 weeks ago)
2001-01-25 03:40:17 +00:00
John Baldwin
f5ace77533
Catch up to proc flag changes.
2001-01-24 14:28:24 +00:00
John Baldwin
0821b7ca3a
Catch up to proc flag change.
2001-01-24 14:17:23 +00:00
John Baldwin
ad7b044802
Catch up to new proc flags.
2001-01-24 14:03:34 +00:00
Ruslan Ermilov
1715c485d4
Mention the -F in the usage().
...
PR: 24586
Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
2001-01-24 08:27:59 +00:00
Jacques Vidrine
8ad2668439
Call pam_setcred.
...
Reviewed by: markm, months ago
2001-01-23 21:43:32 +00:00
Hajimu UMEMOTO
5d22597f3a
Add mibs to hold the number of forks since boot. New mibs are:
...
vm.stats.vm.v_forks
vm.stats.vm.v_vforks
vm.stats.vm.v_rforks
vm.stats.vm.v_kthreads
vm.stats.vm.v_forkpages
vm.stats.vm.v_vforkpages
vm.stats.vm.v_rforkpages
vm.stats.vm.v_kthreadpages
Submitted by: Paul Herman <pherman@frenchfries.net>
Reviewed by: alfred
2001-01-23 14:32:01 +00:00
Peter Wemm
ed1a4621a2
Add the -empty flag, from OpenBSD. It returns true if the directory
...
is empty. There doesn't appear to be another easy way to do this.
mobile# mkdir foo
mobile# mkdir foo/bar
mobile# mkdir bar
mobile# find . -empty
./foo/bar
./bar
2001-01-23 11:16:50 +00:00
Dag-Erling Smørgrav
0b5c9ae2f3
Document that the -z option is equivalent to 'sysctl vm.zone'.
2001-01-23 00:37:54 +00:00
Dag-Erling Smørgrav
bec62dd817
Use the vm.zone sysctl rather that grope through the zone allocator's
...
internal data structures.
2001-01-23 00:31:56 +00:00
Matt Jacob
97ace1c6ac
Update vm zone list traversal for changes made to kernel. Note that this
...
is ultimately silly because no locks are held in user space while traversing
the list via kvm_reads... really, this should use the sysctl interface
which *is* protected by a lock in the kernel.
2001-01-23 00:09:30 +00:00
Will Andrews
cdc8ffbbac
Fix numerous style(9) bugs: Put #define's before declarations; sort the
...
declarations & their arguments; use only one tab after types; restore the
type of argv to sync with src tree style; sort new variables under main();
fix continuation indents; remove extra blank line before free()'s. Still
to do: fix snprintf() handling as nectar & bde suggested to me.
Submitted by: bde
2001-01-21 08:37:35 +00:00
Will Andrews
e3cb529472
Fix style(9) bug; use ISDOT[DOT,]() macro available in util.c by moving
...
it to make.h so both dir.c and util.c can use it, although bde didn't
particularly like this part of the idea, IMO it's cleaner than it was.
Submitted by: bde
2001-01-21 08:24:41 +00:00
Matt Jacob
c310386321
Print out resid portion of MTIOCGET returned data.
2001-01-21 01:33:31 +00:00
Andrey A. Chernov
4eb83b01b8
Fix typo: -c -> -t
2001-01-21 01:07:26 +00:00
Andrey A. Chernov
6e1dea0642
Make "killall -t p0" really works.
...
Old code works only if at least one process name additionly specified.
2001-01-21 01:03:31 +00:00
Chris D. Faulhaber
8728c621a0
Check strdup() return values
...
Reviewed by: kris
2001-01-20 00:26:32 +00:00
Ben Smithurst
892fc9c643
Minor grammar nit.
...
PR: 23742
Submitted by: Rich Morin <rdm@cfcl.com>
2001-01-16 22:41:25 +00:00
Ruslan Ermilov
734e1e3b2e
man(7) -> mdoc(7).
2001-01-16 17:04:17 +00:00
Ruslan Ermilov
9884911506
mdoc(7) police: fixed broken references.
2001-01-16 11:52:00 +00:00
David Malone
43cb2008e4
Correct spelling of millennium.
...
PR: 24369
Submitted by: Tony Finch <dot@dotat.at>
2001-01-16 10:07:04 +00:00
Ruslan Ermilov
1bfea903ed
Prepare for mdoc(7)NG.
2001-01-16 09:39:23 +00:00
Ruslan Ermilov
536e683425
mdoc(7) police: fix the weird construct.
2001-01-15 16:49:28 +00:00
David Malone
9f4af3be75
The patch for the new calendar contained spaces instead of tabs.
...
I only noticed when I went to check that it worked OK in RELENG_3.
2001-01-15 10:18:24 +00:00
Andrey A. Chernov
d973f232c9
/usr/libexec/cpp -> /usr/bin/cpp
...
because of new rename to /usr/libexec/cpp0
2001-01-13 01:33:59 +00:00
David E. O'Brien
f29126734d
Have rpcgen actually tell us what cpp it is looking for (as it would if we
...
were SVR%).
2001-01-10 19:12:47 +00:00
David E. O'Brien
89ea5c2a49
Use /usr/bin/cpp as on NetBSD, not /usr/libexec/cpp.
2001-01-09 17:14:04 +00:00