]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoMake the right device entries for atapi disks
luigi [Sun, 18 Feb 2001 06:48:25 +0000 (06:48 +0000)]
Make the right device entries for atapi disks

23 years agoBump version to 0.500 -- not that it means much, but at least
luigi [Sun, 18 Feb 2001 06:46:20 +0000 (06:46 +0000)]
Bump version to 0.500 -- not that it means much, but at least
gives some idea on the age of the source used for the build.

23 years agoSilence -Wnon-const-format
kris [Sun, 18 Feb 2001 04:51:47 +0000 (04:51 +0000)]
Silence -Wnon-const-format

23 years agoRemove the parts of the patch that was committed to the XFree86 port.
obrien [Sun, 18 Feb 2001 04:49:42 +0000 (04:49 +0000)]
Remove the parts of the patch that was committed to the XFree86 port.

23 years agoBack out snprintf -> sprintf change until I have time to look at it.
kris [Sun, 18 Feb 2001 04:07:50 +0000 (04:07 +0000)]
Back out snprintf -> sprintf change until I have time to look at it.

23 years agoResolve conflicts
kris [Sun, 18 Feb 2001 03:23:30 +0000 (03:23 +0000)]
Resolve conflicts

23 years agoThis commit was generated by cvs2svn to compensate for changes in r72613,
kris [Sun, 18 Feb 2001 03:17:36 +0000 (03:17 +0000)]
This commit was generated by cvs2svn to compensate for changes in r72613,
which included commits to RCS files with non-trunk default branches.

23 years agoImport of OpenSSL 0.9.6-STABLE snapshot dated 2001-02-10
kris [Sun, 18 Feb 2001 03:17:36 +0000 (03:17 +0000)]
Import of OpenSSL 0.9.6-STABLE snapshot dated 2001-02-10

23 years agoAdded a dummy lookup vop. Specfs was broken by removing its dummy
bde [Sun, 18 Feb 2001 02:22:58 +0000 (02:22 +0000)]
Added a dummy lookup vop.  Specfs was broken by removing its dummy
lookup vop so that it defaulted to using vop_eopnotsupp for strange
lookups like the ones for open("/dev/null/", ...) and stat("/dev/null/",
...).  This mainly caused the wrong errno to be returned by vfs syscalls
(EOPNOTSUPP is not in POSIX, and is not documented in connection with
specfs in open.2 and is not documented in stat.2 at all).  Also, lookup
vops are apparently required to set *ap->a_vpp to NULL on error, but
vop_eopnotsupp is too broken to do this.

23 years ago120 seconds is not 3 minutes
kris [Sun, 18 Feb 2001 02:11:37 +0000 (02:11 +0000)]
120 seconds is not 3 minutes

23 years agoMake ConnectionsPerPeriod non-fatal for real.
ps [Sun, 18 Feb 2001 01:33:31 +0000 (01:33 +0000)]
Make ConnectionsPerPeriod non-fatal for real.

23 years agoFixed style bug (bloat of a line length past 80 columns) in previous commit.
bde [Sun, 18 Feb 2001 01:26:17 +0000 (01:26 +0000)]
Fixed style bug (bloat of a line length past 80 columns) in previous commit.

23 years agoQuick fix for attempts to free non-malloc()ed memory. The variables
bde [Sun, 18 Feb 2001 01:06:13 +0000 (01:06 +0000)]
Quick fix for attempts to free non-malloc()ed memory.  The variables
current_file_name and current_link_name sometimes point into the
middle of malloc()ed memory and sometimes point to alloca()ed memory,
but free() is sometimes called on them.  This seems to be harmless
for the usual tar operations, but it is usually fatal for `tar -W'.
E.g., for `cd /etc; tar Wcf /tmp/foo rc', at the start of
verify_volume(), current_file_name points to alloca()ed memory, and
tar attempts to free it.

23 years agoLog the console output to "/var/log/console.log", not "/var/log/console"
phk [Sat, 17 Feb 2001 20:27:58 +0000 (20:27 +0000)]
Log the console output to "/var/log/console.log", not "/var/log/console"
(MFC candidate)

23 years agoMFS: getpackagesite() from RELENG_4 that allows the code to be the same.
obrien [Sat, 17 Feb 2001 20:04:41 +0000 (20:04 +0000)]
MFS: getpackagesite() from RELENG_4 that allows the code to be the same.

