]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoCode merge and diff reduce with "base" telnet. This is the "later"
markm [Mon, 20 Aug 2001 12:28:40 +0000 (12:28 +0000)]
Code merge and diff reduce with "base" telnet. This is the "later"
telnet, so it was treated as the reference code, except where later
commits were made to "base" telnet.

23 years agoCode merge and diff reduction between this and crypto telnet.
markm [Mon, 20 Aug 2001 12:21:31 +0000 (12:21 +0000)]
Code merge and diff reduction between this and crypto telnet.

Also remove useless AUTHENTICATION code. We have never compiled this
here, and it is doubtful that it even works without crypto.

23 years agoFeature merging and diff reduction between this code and crypto telnet.
markm [Mon, 20 Aug 2001 12:12:27 +0000 (12:12 +0000)]
Feature merging and diff reduction between this code and crypto telnet.
Also remove conditional (AUTHENTICATION) code as we have never compiled
it here, and it is doubtful that it even works in this scenario.

23 years agoHandle snprintf() returning -1
brian [Mon, 20 Aug 2001 12:06:42 +0000 (12:06 +0000)]
Handle snprintf() returning -1

MFC after: 2 weeks

23 years agoNo functional changes, but:
markm [Mon, 20 Aug 2001 12:04:53 +0000 (12:04 +0000)]
No functional changes, but:

o unifdef AUTHENTICATE. We have never compiled this code, and its
  doubtful it will even work in this case.

o Style changes (some ansification, some comment updating)

o Diff reduction and code style merging with crypto telnet.

23 years agoDon't misuse the return from snprintf.
brian [Mon, 20 Aug 2001 11:58:05 +0000 (11:58 +0000)]
Don't misuse the return from snprintf.

MFC after: 2 weeks

23 years agoProperly change old interface addresses so that their destination is
brian [Mon, 20 Aug 2001 11:06:21 +0000 (11:06 +0000)]
Properly change old interface addresses so that their destination is
255.255.255.255 if our new destination address conflicts.

23 years agoAdd some comments to explain what's going on here
brian [Mon, 20 Aug 2001 10:25:23 +0000 (10:25 +0000)]
Add some comments to explain what's going on here

23 years agoDon't overflow a buffer from command line arguments.
kris [Mon, 20 Aug 2001 09:43:04 +0000 (09:43 +0000)]
Don't overflow a buffer from command line arguments.

MFC after: 2 weeks

23 years agomdoc(7) police: markup nits.
ru [Mon, 20 Aug 2001 08:55:07 +0000 (08:55 +0000)]
mdoc(7) police: markup nits.

23 years agoMerge vendor branch onto mainline (try to fix HAVE_KERBEROS)
peter [Mon, 20 Aug 2001 08:47:21 +0000 (08:47 +0000)]
Merge vendor branch onto mainline (try to fix HAVE_KERBEROS)

23 years agomdoc(7) police: simplify literal display block.
ru [Mon, 20 Aug 2001 08:29:55 +0000 (08:29 +0000)]
mdoc(7) police: simplify literal display block.

23 years agomdoc(7) police: fixed markup, removed the extra word.
ru [Mon, 20 Aug 2001 08:28:18 +0000 (08:28 +0000)]
mdoc(7) police: fixed markup, removed the extra word.

23 years agoPart II of libss retirement: zap mk_cmds too.
kris [Mon, 20 Aug 2001 06:23:35 +0000 (06:23 +0000)]
Part II of libss retirement: zap mk_cmds too.

Pointy hat to: kris

23 years agoThe timed protocol is not implemented in a compatible way by all vendors;
kris [Mon, 20 Aug 2001 06:16:04 +0000 (06:16 +0000)]
The timed protocol is not implemented in a compatible way by all vendors;
the size of the tsp_name field is OS-dependent.  4.3BSD used a 32-byte
field, FreeBSD uses MAXHOSTNAMELEN and RedHat apparently uses a 64-byte
field.  As a result, sanity checking code added a few months ago to detect
short packets will fail when interoperating with one of these other vendors.

