markm
a71a530c96
WARNS=2 is going to become the default, so remove it from here.
2001-12-11 23:27:23 +00:00
markm
b986f33d02
WARNS=2 fixes.
2001-12-11 23:25:13 +00:00
markm
66061c79bd
WARNS=2 fixes, use __FBSDID(), kill register keyword.
2001-12-11 23:20:23 +00:00
markm
ce71668417
WARNS=2 is to become the default, so remove. Use __FBSDID().
2001-12-11 23:18:25 +00:00
markm
7344bc0c0c
WARNS=2 fixes, use __FBSDID().
2001-12-11 23:16:25 +00:00
markm
59796f812d
WARNS=2 is to become the default, so remove it from here.
2001-12-11 23:14:43 +00:00
markm
2b9e49a79f
Protect this from the coming WARNS=2 default.
2001-12-11 23:12:44 +00:00
markm
c5cd5cd156
WARNS=2 fix, kill register keyword, use __FBSDID().
...
NO_WERROR set because of hard-to-fix warnings originating in
system headers.
2001-12-11 23:10:26 +00:00
markm
7df3906a00
Protect this against the to-come WARNS=2 default.
2001-12-11 23:05:06 +00:00
markm
b4090206eb
WARNS=2 fix, add externs.h to centralise external prototypes,
...
use __FBSDID(), kill register keyword.
2001-12-11 23:02:44 +00:00
markm
7320009338
WARNS=2 fixes, but set NO_WERROR, as there are some HardToFix(tm)
...
warnings originating in system headers.
2001-12-11 22:59:36 +00:00
markm
ad3748f9ba
Remove WARNS=2 as this is to become default.
2001-12-11 22:56:05 +00:00
markm
97dc1962a9
WARNS=2 fixes, use __FBSDID(), kill register keyword.
2001-12-11 22:54:36 +00:00
markm
4a776e8d0d
WARNS=2 fixes.
2001-12-11 22:52:36 +00:00
markm
50e4bbdea1
WARNS=2, use __FBSDID(), set NO_WERROR, as there are "dirty" files used
...
during the bootstrap phase.
2001-12-11 22:46:42 +00:00
markm
1513601c49
WARNS=2 fixes, remove register keyword, use __FBSDID()
2001-12-11 22:36:26 +00:00
markm
46520c3514
WARNS=2 fixes, use __FBSDID(), kill register keyword.
2001-12-11 22:34:38 +00:00
markm
4d4f0a49d8
Temporarily "protect" this against the coming WARNS=2 default as it
...
is "hard to fix" (meaning I will come back to fix it if nobody gets
there first).
2001-12-11 22:33:11 +00:00
markm
77bb412269
Remove WARNS=2 as this is to be the default.
2001-12-11 22:31:01 +00:00
markm
ff1e6296f0
WARNS=2 fix, use __FBSDID().
...
WARNS=2 is not in Makefile, as this will be the default.
2001-12-11 22:29:53 +00:00
markm
1f1707d892
Use FBSDID(), WARNS=2 fix.
...
Mkaefile does not use WARNS=2 beacuse this will be made default.
2001-12-11 22:27:26 +00:00
markm
496247b54e
Use __FBSDID(). remove WARNS=2 as this is going to be default.
2001-12-11 22:25:43 +00:00
markm
6a4e19a831
WARNS=2 fix, use __FBSDID().
...
Not added to Makefgile as WARNS=2 will be made default.
2001-12-11 22:23:53 +00:00
markm
c6dc21807e
WARNS=2 fix, use __FBSDID().
...
Not added to Makefile as WARNS=2 will be made default.
2001-12-11 22:22:15 +00:00
markm
a23dd012ce
WARNS=2 fix, use __FBSDID() and sort includes.
...
WARNS=2 not added to Makefile as it is to become default.
2001-12-11 22:18:47 +00:00
markm
9c9a045dca
WARNS=2 fix, but do not set this im Makefile, because this ill be the
...
default for src/usr.bin/
2001-12-11 22:13:02 +00:00
markm
acf06cc72a
WARNS=2 fixes
...
__FBSDID() additions
some include file sorting.
Some Makefile sorting.
WARNS?=2 is not added to the Makefile, because it is going to be
default for usr.bin/
NO_WERROR is set because there are rpc*.h file issues.
2001-12-11 22:08:58 +00:00
dwmalone
d9613ea383
Style improvements recommended by Bruce as a follow up to some
...
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
des
a1922f6bbf
Set fetchDebug if v_level is 3 or more.
...
PR: bin/32615
MFC after: 1 week
2001-12-09 15:07:26 +00:00
jkh
8496a60c31
Don't assume that the number of fds to select on is known quantity (in
...
this case 16). Use dynamic FD_SETs and calculated high-water marks
throughout.
Obtained from: OpenBSD and Apple's Radar database
MFC after: 2 days
2001-12-08 21:51:34 +00:00
mike
d43f783040
Add support for Brazilian IP Addresses. Example `whois 200.236.70.0'.
...
PR: 30676
2001-12-08 21:22:42 +00:00
imp
8f226dc222
Only use __FBSDID if it is defined. This fixes the 4.4-release (but
...
not stable) -> current upgrade path.
Reviewed by: markm
2001-12-08 02:28:16 +00:00
dwmalone
ce9ba9f911
Yes seems to be warns clean on alpha and i386.
2001-12-03 21:42:15 +00:00
dwmalone
2d98aab133
Some warns cleanups - I think this is still not warns clean on the alpha.
2001-12-03 21:40:07 +00:00
dwmalone
56460a2eb0
Warns cleanup. Add FreeBSD ID to Makefile.
2001-12-03 21:39:04 +00:00
dwmalone
383583bd4f
Warns cleanups. Add FreeBSD ID to Makefile.
2001-12-03 21:37:35 +00:00
dwmalone
d0e180a89a
Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile.
2001-12-03 21:33:59 +00:00
dwmalone
8136379bed
Warns cleanups. Add missing prototype.
2001-12-03 21:32:54 +00:00
dwmalone
4713a986f4
Fix one warning - still not warns clean.
2001-12-03 21:32:01 +00:00
dwmalone
cffa7a579a
Strip seems to be warns clean on i386 and alpha.
2001-12-03 21:28:37 +00:00
dwmalone
71a3cce2f6
Warns cleanups.
2001-12-03 21:27:45 +00:00
dwmalone
d2c37ac50b
Warns cleanups. This makes the showmount code warns clean, but some
...
of the rpc headers aren't.
2001-12-03 21:25:28 +00:00
dwmalone
7b333c32e3
Warns cleanups. Add FreeBSD ID.
2001-12-03 21:22:56 +00:00
dwmalone
267de3dc10
Warns cleanups, add FreeBSD IDs.
2001-12-03 21:20:37 +00:00
dwmalone
935f368eab
Warnc cleanups. Add FreeBSD IDs.
2001-12-03 21:15:40 +00:00
dwmalone
a7b69c0f25
Warns cleanups. Don't use gccism -Wall.
2001-12-03 21:13:03 +00:00
dwmalone
3b51ef3427
Nohup seems to be warns clean on alpha and i386. Add FreeBSD id to Makefile.
2001-12-03 21:12:03 +00:00
dwmalone
ad2914a674
Warns cleanup. Add FreeBSD ID to Makefile and nice.c.
2001-12-03 21:10:47 +00:00
dwmalone
81ff03de25
Warns cleanups.
2001-12-03 21:07:23 +00:00
dwmalone
fc0ee8a40b
Warns cleanup. Add FreeBSD ID to Makefile.
2001-12-03 21:06:20 +00:00
dwmalone
ffd5084704
Warns cleanup - not ready for WARNS=2 yet.
2001-12-03 21:04:50 +00:00
dwmalone
db0b731dac
Warns cleanups. Add FreeBSD ID to Makefile.
2001-12-03 21:03:39 +00:00
dwmalone
743061688b
Warns cleanups:
...
Signal handlers are supposed to take an int as an arg.
Don't locally declare crypt or ttyname.
2001-12-03 21:01:52 +00:00
dwmalone
0a2730ac8b
Warns cleanups:
...
Declare functions in advance of using them
There is no printf specifies %k - I think it was supposed to be %s.
2001-12-03 21:00:33 +00:00
dwmalone
d4937950eb
Warns cleanup.
2001-12-03 20:58:56 +00:00
dwmalone
a4427dae23
Warns cleanup (just make main return an int).
2001-12-03 20:57:49 +00:00
dwmalone
2a38aa8ed1
Cast off_t to long long before printing. Use %ll instead of %q incase
...
long long and quad_t are not the same.
2001-12-03 20:56:16 +00:00
jhay
8694133670
Merge from crypto/telnet/telnet/commands.c. Add the necessary paths to
...
the kerberos libraries and includes.
2001-12-03 17:53:09 +00:00
markm
2149facaa0
Merge from master (crypto) telnet. WARNS fixes for alpha.
2001-12-03 12:41:19 +00:00
markm
518bba4cc1
Use __FBSDID().
2001-12-03 01:15:28 +00:00
markm
a37ff29e1e
Reorder Makefile for style.
2001-12-03 01:09:17 +00:00
markm
a8c1d247f8
WARNS=2 and -Wall are not both needed. (The second is a subset of the
...
first)
2001-12-03 00:16:52 +00:00
markm
a6a5a52862
Use __FBSDID().
2001-12-03 00:07:59 +00:00
markm
efb1461388
Style fixes.
...
Use __FBSDID().
Be consistent WRT ANSI use.
OK'ed by: obrien
2001-12-03 00:00:22 +00:00
markm
fc99e4f765
Use __FBSDID().
...
Use a better choice than size_t for vertain variables.
Fix some comment alignment.
2001-12-02 23:58:38 +00:00
markm
45888ee363
Use __FBSDID().
2001-12-02 23:52:47 +00:00
markm
c318e515ab
Style stuff.
...
Sort includes.
Remove 'register'
Use __FBSDID().
2001-12-02 23:44:42 +00:00
markm
6aad061ae7
WARNS=2 fixup.
...
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.
2001-12-02 23:40:46 +00:00
markm
8896138d55
Use __FBSDID().
2001-12-02 23:34:16 +00:00
markm
155bbc12c7
Turn on WARNS=2.
...
Use __FBSDID().
2001-12-02 23:29:26 +00:00
markm
fc2e4b54ec
WARNS=2 fixes. Also, use __FBSDID(), and sort includes.
2001-12-02 23:12:33 +00:00
markm
f817012db6
Protect "make world", as I am doing some (potentially) dangerous
...
WARNS=2 fixes.
Add a commented out WARNS=2 to indicate future intentions.
2001-12-02 23:10:57 +00:00
markm
36745b0201
Turn on WARNS=2. this compiles cleanly.
2001-12-02 23:09:09 +00:00
markm
b3be1b374c
Slight makefile style.
...
Use __FBSDID().
2001-12-02 23:04:14 +00:00
markm
6bd89ae377
Use __FBSDID().
2001-12-02 22:46:47 +00:00
markm
18cc007439
WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
...
Use __FBSDID().
Sort some headers.
2001-12-02 22:44:14 +00:00
markm
c73844e02d
Use __FBSDID().
2001-12-02 21:24:03 +00:00
markm
08eb6fed71
Use __FBSDID(). Also do a bit of cosmetic #if and header-order
...
cleaning-up.
2001-12-02 20:54:57 +00:00
markm
3202164edc
Use __FBSDID().
2001-12-02 20:45:24 +00:00
markm
a7016d6ca8
Use __FBSDID().
2001-12-02 20:40:22 +00:00
markm
d46c91fd8b
Use __FBSDID()
2001-12-02 20:23:02 +00:00
markm
f8ba6799fd
WARNS=2 fix, remove 'register' and use __FBSDID().
2001-12-02 20:13:42 +00:00
markm
085302d146
WARNS=2 fixup.
2001-12-02 13:55:09 +00:00
markm
11e67a9342
WARNS=2 fixup
2001-12-02 13:48:40 +00:00
markm
aeb55e91a2
WARNS=2 fixup.
2001-12-02 13:36:14 +00:00
markm
eadebf9b4a
WARNS=2 fix and 'register' removal.
2001-12-02 13:31:22 +00:00
markm
b8b83fee29
WARNS=2 fixup.
2001-12-02 13:18:59 +00:00
markm
6ca5ece2c9
WARNS=2 fixup.
...
kill 'register' keyword.
2001-12-02 12:54:40 +00:00
markm
9c4ab2cc6f
WARNS=2 fixup.
2001-12-02 12:36:35 +00:00
markm
1713f5e655
WARNS=2 fixup.
2001-12-02 12:26:18 +00:00
markm
df573903aa
Style. Use __P() macro (Yuk!).
2001-12-02 12:19:26 +00:00
markm
8e33fb69fc
WARNS=2 fixup.
...
Turn on YP (NIS) while I'm about it.
2001-12-02 12:17:20 +00:00
markm
a59a3a99ce
WARNS=2 fixups.
2001-12-02 12:09:41 +00:00
markm
4aa5e7d2a3
Sort includes.
2001-12-02 00:06:22 +00:00
markm
8a79fc4a5a
Style fixups.
...
Sort function declarations, includes. Make consistent WRT use of _P()
macro (ugh!)
Inspired by: bde
2001-12-01 21:12:04 +00:00
bde
13c461f200
Work around world breakage in previous commit. The bug is in
...
<security/pam_misc.h>. It declares a function parameter named 'send',
so nothing that includes both <unistd.h> (which declares send(2)) and
<security/pam_misc.h> be compiled with WARNS=2 unless NO_WERRROR is
set.
Fixed order of WARNS.
2001-12-01 19:48:59 +00:00
markm
144609e331
WARNS=2 fixes.
...
Reviewed by: bde (a while back)
2001-12-01 17:46:46 +00:00
markm
65ffba233b
Remove the 'irq' string from the irqN part of the "interrupts" display.
...
This allows us to see the irq number when device names ate too long.
2001-12-01 17:41:37 +00:00
markm
4a974575ba
WARNS=2 and s/register//.
...
Set NO_WERROR=true because there are some flex(1) issues that need
to be dealt with.
2001-12-01 17:34:42 +00:00
markm
9d10280c0b
Merge the (in)complete ANSIfication work from src/crypto/telnet.
2001-11-30 22:37:28 +00:00
markm
57acab063b
After running "make unifdef", commit the result. This code is now
...
a complete subset of the crypto (master) code.
2001-11-30 22:09:10 +00:00
markm
3962485896
Diff-reduce WRT src/secure/*telnet*/Makefile.
...
Also, add an "unifdef:" target, so that the telnet sources can
be remade from the crypto sources in src/crypto/telnet.
2001-11-30 21:34:51 +00:00
ru
cfe5212a8b
- Make ip_rtaddr() global, and use it to look up the correct source
...
address in icmp_reflect().
- Two new "struct icmpstat" members: icps_badaddr and icps_noroute.
PR: kern/31575
Obtained from: BSD/OS
MFC after: 1 week
2001-11-30 10:40:28 +00:00
bsd
04a3a965ed
killall operates on all processes owned by the real uid, not the
...
effective uid.
MFC after: 3 days
2001-11-30 00:30:28 +00:00
ache
d415ec9a10
Rewrite buffer handling code a bit to handle large values.
...
Add more checks for data overflow.
2001-11-28 09:50:24 +00:00
ache
1c29b90f4b
Increase internal buffer space
2001-11-28 09:26:57 +00:00
ache
c5c274cf2c
Add safeguard to prevent charmap symbol length overflowing
2001-11-27 23:39:14 +00:00
ache
8eefba4b03
Move extern definitions to common.h
...
Increase charmap symbol length to 64
2001-11-27 23:11:05 +00:00
tg
9135c64022
Remove check for the DISPLAY environment variable. It's easier to use
...
the `-x' option to get an X window than to temporarily disable DISPLAY.
PR: 32180
2001-11-27 13:14:49 +00:00
ru
ce68efb1de
${BINDIR} already has the leading slash.
2001-11-27 09:54:02 +00:00
ru
6d4362392c
Put the "tip" in exactly the same place where it was in rev. 1.169.
2001-11-27 09:42:50 +00:00
markm
d7f0a44ce0
Some CVS surgery has been done to tip(1) to clean out a commit that I
...
should have done differently.
Restore tip(1) to the build. I will return to this with a clean
import to tip in due course.
2001-11-26 23:18:21 +00:00
markm
1ab9cf7b4b
After some CVS surgery to remove an unwise commit, restore some
...
post-UUCP-removal stuff:
1) Link cu(1) to tip(1).
2) Force removal of system immutable bit. (Was needed by UUCP's
insecure cu(1).
2001-11-26 23:13:33 +00:00
markm
e7b48738c9
Temporarily remove tip/cu from the build while repo-surgery is done.
2001-11-26 22:35:10 +00:00
iedowse
f9343b3578
Since kqueue support was added to tail, the "-F" option (check for
...
renames/rotations) only detected cases where the file itself was
moved or deleted. If part of the path to the file (or a symlink
in the path) was changed instead, tail would not notice.
Fix this by ensuring that we stat the path at least once every
second in the -F case to check for changes. We still use kqueue
when possible to inform us quickly when the file has changed.
PR: bin/24955
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
MFC after: 1 week
2001-11-25 18:03:28 +00:00
dd
347d22cb8a
Fix typo.
2001-11-24 21:22:16 +00:00
brian
28c7078186
Allow an ``at now'' specification.
...
PR: 32242
Submitted by: Alan E <alane@geeksrus.net>
MFC after: 3 weeks
2001-11-24 10:43:53 +00:00
dd
4ee088e5a0
The RETURN VALUES section is not appropriate for section 1 manual
...
pages; rename it to DIAGNOSTICS. Also use the .Ex macro while I'm
here.
2001-11-23 14:40:35 +00:00
dd
534b7e1f5c
Fix grammar in AUTHORS section.
2001-11-23 14:37:27 +00:00
jlemon
be5f14aae7
Add #include <net/route.h> in order to get this to compile.
...
Spotted by: David Wolfskill
Forgotten by: me
2001-11-22 17:19:52 +00:00
ru
e82e55512f
Be pedantic; we don't know of any shell that provides
...
"similar but not identical" built-in replacements for
false(1) and/or true(1).
2001-11-22 11:05:31 +00:00
jlemon
7e4737a17a
Add syncache statistics to netstat.
2001-11-22 04:48:52 +00:00
grog
1fb8e0e550
Add St. Cecilia's Day.
2001-11-21 21:55:46 +00:00
knu
96265e088e
Remove the printf builtin command from sh(1), which command is not
...
used so often that it's worth keeping it as a builtin.
Now that all the printf invocations from within the system startup
scripts, we can safely remove it.
Urged by: sheldonh :)
No MFC is planned so far because it may break compatibility and
violate POLA.
2001-11-20 18:33:59 +00:00
arr
d2f823593c
- When copying into a fixed buffer, bounds checking should occur.
...
PR: bin/31673
2001-11-20 16:47:42 +00:00
ru
80a463b623
mdoc(7) police: kill whitespace at EOL.
2001-11-20 15:49:18 +00:00
ru
ed868c2f62
Add a missing comma.
2001-11-20 15:45:29 +00:00
ru
dfea2339f3
mdoc(7) police: kill whitespace at EOL and HSB.
2001-11-20 15:43:25 +00:00
ru
334403c166
Add xref to wall(1).
...
PR: docs/32128
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)
2001-11-20 15:39:58 +00:00
knu
dbbdb537c1
Add a note that some shells may have the command built-in.
...
(sh(1) indeed does)
Add a cross-reference to builtin(1).
2001-11-20 12:40:38 +00:00
ru
6d8eb2d775
Remove obfuscating details of using the false(1) and true(1) utilities
...
inside the Bourne shell scripts.
PR: docs/32082
2001-11-20 11:11:36 +00:00
max
c069ca765d
Make this a bit closer to a true tradition by adding one more committer.
2001-11-20 01:49:11 +00:00
murray
31d89aa48d
Fix two minor grammar mistakes.
...
PR: docs/32083
Submitted by: setantae@submonkey.net
2001-11-19 09:01:43 +00:00
murray
56252b5cc7
Add a missing word to form a complete sentence.
...
PR: docs/32084
Submitted by: setantae@submonkey.net
2001-11-19 08:35:59 +00:00
murray
fb660d461e
Use .Nm to correctly display the program name.
...
PR: docs/32086
Submitted by: setantae@submonkey.net
MFC After: 2 days
2001-11-19 08:12:17 +00:00
iedowse
06e34fd560
Make completion work with filenames containing spaces.
...
PR: bin/23526
Submitted by: root@yoda.fwe.pi.musin.de
MFC after: 1 week
2001-11-18 17:49:09 +00:00
des
69c40b2704
Print the correct return code for successful Linux syscalls.
...
Submitted by: Vitezslav Novy <vita@fio.cz>
PR: 32036
MFC after: 1 week
2001-11-17 17:18:36 +00:00
jmallett
aaec7e94a0
Import OpenBSD m4 as of today.
2001-11-16 23:50:40 +00:00
rwatson
0922d9a44c
o Add support for a 'nocheckmail' capability, which (if true) prevents
...
the 'You have mail.' check. This is useful for sites that rely on
remote mail access, rather than a local mail spool. Due to the
behavior of login_getcapbool(), the negated form is required so as
to have appropriate results.
o This behavior may have to be independently added to sshd due to
redundant implementation.
2001-11-16 04:39:16 +00:00
dd
bbce60529d
Deuglify the usage message by putting the program name after the
...
"usage:" string. This is how most (all?) other programs in the system
do it.
PR: 31596
Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
2001-11-15 15:46:45 +00:00
cy
f2e1c31bea
My final rite of FreeBSD is now complete.
...
Reviewed by: nectar
Approved by: nectar
2001-11-15 14:28:03 +00:00
grog
4827d8d48e
Remove accidentally included NZ holidays.
...
Get floating holidays right.
Add the richness of NT holidays.
Submitted by: Conrad Parker <conrad@vergenet.net>
2001-11-15 03:53:57 +00:00
grog
ed0f61b4cf
Add public holidays in Australia and New Zealand.
...
Submitted by: Conrad Parker <conrad@vergenet.net>
2001-11-15 02:35:14 +00:00
pat
34b97e73d9
Follow tradition and add myself
...
Approved by: lioux
2001-11-15 02:27:48 +00:00
arr
c20d0cf9eb
Never added my entry which the committers guide says is a
...
tradition.
2001-11-13 17:44:40 +00:00
alfred
ae8c4c565e
Have rpcgen output the prototypes for the dispatch tables
2001-11-13 11:08:29 +00:00
gshapiro
c392a88ad0
Fix NO_SENDMAIL knob. When FreeBSD's old BSD version of vacation was
...
replaced with the new version in sendmail's distribution, vacation and
the necessary libraries (libsmdb and libsmutil) were changed so they
were always compiled. This broke people who didn't checkout
src/contrib/sendmail/. I don't know if it's best to think of NO_SENDMAIL
as no sendmail sources available or no sendmail binary. It is now the former.
Also, remove the sendmail chapter from System Managers Manual (SMM) if
NO_SENDMAIL is defined (for similar reasons -- source not available).
PR: 31863, 31865
Submitted by: matusita, Joe Kelsey <joe@zircon.seattle.wa.us>
MFC after: 3 days
2001-11-11 05:26:59 +00:00
iedowse
526c677d03
Remove an extraneous argument to fprintf that -Wformat noticed.
...
Reviewed by: des
2001-11-10 18:39:54 +00:00
wollman
e68b7c9ebf
Actually, arc4random() returns a uint32_t, not an int. Use the correct
...
constant, just in case uint32_t turns into a `short' ten years from now.
If this is MFC'd it will be necessary to hard-code the constant since
-stable doesn't have UINT32_MAX.
2001-11-08 22:01:35 +00:00
gallatin
243eea3da8
fix jot -r on 64-bit platforms by teaching it that arc4random outputs
...
an int, not a long
Submitted by: Paul Herman <pherman@frenchfries.net>
PR#: alpha/31859
2001-11-08 20:49:24 +00:00
mikeh
571866fa14
Don't allocate a zero byte segment.
...
PR: bin/11900
MFC after: 2 weeks
2001-11-08 16:47:05 +00:00
green
b9c07fd74b
Add missing include for <ctype.h>
...
Make sockaddr printing code unbad.
Always copy in sizeof(sockaddr_un) bytes for an AF_UNIX sockaddr,
despite what the length may be.
2001-11-06 19:26:51 +00:00
dwmalone
8a1a60f839
Anding the fsid with 0xffff was causing aliasing problems.
...
PR: 17405, 16320
Submitted by: Mark W. Krentel <krentel@dreamscape.com>
Submitted by: Peter Edwards <peter.edwards@ireland.com>
MFC after: 2 weeks
2001-11-05 20:40:24 +00:00
dwmalone
3e00db61ef
Make filenames const to avoid a few warnings.
...
Add FreeBSD tags.
Reviewed by: cmp
2001-11-05 20:33:40 +00:00
dwmalone
c296aeaf7d
Don't use gcc -Wall flag. Add FreeBSD: line.
2001-11-05 20:27:17 +00:00
ache
d934e95e35
Add two Russian holidays (by osa)
...
Lowercase some titles (by me)
PR: 31769
Submitted by: "Sergey A.Osokin" <osa@FreeBSD.org.ru>
2001-11-05 12:14:12 +00:00
dd
4e2319fe86
Nuke spaces in front of tabs.
2001-11-04 23:20:52 +00:00
dd
1865b7516d
Fix compilation with -DDEBUG.
...
PR: 31536
Submitted by: Alan Batie <alan@agora.rdrop.com>
2001-11-04 23:15:21 +00:00
dwmalone
473a686e79
Make cmp work by mmapping chunks of a file, rather than the whole
...
file at one time.
PR: 24732
Submitted by: Andrew L. Neporada <andr@dgap.mipt.ru>
MFC after: 2 weeks
2001-11-04 21:31:16 +00:00
shige
d84adcb457
Add myself.
2001-11-04 09:13:59 +00:00
nobutaka
e4e8866034
Add myself.
...
Reviewd by: knu
2001-11-03 19:09:41 +00:00
des
572d6d9be0
Remove a debugging warnx() that got committed by mistake.
2001-11-03 01:31:46 +00:00
obrien
2fd0cade3f
Bring Gawk back. There just isn't any other POSIX compliant AWK out there.
...
The biggest thing missing from Bell-Labs AWK is the character class regexes.
2001-11-02 23:48:32 +00:00
alfred
883f7cf969
In order to perform faster when doing "head -n", use a pair of
...
fgetln/fwrite instead of getc/putchar, this seems about five times
faster.
2001-11-02 09:27:16 +00:00
alfred
558e29c5a0
change a global into a local, misc style fixes
2001-11-02 09:21:11 +00:00
obrien
cf94102c07
Really fix this work to work. While rev 1.24 did allow awk to run w/o
...
complaining; the resulting output was useless.
2001-11-01 02:16:10 +00:00
obrien
299c3dd9bc
Utilize the property of 'echo' in that it removes \n from its input.
2001-11-01 01:50:38 +00:00
green
85a9f299f9
Add -K support to gprof(1), which enables dynamic symbol resolution from
...
the currently-running kernel (and supercedes an executable file argument
given). With this change, properly-compiled KLD modules are now
able to be profiled.
Obtained from: NAI Labs CBOSS project
Funded by: DARPA
2001-10-30 15:54:09 +00:00
obrien
4a5f2e9cc5
Switch to the One True AWK from Bell-Labs, away from GNU AWK.
2001-10-30 08:56:50 +00:00
dillon
d9ab71bc3b
localtime() was being called on an int pointer (due to recent
...
utmp-related commits). fixed.
2001-10-29 00:34:20 +00:00
dillon
9547eabc59
Fix long format mismatch with int arg
2001-10-29 00:32:58 +00:00
rwatson
4037e00a24
o Restore previous inconsistent style to login_fbtab.c, following its
...
modification to add glob support. The submitted patch used a degraded
form of KNF.
Reviewed by: bde
2001-10-28 22:54:16 +00:00
dillon
a3b99516b8
Fix time_t == int assumption, convert protocol int to time_t.
2001-10-28 20:26:54 +00:00
dillon
f698090450
Fix time_t == int assumption, properly convert protocol int to time_t.
2001-10-28 20:24:51 +00:00
schweikh
ff38fb0e73
Make this compile cleanly when warnings are enabled:
...
- ANSIfy function declarations
- braces around initializers structs within structs
- add parens in complicated expressions
- disambiguate dangling elses
- no more implicit int
- make functions static where possible
- use prototypes
- don't use varargs hack for diag()
Requested by: joerg
MFC after: 2 weeks
2001-10-28 18:35:32 +00:00
grog
20c27854cf
Correct James Cook's year of birth. I wonder how anybody could expect
...
him to have been born in the 15th century.
2001-10-27 02:51:59 +00:00
rwatson
d319d0a53b
o Modify format of /etc/fbtab to accept glob matching patterns for
...
target devices, not just individual devices and directories. This
permits activities such as:
ttyv0 0600 /dev/dsp*
Whereas previously that was not supported. This change is
backwards-compatible, except where device names included globbing
characters, which is not the case for any devices listed in MAKEDEV.
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 3 weeks
2001-10-25 20:45:47 +00:00
grog
3c003a665b
Update Labour Day in New Zealand. It's definitely not today. This
...
year it was on 22 October, which makes me think that it's the 4th
Monday in October. At least this way it's correct for this year.
2001-10-25 00:01:06 +00:00
murray
49aab78a84
Fix typo.
...
PR: docs/31388
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
2001-10-23 20:27:06 +00:00
peter
bd8ef90209
Add ia64 support (stubs, just like i386, alpha)
2001-10-23 10:12:10 +00:00
dd
316b09762f
This program uses sysexits(3), so it does not exit 1 on failure.
...
PR: 31415
2001-10-23 00:47:27 +00:00
des
7a633d0499
Back out part of previous commit: remove #include <sys/proc.h>.
2001-10-22 15:32:12 +00:00
des
18f9515264
#include <sys/proc.h> where needed (for the stop event definitions) and
...
reorder includes everywhere to conform to style(9).
2001-10-22 02:02:00 +00:00
des
90be41ff5d
Teach truss(1) to display sockaddrs. It currently knows about AF_INET,
...
AF_INET6 and AF_UNIX sockaddrs, and will recognize accept(), bind(),
connect(), getpeername() and getsockname() as syscalls taking sockaddr
arguments. Some enterprising soul might want to add (and test) support
for the send() / recv() family of syscalls as well.
MFC after: 1 week
2001-10-21 21:57:10 +00:00
schweikh
49b9e95f88
Properly handle backslash newline within an identifier or keyword.
...
PR: bin/6015
Submitted by: myself (schweikh)
Patch by: Alexey V.Neyman <alex.neyman@auriga.ru>
Tested by: indenting my chess problem solver and running its test suite
MFC after: 3 weeks
2001-10-19 19:10:36 +00:00
bde
cd74f31039
Fixed most style bugs in previous commit.
2001-10-19 12:27:26 +00:00
bde
5667be14fe
Fixed missing DPADD and misplaced $FreeBSD$ in previous commit.
2001-10-19 12:15:56 +00:00
mdodd
cc2750c4a1
Print statistics for AF_IPX.
...
Note that the IPX code doesn't update these correctly yet, but should.
2001-10-19 00:40:51 +00:00
mdodd
7fc1eccefc
Add libedit support to tftp.
2001-10-19 00:23:07 +00:00
mike
3997cf6e35
Remove some EOL whitespace. Update usage() to current reality.
2001-10-17 16:28:12 +00:00
mike
55f9dc658c
Use whois.example.com rather than non-existent.host in an example.
2001-10-17 15:47:38 +00:00
fenner
b69c7c0b78
If the remote uptime is less than one minute, print the uptime in
...
seconds instead of leaving the uptime field blank.
2001-10-17 01:44:34 +00:00
sobomax
142817d167
Use strlcpy(3) instead of strcpy(3) to copy optarg into a fixed-size buffer.
...
MFC after: 2 weeks
2001-10-16 09:21:09 +00:00
bde
3ace008295
Removed unused include of kernel-only file <sys/lock.h>.
2001-10-13 04:54:03 +00:00
mike
2abcf6c606
o Treat a buffer as a non-NUL terminated string, because the whois
...
server may not return a new line character on the final line.
o Remove the whois.networksolutions.com fallback code, which is no
longer needed.
o Instead of determining a hostname by terminating it when we see
whitespace, only allow hostname characters and terminate the string
when it's not such a character.
o Add a small optimization in a for loop.
PR: 30968
Reviewed by: -audit
MFC after: 4 days
2001-10-12 17:39:36 +00:00
tg
0689cbd99f
Minor cleanup, no functional changes:
...
- Add/change some comments,
- remove superfluous `if (1||x)' and re-indent,
- fix initialization of floppyinfo[] to get rid of warning.
2001-10-12 10:31:00 +00:00
ru
b0d7725e6d
Fixed bugs from revision 1.27. Specifically:
...
- Restore the ability to look up network names in the networks(5)
database by passing getnetbyaddr(3) shifted network numbers,
but without duplicating the old bug that was fixed in 1.27 (we
now only shift netnums with standard netmasks). For example:
Before:
$ netstat -r
[...]
127.0.1/24 localhost UGSc 0 0 lo0
127.0.2/24 localhost UGSc 0 0 lo0
After:
$ netstat -r
[...]
subnet1/24 localhost UGSc 0 0 lo0
subnet2/24 localhost UGSc 0 0 lo0
- Only try to lookup with the forged netmask if the mask was not
explicitly specified, like it was before 1.27. For example:
Before:
$ netstat -r
net-44.ampr.org/25 localhost UGSc 0 0 lo0
net-44.ampr.org/25 localhost UGSc 0 0 lo0
After:
44.108.2/25 localhost UGSc 0 0 lo0
44.108.2.128/25 localhost UGSc 0 0 lo0
- Make sure to null-terminate the resulting string.
MFC after: 1 week
2001-10-11 14:30:42 +00:00
bde
229c3ac7c3
Compensate for "Compensate for header dethreading" by backing it out.
2001-10-10 17:48:44 +00:00
dfr
a2d294036e
Make this build on ia64.
2001-10-09 20:04:02 +00:00
sobomax
b52ff24c51
Remove greatly outdated comment that systat(1) takes 2-10% of the CPU time.
...
This isn't true nowadays.
2001-10-09 16:07:32 +00:00
ru
a7e38a629c
Pad input with null characters if it is not a multiple of 3.
...
PR: bin/31156
MFC after: 1 week
2001-10-09 11:05:27 +00:00
ru
08ebd59071
The previous change also disaligned lines with AF_IPX and AF_NS
...
addresses. Unshrink "Network" width to the previous value, and
make sure everything is aligned again.
2001-10-09 08:33:50 +00:00
ru
4f2dd227d0
Update for FILE v3.37.
2001-10-09 07:31:02 +00:00
mdodd
40ada64ef5
Minor output formatting for 'netstat -i':
...
- Right align Mtu
- Print AF_INET family with correct field width.
2001-10-09 05:58:26 +00:00
obrien
16c9c17233
Update for FILE v3.37.
...
FreeBSD no longer needs the daylight hack.
(we really should sync our timezone code up ...)
2001-10-08 22:57:03 +00:00
grog
1a3242a7f4
Clarify foundation of GDR/DDR.
2001-10-07 01:22:44 +00:00
obrien
255e13a69a
Document -depth
2001-10-06 18:07:32 +00:00
keramida
3beda2c349
Add an entry with my birthday.
...
Approved by: nik
2001-10-06 11:40:36 +00:00
obrien
be3ae37c00
Properly static'ize increase_maxtable().
...
Submitted by: db@db.net
2001-10-05 03:02:04 +00:00
obrien
1547f1d07f
Fix the output so it really does dynamically resize the table.
...
Submitted by: Diane Bruce <db@db.net>
2001-10-05 02:09:43 +00:00
obrien
7d2463e9d1
Increase the table size by an order of magnitude.
...
The previous version was too small and YACC core dumped on the during the
hybrid-7 build.
Submitted by: Diane Bruce <db@db.net>
2001-10-05 00:46:22 +00:00
grog
8dd9793ef0
Remove duplicate entries.
2001-10-04 00:38:36 +00:00
tg
5a5faeb1fd
- First shot at PIC emulation;
...
- better 8250 emulation;
- fake vertical retrace bit in Input Status #1 register
(this was lost in the VGA emu rewrite).
Submitted by: Igor Serikov <bt@turtle.pangeatech.com>
2001-10-02 11:28:59 +00:00
fenner
efade0125d
Allow "obsolete" (but commonly-used) command line style to be used
...
with -F, e.g. tail -1 -F /var/log/messages.
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
2001-10-02 06:22:01 +00:00
ru
623da62a5a
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
ru
76032df762
mdoc(7) police: make double quotes in #include statement visible.
2001-10-01 15:01:57 +00:00
ru
f7f6716fda
mdoc(7) police: s/FreeBSD/.Fx/, bump document date.
2001-10-01 13:32:46 +00:00
obrien
825a20e557
Adjust to the libedit enhancements some functions now take more parameters.
...
Partially submitted by: kris
2001-10-01 08:46:45 +00:00
grog
cd548d6fe9
Add description for calendar.freebsd.
2001-10-01 02:35:52 +00:00
grog
262974b92c
Correct spelling of Labour Day in Australia, and clarify which states observe it.
...
Add Queen's Birthday in WA.
Expand unnecessary abbreviation.
Correct rules for German Buss- und Betttag.
Disunite Ivory Coast and Panama.
2001-10-01 02:35:08 +00:00
bmilekic
5b4fe25981
Re-enable mbtypes statistics in the mbuf allocator. I disabled these
...
when I changed the allocator bits. This implements per-CPU mbtypes
stats by keeping net number of decrements/increments of a given mbtype
per-CPU and then summing all of the per-CPU mbtypes to produce the total
net number of allocated mbufs of the given mbtype.
Counters are carefully balanced to avoid/prevent underflows/overflows.
mbtypes stats are re-enabled with the idea that we may occasionally
(although very rarely) observe slight inconsistencies in the stat
reporting. Most of the time, we should be fine, though.
Also make appropriate modifications to netstat(1) and systat(1) to do
the necessary reporting.
Submitted by: Jiangyi Liu <jyliu@163.net>
2001-09-30 01:58:39 +00:00
billf
5f0513c0ec
use openpty() instead of rolling a custom function (which didn't support
...
the full range of ptys anyways)
2001-09-28 22:46:13 +00:00
jmallett
9cfdcac9f3
Import OpenBSD m4 as of today.
2001-09-27 11:40:33 +00:00
obrien
46f886d612
Clarify that -h implies -c.
2001-09-24 17:42:37 +00:00
des
3274d63b58
Don't print running stats unless we're the foreground process.
...
PR: 30764
2001-09-23 22:03:39 +00:00
mikeh
ff0ca8acbc
Don't add space after comma unless there was already one (prevents a
...
rare overflow). Optimize loop slightly. Don't exit if realloc can't
shrink a buffer (just continue and use the larger buffer).
Obtained from: OpenBSD
MFC after: 2 weeks
2001-09-23 04:07:26 +00:00
obrien
b543286930
blah, remove debugging code that crept in with last commit.
2001-09-23 00:11:48 +00:00
obrien
a2ccfc7be5
Add the 'h' flag to operate on symlinks rather than what they point to.
2001-09-22 18:45:03 +00:00
cjc
b78a2af2f6
Fixing a bug that causes very short uptimes (less than one minute) to
...
be 30 seconds off. (Thanks to Vladimir B.Grebenschikov
<vova@express.ru> for the PR and ru for a more elegant fix.)
PR: bin/30680
Approved by: ru
2001-09-22 09:33:00 +00:00
ru
f9bcfb7e53
mdoc(7) police: markup nits.
2001-09-21 07:04:47 +00:00
wollman
78a77c1402
Cross-reference jot(1).
...
MFC after: 1 week
2001-09-21 03:05:16 +00:00
wollman
8f77794737
Cross-reference rs(1), the general array re-shaper. (pr(1) is commonly used
...
to display text in columns even when the other formatting pr does is not
desired.)
MFC after: 1 week
2001-09-21 02:57:56 +00:00
wollman
b8acd10c93
Cross-reference between lam(1) and paste(1). Add a STANDARDS section to
...
lam(1) indicating that paste(1) is a standard way to do some of the same
things.
MFC after: 1 week
2001-09-21 02:51:07 +00:00
peter
68a5e33921
Userland part of nfs client/server split and cleanup.
2001-09-18 23:34:44 +00:00
jmallett
bdc3a4cdac
Import OpenBSD m4 as of today.
2001-09-18 14:55:52 +00:00
grog
6a8e913ec2
Fix multiple uses of commas to separate countries. This construct is
...
commonly used in the United States of America to represent a
hierarchical relationship between city and state or country
("Evacuation Day in Suffolk County, Massachusetts"), but it was also
being abused to enumerate unrelated places ("Independence Day in
Albania, Mauritania").
Remove the list of countries observing All Souls' Day. This is a
widely observed holiday, and the list only included South American
contries.
There's more to do here; the list is rather patchy.
2001-09-17 21:19:28 +00:00
ru
84ac5b97df
When bootstrapping install(1), libc may not have the strtofflags(3) support.
2001-09-17 11:58:14 +00:00
grog
6140908bf3
Correct spelling of PNG.
...
Make it clear that 16 September is the national day both in Mexico and PNG.
2001-09-15 23:55:07 +00:00
rwatson
fabafaba5e
o Modify NFS rights comment to note that the early credential changes
...
to test for a home directory don't set up the additional groups, and
as such may limit users conservatively. This does not affect the
eventual credentials selected.
2001-09-15 17:09:39 +00:00
ru
e177b37bfd
Fold groups(1) and whoami(1) into id(1).
2001-09-14 14:04:08 +00:00
ru
3a475bde7a
Simplify f_Xtime().
2001-09-14 13:42:26 +00:00
ru
66b2cd14ab
Bloat find(1) even more, and introduce the concept
...
of time units to be used with -[acm]time primaries.
Based on patch from Nils M Holm <nmh@t3x.org>.
PR: bin/29165, bin/30309
2001-09-14 12:47:13 +00:00
ru
fcbb572f70
Now that we have it, replace `afterinstall' target with SCRIPTS.
2001-09-13 14:26:31 +00:00
ru
214349ee3a
Fixed the BINGRP handling mess.
...
EXEGRP and EXEMODE are used to install DOS (EXE format) binaries.
doscmd(1) can optionally be installed as ``setgid kmem''.
Hence the assignment operator for EXEGRP.
PR: bin/30538
2001-09-13 07:20:51 +00:00
ru
bc205d4152
Set BINOWN=root explicitly for setuid root binaries.
...
This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.
2001-09-13 06:48:18 +00:00
markm
12c7e49b74
Reinstate complete (and now correctly functioning) WARNS=2.
2001-09-12 19:15:02 +00:00
ru
ad71f55b36
Fixed some of style bugs.
2001-09-12 10:04:42 +00:00
julian
5596676e6c
KSE Milestone 2
...
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org , dillon@freebsd.org
X-MFC after: ha ha ha ha
2001-09-12 08:38:13 +00:00
grog
6e7368374a
Correct the entry for Sudetenland. It also has nothing to do with the south.
...
Corrected by: joerg
Pointy hat to: grog
2001-09-12 07:22:38 +00:00
grog
03950a46f7
Correct the invasion of Südetenland. Any involvement of ducks was insignificant.
2001-09-12 00:13:02 +00:00