23 years agoFix tab breakage from last commit.
jlemon [Sat, 17 Feb 2001 19:40:22 +0000 (19:40 +0000)]
Fix tab breakage from last commit.

Spotted by: bde

23 years agoAdd some FreeBSD logo material to the tree:
phk [Sat, 17 Feb 2001 19:14:42 +0000 (19:14 +0000)]
Add some FreeBSD logo material to the tree:

  "FreeBSD.pfa" - the (postscript) font used to write "FreeBSD".
  "beastie.fig" - a 4.3 BSD style Daemon in vector graphic.
  "beastie.eps" - same converted to encapsulated postscript.
  "poster.sh" - an example how to use this stuff.
  "README" - the full story.

23 years agoAdd LC_MESSAGES, LC_MONETARY, and LC_NUMERIC supports to
keith [Sat, 17 Feb 2001 18:45:08 +0000 (18:45 +0000)]
Add LC_MESSAGES, LC_MONETARY, and LC_NUMERIC supports to
both zh_TW.Big5 and zh_CN.EUC locales.

Approved by: ache

23 years agoThis commit was generated by cvs2svn to compensate for changes in r72571,
asmodai [Sat, 17 Feb 2001 15:48:22 +0000 (15:48 +0000)]
This commit was generated by cvs2svn to compensate for changes in r72571,
which included commits to RCS files with non-trunk default branches.

23 years agoVirgin import of ISC BIND v8.2.3-REL docs
asmodai [Sat, 17 Feb 2001 15:48:22 +0000 (15:48 +0000)]
Virgin import of ISC BIND v8.2.3-REL docs

23 years agoRemove old DNS setup document. We have long past the times where
asmodai [Sat, 17 Feb 2001 15:19:00 +0000 (15:19 +0000)]
Remove old DNS setup document.  We have long past the times where
BIND 4 was the thing of the day.

23 years agoCorrect disordering which is corresponding to bde's fix to
ume [Sat, 17 Feb 2001 14:51:11 +0000 (14:51 +0000)]
Correct disordering which is corresponding to bde's fix to
i386/include/ansi.h.

23 years agoCRNCYSTR: determine '.' too
ache [Sat, 17 Feb 2001 11:15:30 +0000 (11:15 +0000)]
CRNCYSTR: determine '.' too

23 years agoMake `cc' and `cpp0' staticly linked binaries in this development version
obrien [Sat, 17 Feb 2001 09:46:41 +0000 (09:46 +0000)]
Make `cc' and `cpp0' staticly linked binaries in this development version
of the OS.