Change the short packet detection code to expect a minimum packet size
corresponding to the 4.3BSD implementation, which should be a safe minimum
size.

Submitted by: Stephen Whiteley <stevew@best.com> (based on)
PR: misc/29867

23 years agoFix an SGML glitch.
bmah [Mon, 20 Aug 2001 04:56:37 +0000 (04:56 +0000)]
Fix an SGML glitch.

23 years agoFix grammar.
dd [Mon, 20 Aug 2001 02:16:41 +0000 (02:16 +0000)]
Fix grammar.

23 years agoRespect the -N flag when changing directory attributes in setdirmode).
dd [Mon, 20 Aug 2001 02:15:22 +0000 (02:15 +0000)]
Respect the -N flag when changing directory attributes in setdirmode).

PR: 29671
Submitted by: Sascha Blank <sblank@addcom.de>

23 years agoUse `an' where appropriate.
dd [Mon, 20 Aug 2001 02:08:26 +0000 (02:08 +0000)]
Use `an' where appropriate.

23 years agoPass the username we just made to pwd_mkdb so that the latter doesn't
dd [Mon, 20 Aug 2001 01:20:05 +0000 (01:20 +0000)]
Pass the username we just made to pwd_mkdb so that the latter doesn't
have to regenerate the entire database.

PR: 25798
Submitted by: Domas Mituzas <domas.mituzas@delfi.lt>

23 years agoSync the default module search path with the one in
dd [Mon, 20 Aug 2001 01:12:28 +0000 (01:12 +0000)]
Sync the default module search path with the one in
sys/boot/common/module.c.

PR: 21405
Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>

23 years agoShoot (and kill) the second person with a high-powered rifle.
dd [Mon, 20 Aug 2001 01:02:05 +0000 (01:02 +0000)]
Shoot (and kill) the second person with a high-powered rifle.

23 years agoWhen attempting to change the default route, don't write the gateway
brian [Mon, 20 Aug 2001 00:46:33 +0000 (00:46 +0000)]
When attempting to change the default route, don't write the gateway
and mask to the routing socket, otherwise the update fails.

Warning provided by: markm

The code here was broken for FreeBSD when IPv6 support was added, but
was fixed for OpenBSD.  OpenBSD expects the gateway and mask to be
supplied and fails the update otherwise.

23 years agoLimit the amount of KVM reserved for the buffer cache and for swap-meta
dillon [Mon, 20 Aug 2001 00:41:12 +0000 (00:41 +0000)]
Limit the amount of KVM reserved for the buffer cache and for swap-meta
information.  The default limits only effect machines with > 1GB of ram
and can be overriden with two new kernel conf variables VM_SWZONE_SIZE_MAX
and VM_BCACHE_SIZE_MAX, or with loader variables kern.maxswzone and
kern.maxbcache.  This has the effect of leaving more KVM available for
sizing NMBCLUSTERS and 'maxusers' and should avoid tripups where a sysad
adds memory to a machine and then sees the kernel panic on boot due to
running out of KVM.

Also change the default swap-meta auto-sizing calculation to allocate half
of what it was previously allocating.  The prior defaults were way too high.
Note that we cannot afford to run out of swap-meta structures so we still
stay somewhat conservative here.

23 years agoThere is no "(integer)" type; it's called "(int)".
dd [Mon, 20 Aug 2001 00:29:23 +0000 (00:29 +0000)]
There is no "(integer)" type; it's called "(int)".

PR: 20749
Submitted by: Ralf S. Engelschall <rse@engelschall.com>

23 years agoAdd new entires for firewall_flags, amd_map_program, and
dd [Mon, 20 Aug 2001 00:28:30 +0000 (00:28 +0000)]
Add new entires for firewall_flags, amd_map_program, and
enable_quotas.  Plus other assorted fixes.