23 years agoMerge rev 1.2 (-fformat-extensions); 1.{7,9} (complain about -O2 on the
obrien [Sat, 17 Feb 2001 09:06:31 +0000 (09:06 +0000)]
Merge rev 1.2 (-fformat-extensions); 1.{7,9} (complain about -O2 on the
Alpha & FORCE_OPTIMIZATION_DOWNGRADE); 1.8 (-Wnon-const-format)
into GCC 2.95.3(RC#3).

23 years agoAdd uk_UA
ache [Sat, 17 Feb 2001 08:35:14 +0000 (08:35 +0000)]
Add uk_UA

Submitted by: Alexander Matey <matey@cis.ohio-state.edu>

23 years agoMerge gcc-2.95.3-test3 changes onto mainline. Bump FreeBSD cc version.
obrien [Sat, 17 Feb 2001 08:35:00 +0000 (08:35 +0000)]
Merge gcc-2.95.3-test3 changes onto mainline. Bump FreeBSD cc version.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r72562,
obrien [Sat, 17 Feb 2001 08:34:50 +0000 (08:34 +0000)]
This commit was generated by cvs2svn to compensate for changes in r72562,
which included commits to RCS files with non-trunk default branches.

23 years agoEnlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #3
obrien [Sat, 17 Feb 2001 08:34:50 +0000 (08:34 +0000)]
Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #3

23 years agoImplement CRNCYSTR
ache [Sat, 17 Feb 2001 07:35:01 +0000 (07:35 +0000)]
Implement CRNCYSTR

23 years agoRevert gensetdefs.pl reversal.
marcel [Sat, 17 Feb 2001 07:26:57 +0000 (07:26 +0000)]
Revert gensetdefs.pl reversal.

23 years agoFixed some style bugs (bogus cloned Id, null overrides of defaults, and
bde [Sat, 17 Feb 2001 06:20:14 +0000 (06:20 +0000)]
Fixed some style bugs (bogus cloned Id, null overrides of defaults, and
the usual style bugs for DPADD/LDADD).

23 years agoRemoved some garbage (genassym(8) and its infrastructure).
bde [Sat, 17 Feb 2001 06:06:14 +0000 (06:06 +0000)]
Removed some garbage (genassym(8) and its infrastructure).

23 years agoFixed unsorting of prototypes in previous commit. Is it too much to
bde [Sat, 17 Feb 2001 05:40:52 +0000 (05:40 +0000)]
Fixed unsorting of prototypes in previous commit.  Is it too much to
ask for 1-line commits to be correctly ordered?

23 years agoFixed unsorting of prototypes in previous commit. Fixed older unsorting.
bde [Sat, 17 Feb 2001 05:35:56 +0000 (05:35 +0000)]
Fixed unsorting of prototypes in previous commit.  Fixed older unsorting.

23 years agoFixed disordering in previous commit. "Fixed" a null comment in previous
bde [Sat, 17 Feb 2001 03:57:38 +0000 (03:57 +0000)]
Fixed disordering in previous commit.  "Fixed" a null comment in previous
commit by removing it.

23 years agoFixed disordering in previous commit.
bde [Sat, 17 Feb 2001 03:49:24 +0000 (03:49 +0000)]
Fixed disordering in previous commit.

23 years agoLimit CHANNEL_B_PRIMARY's effect to twin channel adapters where we can easily
gibbs [Sat, 17 Feb 2001 01:53:22 +0000 (01:53 +0000)]
Limit CHANNEL_B_PRIMARY's effect to twin channel adapters where we can easily
register our sub-busses in the reversed order.  In the future, we may provide
a hint to CAM on how to order the scans for multi-function adapters that also
set this flag, but trying to do it the "twin channel" way will lead to
a panic.

23 years agoExtra needs to be initialized for our usual pool of FILEs. This was
imp [Fri, 16 Feb 2001 21:09:49 +0000 (21:09 +0000)]
Extra needs to be initialized for our usual pool of FILEs.  This was
causing some versions of as to dump core.  This survived make
buildworld/installworld and the building gettext port afterwards.

Submitted by: <nnd@mail.nsk.ru> "N.Dudorov"
Reviewed by: "Daniel M. Eischen" <eischen@vigrid.com>

23 years agoFix an erroneous comment and two style(9) bugs.
archie [Fri, 16 Feb 2001 17:37:31 +0000 (17:37 +0000)]
Fix an erroneous comment and two style(9) bugs.

23 years agoAdd mutexes to the entire bpf subsystem to make it MPSAFE.
jlemon [Fri, 16 Feb 2001 17:10:28 +0000 (17:10 +0000)]
Add mutexes to the entire bpf subsystem to make it MPSAFE.

Previously reviewed by: jhb, bde

23 years agoAllow debugging output to be controlled on a per-syscall granularity.
jlemon [Fri, 16 Feb 2001 16:40:43 +0000 (16:40 +0000)]
Allow debugging output to be controlled on a per-syscall granularity.
Also clean up debugging output in a slightly more uniform fashion.

The default behavior remains the same (all debugging output is turned on)

23 years agoDocument the new -k option in usage message and man page.
des [Fri, 16 Feb 2001 16:28:36 +0000 (16:28 +0000)]
Document the new -k option in usage message and man page.

23 years agoAdd a -k option that prevents clearing the dump after saving it.
des [Fri, 16 Feb 2001 16:27:32 +0000 (16:27 +0000)]
Add a -k option that prevents clearing the dump after saving it.

Use sysctlbyname() instead of sysctl().

Clear up and simplify the version extraction code.

Attempt to detect stretches of zeroes in the dump and avoid writing
them to disk to save space and time.

23 years agoRe-gen auto generated files.
jlemon [Fri, 16 Feb 2001 14:47:24 +0000 (14:47 +0000)]
Re-gen auto generated files.

23 years agoRemove dummy stub functions.
jlemon [Fri, 16 Feb 2001 14:46:16 +0000 (14:46 +0000)]
Remove dummy stub functions.

23 years agoAdd mount syscall to linux emulation. Also improve emulation of reboot.
jlemon [Fri, 16 Feb 2001 14:42:11 +0000 (14:42 +0000)]
Add mount syscall to linux emulation.  Also improve emulation of reboot.

23 years agoIntroduce copyinfrom and copyinstrfrom, which can copy data from either
jlemon [Fri, 16 Feb 2001 14:31:49 +0000 (14:31 +0000)]
Introduce copyinfrom and copyinstrfrom, which can copy data from either
user or kernel space.  This will allow layering of os-compat (e.g.: linux)
system calls.  Apply the changes to mount.

23 years agoAdded pc98 support.
nyan [Fri, 16 Feb 2001 13:30:27 +0000 (13:30 +0000)]
Added pc98 support.

Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>

23 years agoDon't assume bus_space_handle_t == the start address of resource.
nyan [Fri, 16 Feb 2001 13:29:41 +0000 (13:29 +0000)]
Don't assume bus_space_handle_t == the start address of resource.
Use rman_get_start() instead.

23 years agoFix broken -L for short locale names.
ru [Fri, 16 Feb 2001 12:28:30 +0000 (12:28 +0000)]
Fix broken -L for short locale names.

23 years agoSEE ALSO is the special name, and should not be taken in quotes,
ru [Fri, 16 Feb 2001 11:35:39 +0000 (11:35 +0000)]
SEE ALSO is the special name, and should not be taken in quotes,
since -mdoc checks for the "SEE" word only to set its variables.
In the SEE ALSO section, -mdoc automatically emits an empty line
before each new reference.

23 years agomdoc(7) police: sanitize previous commit.
ru [Fri, 16 Feb 2001 11:28:22 +0000 (11:28 +0000)]
mdoc(7) police: sanitize previous commit.

23 years agomdoc(7) police: sanitize previous revision changes.
ru [Fri, 16 Feb 2001 09:05:48 +0000 (09:05 +0000)]
mdoc(7) police: sanitize previous revision changes.

23 years agoFix the current libc breakage in current:
imp [Fri, 16 Feb 2001 06:11:22 +0000 (06:11 +0000)]
Fix the current libc breakage in current:
o Back out the __std* stuff.  Can't figure out how to do this right now,
  so we'll save it for late.
o use _up as a pointer for extra fields that we need to access.
o back out the libc major version bump.

Submitted by: green
reviewed by: peter, imp, green, obrien (to varying degrees).

We'll fix the "how do we stop encoding sizeof(FILE) in binaries" part
later.

23 years agoDocument recently-implemented m_getm().
bmilekic [Fri, 16 Feb 2001 03:23:04 +0000 (03:23 +0000)]
Document recently-implemented m_getm().

23 years agoFix `fstat -m' (show memory-mapped files), which was broken by
iedowse [Thu, 15 Feb 2001 22:42:44 +0000 (22:42 +0000)]
Fix `fstat -m' (show memory-mapped files), which was broken by
revision 1.25. When evaluating the termination condition for the
iteration over all map entries, we must take care to use the kernel
versions of all pointers. The code was comparing a kernel pointer
to a pointer within a local variable, so the loop never terminated.

23 years agoClean up warning.
jlemon [Thu, 15 Feb 2001 22:32:06 +0000 (22:32 +0000)]
Clean up warning.

23 years agoDon't allow special devices of type NODEV (NOUDEV as seen from kernel).
tegge [Thu, 15 Feb 2001 22:26:21 +0000 (22:26 +0000)]
Don't allow special devices of type NODEV (NOUDEV as seen from kernel).
They can't be created via mknod and the kernel crashes if it encounters
such an inode.
Approved by: mckusick

23 years agoDon't depend on lcl_mutex being a recursive mutex.
tegge [Thu, 15 Feb 2001 22:17:04 +0000 (22:17 +0000)]
Don't depend on lcl_mutex being a recursive mutex.

Reviewed by: deischen

23 years agoRemove freelists managed by Balloc/Bfree.
tegge [Thu, 15 Feb 2001 22:12:50 +0000 (22:12 +0000)]
Remove freelists managed by Balloc/Bfree.
Change __dtoa to not free the string it allocated the previous time it was
called.  The caller now frees the string after usage if appropiate.

PR: 15070
Reviewed by: deischen

23 years agoDo not ever try to look into nonexisting locale subdirectories.
ru [Thu, 15 Feb 2001 19:01:41 +0000 (19:01 +0000)]
Do not ever try to look into nonexisting locale subdirectories.

(is_directory() returns -1 if the file does not exist, 1 if it
is a directory or a symlink to a directory, and 0 otherwise.)

23 years agoExtend kqueue down to the device layer.
jlemon [Thu, 15 Feb 2001 16:34:11 +0000 (16:34 +0000)]
Extend kqueue down to the device layer.

Backwards compatible approach suggested by: peter

23 years agoFixed bitrot in synopsis. The Lite2 change from int to u_long for ioctl
bde [Thu, 15 Feb 2001 12:54:34 +0000 (12:54 +0000)]
Fixed bitrot in synopsis.  The Lite2 change from int to u_long for ioctl
command numbers had not reached here.

23 years agoFixed rotted-as-committed pseudo-prototype for VFS_CHECKXP(). It had not
bde [Thu, 15 Feb 2001 12:41:44 +0000 (12:41 +0000)]
Fixed rotted-as-committed pseudo-prototype for VFS_CHECKXP().  It had not
caught up with the changes to avoid storing socket addresses in mbufs,
although the VFS_CHECKEXP() code had to since it was committed 2 years
after those changes.

Fixed formatting in this prototype.

23 years agoFixed bitrot in synopsis (some const poisoning had not reached here).
bde [Thu, 15 Feb 2001 12:27:11 +0000 (12:27 +0000)]
Fixed bitrot in synopsis (some const poisoning had not reached here).

23 years agoApparently, people do not listen for a plea to look into the
ru [Thu, 15 Feb 2001 12:25:48 +0000 (12:25 +0000)]
Apparently, people do not listen for a plea to look into the
README file before making changes here.  Fix them once again.

23 years agoFixed missing and wrong includes in synopsis. The prerequisites for
bde [Thu, 15 Feb 2001 12:21:44 +0000 (12:21 +0000)]
Fixed missing and wrong includes in synopsis.  The prerequisites for
using bus_alloc_resource(), etc., are especially unobvious, but were
especially wrong (<sys/resource.h> has nothing to do with the resources
documented here...).  Order and format the includes as correctly as
possible (a layering violation makes <machine/bus.h> a prerequisite for
<sys/rman.h>).

23 years agoFixed missing include in synopsis.
bde [Thu, 15 Feb 2001 11:58:38 +0000 (11:58 +0000)]
Fixed missing include in synopsis.

Added evil #define of ACCEPT_FILTER_MODULE to synopsis.  Some of
the functions defined in this man page aren't declared unless
ACCEPT_FILTER_MOD is defined before including <sys/socketvar.h>.

23 years agoFixed missing and/or wrong and/or extra includes in synopsis.
bde [Thu, 15 Feb 2001 11:47:31 +0000 (11:47 +0000)]
Fixed missing and/or wrong and/or extra includes in synopsis.

23 years agoInclude <sys/cdefs.h> so that this file is self-sufficient.
bde [Thu, 15 Feb 2001 11:35:55 +0000 (11:35 +0000)]
Include <sys/cdefs.h> so that this file is self-sufficient.

Protect hand-formatted comments from indent(1).  Don't bogusly forward-
declare `struct proc'.  Fixed some other style bugs.

23 years agoCorrect 2nd argument of getnameinfo(3) to socklen_t.
ume [Thu, 15 Feb 2001 10:35:55 +0000 (10:35 +0000)]
Correct 2nd argument of getnameinfo(3) to socklen_t.

Reviewed by: itojun

23 years agoFixed the fatal (missing "..").
ru [Thu, 15 Feb 2001 10:34:43 +0000 (10:34 +0000)]
Fixed the fatal (missing "..").

Pointy hat to: asmodai

23 years agomdoc(7) police: normalize the construct.
ru [Thu, 15 Feb 2001 08:36:20 +0000 (08:36 +0000)]
mdoc(7) police: normalize the construct.

23 years agoCorrect typo.
grog [Thu, 15 Feb 2001 07:48:28 +0000 (07:48 +0000)]
Correct typo.

Submitted by: "James and Amanda" <jhar2gthr@yahoo.com> (well, ~James, anyway).

Of necessity add $FreeBSD$.

Required by: Precommit checks.

23 years agoManually run /usr/sbin/sendmail -q once a day. Folks seem to be too
peter [Thu, 15 Feb 2001 01:34:37 +0000 (01:34 +0000)]
Manually run /usr/sbin/sendmail -q once a day.  Folks seem to be too
trigger happy and turn off sendmail_enable entirely (instead of setting
sendmail_flags to -q30m instead).  I have seen boxes with things like daily
run reports that have sat in mailq for 5 months.  Since /usr/sbin/sendmail
is actually mailwrapper, this should be safe for the other plugins that
provide the sendmail calling interface.

23 years agoAdd {yes,no}str translations
ache [Wed, 14 Feb 2001 23:34:44 +0000 (23:34 +0000)]
Add {yes,no}str translations

Submitted by: Panagiotis Astithas <past@netmode.ntua.gr>

23 years agoWork around the p_comm[] size limit. If the user supplies more than
peter [Wed, 14 Feb 2001 21:56:03 +0000 (21:56 +0000)]
Work around the p_comm[] size limit.  If the user supplies more than
16 characters, only check the first 16 since that is all the kernel
records.  This isn't ideal, but it is probably the best we can do.
Otherwise, "killall communicator-linux-4.76.bin" will not match
the process as the kernel only records "communicator-lin".

23 years agoList the SA_RESTART flag rather than burying it in another paragraph.
peter [Wed, 14 Feb 2001 21:46:07 +0000 (21:46 +0000)]
List the SA_RESTART flag rather than burying it in another paragraph.

23 years agoOnly build the compat libs appropiate for the target machine.
obrien [Wed, 14 Feb 2001 20:49:54 +0000 (20:49 +0000)]
Only build the compat libs appropiate for the target machine.

23 years agoFix a "make world"-breaking inconsistency for those folks making
markm [Wed, 14 Feb 2001 19:54:36 +0000 (19:54 +0000)]
Fix a "make world"-breaking inconsistency for those folks making
a world with both KRB4 and KRB5.

23 years agoPrevious commit should have read:
markm [Wed, 14 Feb 2001 19:50:42 +0000 (19:50 +0000)]
Previous commit should have read:

Fix "make world" for those folks building world with KRB5

23 years agoFix make world.
markm [Wed, 14 Feb 2001 19:48:51 +0000 (19:48 +0000)]
Fix make world.

23 years agoFix build, and make parallel build much more robust.
markm [Wed, 14 Feb 2001 19:47:24 +0000 (19:47 +0000)]
Fix build, and make parallel build much more robust.

23 years agoDo not coredump if no options are supplied. (ps -o,)
jlemon [Wed, 14 Feb 2001 18:54:34 +0000 (18:54 +0000)]
Do not coredump if no options are supplied.  (ps -o,)

Submitted by: rgrimes
Obtained from: NetBSD

23 years agoIf both full-locale-name and short-locale-name searches
ru [Wed, 14 Feb 2001 16:31:08 +0000 (16:31 +0000)]
If both full-locale-name and short-locale-name searches
fail, look the manpage in the en.<charset> subdirectory.

See the manpage for details.

Suggested by: ache

23 years agoFix grammar nit in previous commit.
sheldonh [Wed, 14 Feb 2001 15:03:20 +0000 (15:03 +0000)]
Fix grammar nit in previous commit.

23 years agoAdd definitions for IPPROTO numbers 55-57.
asmodai [Wed, 14 Feb 2001 13:51:20 +0000 (13:51 +0000)]
Add definitions for IPPROTO numbers 55-57.

23 years agoFix another typo I missed on first reading:
asmodai [Wed, 14 Feb 2001 13:24:01 +0000 (13:24 +0000)]
Fix another typo I missed on first reading:
insersion -> insertion

23 years agoFix typo and comma placement.
asmodai [Wed, 14 Feb 2001 13:16:21 +0000 (13:16 +0000)]
Fix typo and comma placement.

23 years agoBackout 1.38->1.41 (functional) changes pending the proper solution.
ru [Wed, 14 Feb 2001 13:16:16 +0000 (13:16 +0000)]
Backout 1.38->1.41 (functional) changes pending the proper solution.
/usr/share/man/cat? is only allowed to store -Tascii formatted data.

Requested by: ache

23 years agoAdd {yes,no}str translation
ache [Wed, 14 Feb 2001 12:17:10 +0000 (12:17 +0000)]
Add {yes,no}str translation

Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>

23 years ago1. Disable the recognition of the last dot character in the
ru [Wed, 14 Feb 2001 11:03:06 +0000 (11:03 +0000)]
1.  Disable the recognition of the last dot character in the
default .Ar argument as an end-of-sentence character.

Example:
    .Ar
    foo
Produced:
    file ...  foo
Now produces:
    file ... foo

2.  Fixed an off-by-one bug in the .It macro for the -hang lists.

Example:
    .Bl -hang -width 8n -compact
    .It 1234
    OK
    .It 1234567
    OK
    .It 12345678
    BUG
    .El
Produced:
     1234      OK
     1234567   OK
     12345678 BUG
Now produces:
     1234      OK
     1234567   OK
     12345678  BUG

Ported from: mdocNG

23 years agomdoc(7) police: replace -hang list with the -tag list,
ru [Wed, 14 Feb 2001 10:14:35 +0000 (10:14 +0000)]
mdoc(7) police: replace -hang list with the -tag list,
add missing .Xo/.Xc to the tags.  This only worked due
to the off-by-one bug in the -hang lists, which I will
hopefully backport from the mdocNG shortly.

23 years agomdoc(7) police: simplify construct.
ru [Wed, 14 Feb 2001 09:56:37 +0000 (09:56 +0000)]
mdoc(7) police: simplify construct.

23 years agoAdd include <sys/time.h> because kevent uses struct timespec
guido [Wed, 14 Feb 2001 08:48:35 +0000 (08:48 +0000)]
Add include <sys/time.h> because kevent uses struct timespec

23 years agoo Fix spellign in a comment: s/referernce/reference/
rwatson [Wed, 14 Feb 2001 06:53:57 +0000 (06:53 +0000)]
o Fix spellign in a comment: s/referernce/reference/

23 years agoImplement m_getm() which will perform an "all or nothing" mbuf + cluster
bmilekic [Wed, 14 Feb 2001 05:13:04 +0000 (05:13 +0000)]
Implement m_getm() which will perform an "all or nothing" mbuf + cluster
allocation, as required.

If m_getm() receives NULL as a first argument, then it allocates `len'
(second argument) bytes worth of mbufs + clusters and returns the chain
only if it was able to allocate everything.
If the first argument is non-NULL, then it should be an existing mbuf
chain (e.g. pre-allocated mbuf sitting on a ring, on some list, etc.) and
so it will allocate `len' bytes worth of clusters and mbufs, as needed,
and append them to the tail of the passed in chain, only if it was able
to allocate everything requested.

If allocation fails, only what was allocated by the routine will be freed,
and NULL will be returned.

Also, get rid of existing m_getm() in netncp code and replace calls to it
to calls to this new generic code.

Heavily Reviewed by: bp

23 years agoCommit a libc fix going by the current state of the version numbering
peter [Wed, 14 Feb 2001 05:00:20 +0000 (05:00 +0000)]
Commit a libc fix going by the current state of the version numbering
bikeshed in -arch.  It isn't quite over, but it has been well established
that this can be adjusted or refined.  But we do seem to have consensis
on a major bump of some sort.  After this, it should reasonably safe
to build world again.

This change is to get rid of __sF[] and use seperate __stdin/out/err
handles.  This means we can pad on extra bits onto the end of FILE
at will without going through this all over again.  __sF[] was evil
because it compiled the sizeof(FILE) into every stdio using program.

Asbestos suit on: check!
Peril sensitive sunglasses on: check!
*gulp!*

23 years agoReturn ECONNABORTED from accept if connection is closed while on the
jlemon [Wed, 14 Feb 2001 02:09:11 +0000 (02:09 +0000)]
Return ECONNABORTED from accept if connection is closed while on the
listen queue, as well as the current behavior of a zero-length sockaddr.

Obtained from: KAME
Reviewed by: -net