PR: 20479
Submitted by: Ralf S. Engelschall <rse@engelschall.com>

23 years agoMark up IPFIREWALL in .Dv.
dd [Mon, 20 Aug 2001 00:10:42 +0000 (00:10 +0000)]
Mark up IPFIREWALL in .Dv.

23 years agoCapitalize the first word in sentences, and put periods at the end of
dd [Mon, 20 Aug 2001 00:03:01 +0000 (00:03 +0000)]
Capitalize the first word in sentences, and put periods at the end of
sentences.

23 years agoExpand a little on the note about apm_battery. Note that apmd can
dd [Sun, 19 Aug 2001 23:36:49 +0000 (23:36 +0000)]
Expand a little on the note about apm_battery.  Note that apmd can
execute commands when the battery level changes, and point users at
the examples in /etc/apmd.conf since this stuff isn't (yet?)
documented in the manual page.  Also note its MFC.

Submitted by: nsayer

23 years agoAdd some casts.
brian [Sun, 19 Aug 2001 22:23:28 +0000 (22:23 +0000)]
Add some casts.

Not spotted by: FreeBSD's gcc version 2.95.3 20010315 (release)
Spotted by: OpenBSD's gcc version 2.95.3 20010125 (prerelease)

23 years agoAdd a missing % in a format string.
brian [Sun, 19 Aug 2001 22:23:23 +0000 (22:23 +0000)]
Add a missing % in a format string.

Not spotted by: FreeBSD's gcc version 2.95.3 20010315 (release)
Spotted by: OpenBSD's gcc version 2.95.3 20010125 (prerelease)

23 years agoAvoid a compiler warning
brian [Sun, 19 Aug 2001 22:23:22 +0000 (22:23 +0000)]
Avoid a compiler warning

Not spotted by: FreeBSD's gcc version 2.95.3 20010315 (release)
Spotted by: OpenBSD's gcc version 2.95.3 20010125 (prerelease)

23 years agoZap LIBSS
kris [Sun, 19 Aug 2001 21:34:20 +0000 (21:34 +0000)]
Zap LIBSS

23 years agoSay goodbye to libss, which somehow managed to crouch hidden in the tree
kris [Sun, 19 Aug 2001 21:32:52 +0000 (21:32 +0000)]
Say goodbye to libss, which somehow managed to crouch hidden in the tree
for long after it was used.

23 years agoFix logic errors in pthread_cond_wait() and pthread_cond_timedwait() that
jasone [Sun, 19 Aug 2001 20:05:42 +0000 (20:05 +0000)]
Fix logic errors in pthread_cond_wait() and pthread_cond_timedwait() that
could cause deadlock after interruption due to a signal.

Reviewed by: deischen

23 years agoFix ISA machines. Also, make it possible for the new pccardd to run
imp [Sun, 19 Aug 2001 19:16:26 +0000 (19:16 +0000)]
Fix ISA machines.  Also, make it possible for the new pccardd to run
on older kernels correctly.  Terminate the loop when we find a
suitable irq.  Also, only try to select from the pool.  Cleaned up the
two cases (IRQ picked by the user and ?) into one.

MFC upon re approval.

23 years agoRemove the building of a kerberosIV'ed cvs. `make release' has been broken
obrien [Sun, 19 Aug 2001 15:46:10 +0000 (15:46 +0000)]
Remove the building of a kerberosIV'ed cvs.  `make release' has been broken
for the past 9 days!

23 years agoAdd about rewind+errno, describe ESPIPE, minor formatting.
ache [Sun, 19 Aug 2001 08:24:50 +0000 (08:24 +0000)]
Add about rewind+errno, describe ESPIPE, minor formatting.

23 years agoSilence non-constant format string warnings by marking functions
kris [Sun, 19 Aug 2001 08:19:37 +0000 (08:19 +0000)]
Silence non-constant format string warnings by marking functions
as __printflike()/__printf0like(), adding const, or adding missing "%s"
format strings, as appropriate.

MFC after: 2 weeks

23 years agoForced commit to fix last commit message:
imp [Sun, 19 Aug 2001 06:31:53 +0000 (06:31 +0000)]
Forced commit to fix last commit message:
The card can be removed in pcic's ISR.  We don't call the
card's ISR when no card exists.

23 years agoImprove interlocking for card removal. We now can remove the card in
imp [Sun, 19 Aug 2001 05:01:18 +0000 (05:01 +0000)]
Improve interlocking for card removal.  We now can remove the card in
the ISR.  We keep track of the card state and don't call the IRS when
the card isn't inserted.  This helps quite a bit with card ejection
problems that Ian was seeing.

Submitted by: Ian Dowse
MFC upon: re approvel.

23 years agoConstify m_copydata.
julian [Sun, 19 Aug 2001 04:35:28 +0000 (04:35 +0000)]
Constify m_copydata.
this allows constants to be copied without giving errors.
(removes a couple of warning messages in the kernel.)

Note: uipc_mbuf.c is a forced commit as it was accidentally included in another commit.

MFC after: 2 weeks

23 years agoForgot to remove this un-needed test. (M_WAITOK won't fail)
julian [Sun, 19 Aug 2001 04:30:13 +0000 (04:30 +0000)]
Forgot to remove this un-needed test. (M_WAITOK won't fail)
I vaguely remember someone once proving it COULD return NULL..
was that changed?

Reminded by: BDE

MFC after: 2 weeks

23 years agoBetter handling of the return from snprintf
brian [Sat, 18 Aug 2001 22:46:06 +0000 (22:46 +0000)]
Better handling of the return from snprintf

23 years agoBetter handling for the return of snprintf().
brian [Sat, 18 Aug 2001 22:43:11 +0000 (22:43 +0000)]
Better handling for the return of snprintf().

23 years agoIf AF_INET6 isn't available in the kernel, revert to creating AF_INET
brian [Sat, 18 Aug 2001 19:16:56 +0000 (19:16 +0000)]
If AF_INET6 isn't available in the kernel, revert to creating AF_INET
listening sockets in ``set server''.

23 years agoDon't needlessly duplicate what's basically the same copyright.
jake [Sat, 18 Aug 2001 19:09:55 +0000 (19:09 +0000)]
Don't needlessly duplicate what's basically the same copyright.

23 years agoBack out the previous fix to deal with kernels that don't support IPv6,
brian [Sat, 18 Aug 2001 19:07:13 +0000 (19:07 +0000)]
Back out the previous fix to deal with kernels that don't support IPv6,
and implement a far more subtle and correct fix.

The reason behind the infinite loop was that ppp was trying to make up
initial IPv6 numbers and wasn't giving up when it failed unexpectedly to
assign the addresses it just fabricated to it's interface (thinking that
the reason was because another interface was using the same address).
It now attempts this up to 100 times before just failing and trying to
muddle along (in reality, this should never happen more than a couple
of times unless our random number generator doesn't work).

Also, when IPv6 is not available, don't even try to assign the IPv6
interface address in the first place...

23 years agoImplement cpu_wait().
jake [Sat, 18 Aug 2001 18:11:48 +0000 (18:11 +0000)]
Implement cpu_wait().

23 years agoIncrease the size of the phys_avail memory map. Implement pmap_dispose_proc.
jake [Sat, 18 Aug 2001 18:11:13 +0000 (18:11 +0000)]
Increase the size of the phys_avail memory map. Implement pmap_dispose_proc.
Turn some more potentially import functions into nops so we can do stuff
until they matter.

23 years agoSpell ta 1 correctly as ta %xcc, 1. Use %pil for critical enter/exit
jake [Sat, 18 Aug 2001 18:07:37 +0000 (18:07 +0000)]
Spell ta 1 correctly as ta %xcc, 1.  Use %pil for critical enter/exit
instead of pstate.ie.  Note that popc is not implemented in hardware
on certain ultras, so we can't use it for inline ffs (suck).

23 years agoGcc 3.0 requires a .register pseudo-op for certain global registers when
jake [Sat, 18 Aug 2001 18:05:24 +0000 (18:05 +0000)]
Gcc 3.0 requires a .register pseudo-op for certain global registers when
used in assembly language.  Tell it to ignore the registers for now.

23 years agofix typo
julian [Sat, 18 Aug 2001 17:43:29 +0000 (17:43 +0000)]
fix typo

Submitted by: Ian Dowse <iedowse@maths.tcd.ie>

23 years agoExtend comments documenting various supported audio formats and mixer devices.
sobomax [Sat, 18 Aug 2001 15:07:51 +0000 (15:07 +0000)]
Extend comments documenting various supported audio formats and mixer devices.

Reviewed by:    ru, cg
Approved by:    cg
Obtained from:  4Front's OSS Programming Guide
MFC after: 2 weeks

23 years agoClear up what the line "ALL : PARANOID : RFC931 20 : deny" means
dwmalone [Sat, 18 Aug 2001 14:22:52 +0000 (14:22 +0000)]
Clear up what the line "ALL : PARANOID : RFC931 20 : deny" means
to tcp wrappers. The description is a little long, but hopefully
accurate.

23 years agoRun correctly on a machine built without AF_INET6 support
brian [Sat, 18 Aug 2001 13:04:52 +0000 (13:04 +0000)]
Run correctly on a machine built without AF_INET6 support

23 years agoBuild properly with -DNOINET6
brian [Sat, 18 Aug 2001 12:31:54 +0000 (12:31 +0000)]
Build properly with -DNOINET6

23 years agoBuild properly with -DNOIPV6
brian [Sat, 18 Aug 2001 12:30:41 +0000 (12:30 +0000)]
Build properly with -DNOIPV6

23 years agoRemove a blank line that snuck in with the previous commit.
des [Sat, 18 Aug 2001 10:48:55 +0000 (10:48 +0000)]
Remove a blank line that snuck in with the previous commit.
Set the default timeout to 120 seconds instead of 0 (no timeout).

23 years agoImplement compute_stats() in terms of devstat_compute_statistics(). This
ken [Sat, 18 Aug 2001 05:46:59 +0000 (05:46 +0000)]
Implement compute_stats() in terms of devstat_compute_statistics().  This
gets rid of the duplicated code in compute_stats().

Add a new DSM_SKIP statistic type for devstat_compute_statistics() that
causes the subsequent variable argument to be skipped.

Thanks to Sergey Osokin for coding up my idea/code fragment.

Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>

23 years agoUnbreak linux compatibility by providing the correct length of the buffer.
mp [Sat, 18 Aug 2001 04:24:30 +0000 (04:24 +0000)]
Unbreak linux compatibility by providing the correct length of the buffer.

Reported by: "Pierre Y. Dampure" <pierre.dampure@westmarsh.com>,
"Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
Pointy hat to: mp

23 years agoThere is nothing special that requires SSE to be only on 686 class cpus.
peter [Sat, 18 Aug 2001 04:04:45 +0000 (04:04 +0000)]
There is nothing special that requires SSE to be only on 686 class cpus.
This enables 586-only SMP kernels to compile again.

Problem reported by:  Jacek Jedrzejczak <jacol@ids.gda.pl>

23 years agoCorrect path (../crypto, not ../../crypto)
peter [Sat, 18 Aug 2001 03:36:26 +0000 (03:36 +0000)]
Correct path (../crypto, not ../../crypto)

23 years agoSigh. ufs_lookup() calls ffs_snapgone(), meaning that 'options EXT2FS'
peter [Sat, 18 Aug 2001 03:08:48 +0000 (03:08 +0000)]
Sigh.  ufs_lookup() calls ffs_snapgone(), meaning that 'options EXT2FS'
without 'options FFS' would fail to link.

23 years agoOnly compile the ufs components if FFS || IFS || EXT2FS are present, not
peter [Sat, 18 Aug 2001 02:57:25 +0000 (02:57 +0000)]
Only compile the ufs components if FFS || IFS || EXT2FS are present, not
unconditionally.

23 years agoDon't alocate a 400 byte buffer on the stack,
julian [Sat, 18 Aug 2001 02:53:50 +0000 (02:53 +0000)]
Don't alocate a 400 byte buffer on the stack,
Nor 800 bytes of structures..

MFC after: 2 weeks

23 years agoTurn off SMP on Alpha for the time being. There are some memory ordering
jhb [Sat, 18 Aug 2001 01:12:43 +0000 (01:12 +0000)]
Turn off SMP on Alpha for the time being.  There are some memory ordering
issues that can result in panics and probably data corruption on SMP
systems right now.  When they are fixed this can be turned back on.

23 years agoGrab Giant around trapsignal() at the bottom of trap().
jhb [Sat, 18 Aug 2001 01:08:45 +0000 (01:08 +0000)]
Grab Giant around trapsignal() at the bottom of trap().

Reported by: obrien

23 years agoRemove redundant declarations of functions that are declared in
jhb [Sat, 18 Aug 2001 00:57:32 +0000 (00:57 +0000)]
Remove redundant declarations of functions that are declared in
sys/ptrace.h.

23 years agoNew release note: CDROM booting on IBMs.
bmah [Sat, 18 Aug 2001 00:12:23 +0000 (00:12 +0000)]
New release note:  CDROM booting on IBMs.

Reminded by: mp

23 years agoRe-initialize gp after a jsr.
obrien [Fri, 17 Aug 2001 22:54:26 +0000 (22:54 +0000)]
Re-initialize gp after a jsr.

When rtld runs the .fini section in a shared lib (C++), the code in
question from .../contrib/gdb/config/alpha/crtbegin.asm first calls
__do_globals_dtors_aux and then __do_frame_takedown.  Unfortunately, the
value of gp after a jsr is undefined and in this case had changed from before
the call, probably as a result of calling code in some other shared library.
The normal calling convention for alpha is to re-initialize gp using
'ldgp gp,0(ra)' after a jsr instruction but in this case no such
re-initialization is done. This leads to a bogus value being read for the
address of __do_frame_takedown and a quick segfault.

Submitted by:   dfr
Obtained from:  GCC 3.0

23 years agoAdd some comments.
des [Fri, 17 Aug 2001 22:22:45 +0000 (22:22 +0000)]
Add some comments.

23 years agoActuall make plumb work in addition to create as per the manpage.
brooks [Fri, 17 Aug 2001 22:16:11 +0000 (22:16 +0000)]
Actuall make plumb work in addition to create as per the manpage.

PR: bin/29812
Submitted by: Joao Carlos Mendes Luis <jonny@eng05.embratel.net.br>

23 years agoImplement getpeereid(3), a front-end to the LOCAL_PEERCRED
dd [Fri, 17 Aug 2001 22:09:15 +0000 (22:09 +0000)]
Implement getpeereid(3), a front-end to the LOCAL_PEERCRED
socket option for the Unix domain.  It's weaker than the
socket option (this only returns the uid and gid, while the
socket opt. can return the entire group list), and is
implemented mostly for compatibility with OpenBSD.

23 years agoImplement a LOCAL_PEERCRED socket option which returns a
dd [Fri, 17 Aug 2001 22:01:18 +0000 (22:01 +0000)]
Implement a LOCAL_PEERCRED socket option which returns a
`struct xucred` with the credentials of the connected peer.
Obviously this only works (and makes sense) on SOCK_STREAM
sockets.  This works for both the connect(2) and listen(2)
callers.

There is precise documentation of the semantics in unix(4).

Reviewed by: dwmalone (eyeballed)

23 years agoNew release note: SA-01:53.
bmah [Fri, 17 Aug 2001 21:59:13 +0000 (21:59 +0000)]
New release note:  SA-01:53.

23 years agoWhen discussing optimization levels, don't put the compiler options in
dd [Fri, 17 Aug 2001 21:42:15 +0000 (21:42 +0000)]
When discussing optimization levels, don't put the compiler options in
.Op.  None of the other manual pages do it when discussing options in
the main text, so this one shouldn't, either.  Also, use .Pq instead
of another odd constructhyphenation isn't an issue here, since it's
desireable to have the contents of that digression appear together,
and it's already in another macro, anyway).

23 years agoXref raise(3).
dd [Fri, 17 Aug 2001 21:04:42 +0000 (21:04 +0000)]
Xref raise(3).

23 years agoClarify the description string for one of the StrongARM based cards.
scottl [Fri, 17 Aug 2001 20:59:49 +0000 (20:59 +0000)]
Clarify the description string for one of the StrongARM based cards.

23 years agoTroll for MFCs that haven't been marked as such: KERNCONF, an(4)
bmah [Fri, 17 Aug 2001 19:59:25 +0000 (19:59 +0000)]
Troll for MFCs that haven't been marked as such:  KERNCONF, an(4)
support for Aironet 350, ed(4) support for Linksys cards, aac(4),
ssh(1) not SUID, passwd(1)/pw(8) support for passwd_format,
rc(8) deletes non-directories in /var/run and /var/spool/lock,
fmtcheck(3), sshd(8) X11Forwarding, sshd_config MaxStartups
deprecates ConnectionsPerPeriod.

Some of these MFCs are new, others were reflected in 4-STABLE's
release notes already, and still others were MFC-ed before prior
releases.

Relocate dgm->digi release note item to live next to digi.

Relocate an(4)/AIR350 note to be next to another an(4) entry.

Remove a duplicate entry documenting xargs(1) -J.

Port markup fixes:  sysutils/cs9660_unicode, net/pim6dd, net/pim6sd.

23 years agoMarkup nit: Mark some things with <envar> that used be done with
bmah [Fri, 17 Aug 2001 17:36:50 +0000 (17:36 +0000)]
Markup nit:  Mark some things with <envar> that used be done with
<literal> or <varname>.

23 years agoUse a build-tool to create the .mgc files.
obrien [Fri, 17 Aug 2001 17:21:38 +0000 (17:21 +0000)]
Use a build-tool to create the .mgc files.

Submitted by: ru (partial)
Obtained from: NetBSD (basic idea)
Reviewed by: bde, ru

23 years agoNew/updated release notes: maxusers tunable, vidcontrol(1) -h,
bmah [Fri, 17 Aug 2001 17:18:39 +0000 (17:18 +0000)]
New/updated release notes:  maxusers tunable, vidcontrol(1) -h,
tmpname(3) use of TMPDIR.

23 years agoFix style nits.
obrien [Fri, 17 Aug 2001 16:54:09 +0000 (16:54 +0000)]
Fix style nits.

23 years agoRemoved the (possible) ambiguity in /etc/rc.conf comment.
ru [Fri, 17 Aug 2001 16:05:54 +0000 (16:05 +0000)]
Removed the (possible) ambiguity in /etc/rc.conf comment.

PR: bin/29736

23 years agoNew/modified release notes: Update isdn4bsd entry (users must
bmah [Fri, 17 Aug 2001 16:04:01 +0000 (16:04 +0000)]
New/modified release notes:  Update isdn4bsd entry (users must
use ispppcontrol when doing kernel PPP over ISDN), s/Ukranian/Ukrainian/.

MFCs noted:  cdcontrol(1) next/prev, sysctl(8) -N, sysctl(8) -ao/-ax and
-w deprecated, col(1) -p.

23 years agoRemoved comments that simply describe what is seen by ``cvs di -rRELENG_4''
ru [Fri, 17 Aug 2001 15:51:26 +0000 (15:51 +0000)]
Removed comments that simply describe what is seen by ``cvs di -rRELENG_4''
of that file.  (xtp(4) has already been MFC'ed.)

23 years agomdoc(7) police: collapse multiple spaces.
ru [Fri, 17 Aug 2001 15:25:55 +0000 (15:25 +0000)]
mdoc(7) police: collapse multiple spaces.

23 years agomdoc(7) police: fixed the fatal.
ru [Fri, 17 Aug 2001 15:18:49 +0000 (15:18 +0000)]
mdoc(7) police: fixed the fatal.

23 years agoNote that cdrecord is a part of the sysutils/cdrtools port.
bmah [Fri, 17 Aug 2001 15:16:12 +0000 (15:16 +0000)]
Note that cdrecord is a part of the sysutils/cdrtools port.

(While I'm here, change markup for a reference to the net/smbfs
port to use <port></port> tags.)

Submitted by: kris

23 years agoMFS:
bmah [Fri, 17 Aug 2001 15:01:39 +0000 (15:01 +0000)]
MFS:
s/compatability/compatibility/
s/compatable/compatible/
s/behaviour/behavior/

23 years agomdoc(7) police: markup nit.
ru [Fri, 17 Aug 2001 12:26:00 +0000 (12:26 +0000)]
mdoc(7) police: markup nit.

23 years agoThe ports that convert screendumps into text or png called scr2*, not
sobomax [Fri, 17 Aug 2001 11:32:25 +0000 (11:32 +0000)]
The ports that convert screendumps into text or png called scr2*, not
shot2*.

PR:
Submitted by:   Olexander Kunytsa

23 years agoMake source crunches work as well as object crunches; broken in the
joe [Fri, 17 Aug 2001 11:11:10 +0000 (11:11 +0000)]
Make source crunches work as well as object crunches; broken in the
last commit that fixed object crunches.

Repeat after me, "no excuses for not testing".

23 years agoSimplify overflow calculations a bit
ache [Fri, 17 Aug 2001 11:08:56 +0000 (11:08 +0000)]
Simplify overflow calculations a bit

23 years agoRemove extra check, already done in upper level caller, i.e. in
ache [Fri, 17 Aug 2001 10:43:03 +0000 (10:43 +0000)]
Remove extra check, already done in upper level caller, i.e. in
_fseeko()

23 years agoMention ftell & ftello in EOVERFLOW section too.
ache [Fri, 17 Aug 2001 10:29:09 +0000 (10:29 +0000)]
Mention ftell & ftello in EOVERFLOW section too.

23 years agoAdd more overflow checks in case of fseek()
ache [Fri, 17 Aug 2001 10:22:03 +0000 (10:22 +0000)]
Add more overflow checks in case of fseek()

23 years agoDon't clear "we have offset" flag even if long is overflow for fseek(),
ache [Fri, 17 Aug 2001 10:06:46 +0000 (10:06 +0000)]
Don't clear "we have offset" flag even if long is overflow for fseek(),
there is no harm to have it, it will reduce next call efforts.

23 years agofseek.c:
ache [Fri, 17 Aug 2001 09:57:11 +0000 (09:57 +0000)]
fseek.c:
Resulting fseek() offset must fit in long, required by POSIX (pointed by bde),
so add LONG_MAX and final tests for it.

rewind.c:
1) add missing __sinit() as in fseek() it pretends to be.
2) use clearerr_unlocked() since we already lock stream before _fseeko()
3) don't zero errno at the end, it explicitely required by POSIX as the
only one method to test rewind() error condition.
4) don't clearerr() if error happens in _fseeko()