dragonfly.git
18 years agoFix a bug introduced by 1.6. The 'cp' pointer was being incremented twice
Matthew Dillon [Wed, 10 Aug 2005 00:43:37 +0000 (00:43 +0000)]
Fix a bug introduced by 1.6.  The 'cp' pointer was being incremented twice
in getanswer() for each NS_GET*() call because the new macro used already does
an increment.  This prevented sendmail (and any program using the res_query
mechanism) from operating properly.

18 years agoUse Var_SetGlobal() instead of Var_Set(XX,YY, VAR_GLOBAL)
Max Okumoto [Tue, 9 Aug 2005 23:34:07 +0000 (23:34 +0000)]
Use Var_SetGlobal() instead of Var_Set(XX,YY, VAR_GLOBAL)

18 years agoFix a bug in the last commit. When using the UFS dirent directly,
Matthew Dillon [Tue, 9 Aug 2005 23:10:11 +0000 (23:10 +0000)]
Fix a bug in the last commit.  When using the UFS dirent directly,
the inode field is d_ino, not d_filenum.

18 years agoRemove Hitler quotes. This for sure is something I don't want to see.
Simon Schubert [Tue, 9 Aug 2005 22:55:04 +0000 (22:55 +0000)]
Remove Hitler quotes.  This for sure is something I don't want to see.

Having entertaining quotes of somebody who was responsible for genocide
does not honour the gravity of the incidents.

18 years agoPass the direction to kern_getdirentries, it will be used by the
Joerg Sonnenberger [Tue, 9 Aug 2005 20:14:16 +0000 (20:14 +0000)]
Pass the direction to kern_getdirentries, it will be used by the
emulation layer soon without transfering the data to userland first.

18 years agoJust expect either the kernel or libc to drop empty dirents.
Joerg Sonnenberger [Tue, 9 Aug 2005 20:05:55 +0000 (20:05 +0000)]
Just expect either the kernel or libc to drop empty dirents.

18 years agoWhen allocating memory for the index file, query the filesystem for the
Joerg Sonnenberger [Tue, 9 Aug 2005 19:26:59 +0000 (19:26 +0000)]
When allocating memory for the index file, query the filesystem for the
maximum entry name first and use that.

18 years agofsfind should use direct here, not dirent.
Joerg Sonnenberger [Tue, 9 Aug 2005 19:19:08 +0000 (19:19 +0000)]
fsfind should use direct here, not dirent.

18 years agoUse vn_get_namelen to provide correct f_namemax field.
Joerg Sonnenberger [Tue, 9 Aug 2005 18:48:43 +0000 (18:48 +0000)]
Use vn_get_namelen to provide correct f_namemax field.

18 years agoDon't hide errors from kern_statfs by overwriting error, check if it was
Joerg Sonnenberger [Tue, 9 Aug 2005 18:45:09 +0000 (18:45 +0000)]
Don't hide errors from kern_statfs by overwriting error, check if it was
successful first.

18 years agoKill stackgap in (f)statvfs(64).
Joerg Sonnenberger [Tue, 9 Aug 2005 18:26:27 +0000 (18:26 +0000)]
Kill stackgap in (f)statvfs(64).

18 years agoUse vn_get_namelen to reduce bogusnes.
Joerg Sonnenberger [Tue, 9 Aug 2005 18:14:26 +0000 (18:14 +0000)]
Use vn_get_namelen to reduce bogusnes.

18 years agoActually install lesspipe.sh
Simon Schubert [Tue, 9 Aug 2005 18:08:42 +0000 (18:08 +0000)]
Actually install lesspipe.sh

18 years agoAdd vn_get_namelen to simplify correct emulation of statfs with maximum
Joerg Sonnenberger [Tue, 9 Aug 2005 16:53:34 +0000 (16:53 +0000)]
Add vn_get_namelen to simplify correct emulation of statfs with maximum
name length field.

Discussed-with: hmp

18 years agoPort a major reworking of the way IPS driver commands are managed from
Matthew Dillon [Tue, 9 Aug 2005 16:23:13 +0000 (16:23 +0000)]
Port a major reworking of the way IPS driver commands are managed from
FreeBSD.

Submitted-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
Testing-by: =?ISO-8859-2?Q?Toma=BE_Bor=B9tnar?= <tomaz.borstnar@amis.net>
18 years agoWhitespace cleanup.
Hiten Pandya [Tue, 9 Aug 2005 05:11:42 +0000 (05:11 +0000)]
Whitespace cleanup.

18 years agoMake a few PRINTF lines readable, break them up if necessary.
Hiten Pandya [Tue, 9 Aug 2005 02:49:49 +0000 (02:49 +0000)]
Make a few PRINTF lines readable, break them up if necessary.

18 years agoChange return type of CompatMake() to void since no one uses it and it
Max Okumoto [Mon, 8 Aug 2005 20:52:45 +0000 (20:52 +0000)]
Change return type of CompatMake() to void since no one uses it and it
always returns zero anyway.

18 years agoUse NAME_MAX instead of MAXNAMLEN. Cast ino_t to uint64_t + proper
Joerg Sonnenberger [Mon, 8 Aug 2005 18:58:56 +0000 (18:58 +0000)]
Use NAME_MAX instead of MAXNAMLEN. Cast ino_t to uint64_t + proper
format specifier in a snprintf.

18 years agoUse NAME_MAX instead of MAXNAMELEN, replace a strncpy with strlcpy.
Joerg Sonnenberger [Mon, 8 Aug 2005 18:36:28 +0000 (18:36 +0000)]
Use NAME_MAX instead of MAXNAMELEN, replace a strncpy with strlcpy.

18 years agoMake it actually compile without warnings.
Joerg Sonnenberger [Mon, 8 Aug 2005 18:14:31 +0000 (18:14 +0000)]
Make it actually compile without warnings.

18 years agoCleanup Job_CheckCommands()
Max Okumoto [Mon, 8 Aug 2005 17:33:17 +0000 (17:33 +0000)]
Cleanup Job_CheckCommands()

18 years agoRemove stale comment about vm_mem_init's arguments.
Hiten Pandya [Mon, 8 Aug 2005 17:14:33 +0000 (17:14 +0000)]
Remove stale comment about vm_mem_init's arguments.

18 years agoMatch "." and ".." with strcmp.
Joerg Sonnenberger [Mon, 8 Aug 2005 17:06:18 +0000 (17:06 +0000)]
Match "." and ".." with strcmp.

18 years agoMove the bswlist symbol into vm/vm_pager.c because PBUFs are the only
Hiten Pandya [Mon, 8 Aug 2005 16:53:12 +0000 (16:53 +0000)]
Move the bswlist symbol into vm/vm_pager.c because PBUFs are the only
consumer of the latter.

The PBUF abstraction is just a clever hack, this code will be redone
at some point so this measure is temporary.

18 years agoUse NAME_MAX instead of MAXNAMLEN and strlcpy, since dp->d_name is
Joerg Sonnenberger [Mon, 8 Aug 2005 16:49:48 +0000 (16:49 +0000)]
Use NAME_MAX instead of MAXNAMLEN and strlcpy, since dp->d_name is
NUL-terminated.

18 years agoBoth file and dp->d_name are NUL-terminated, so it pointless to first
Joerg Sonnenberger [Mon, 8 Aug 2005 16:43:33 +0000 (16:43 +0000)]
Both file and dp->d_name are NUL-terminated, so it pointless to first
run strlen, compare the size and do a strncmp afterwards -- just strcmp.

18 years agoMAXNAMELEN ==> PATH_MAX
Joerg Sonnenberger [Mon, 8 Aug 2005 16:39:17 +0000 (16:39 +0000)]
MAXNAMELEN ==> PATH_MAX

18 years agoDon't match entries by hand, just use strcmp. It is efficient enough for
Joerg Sonnenberger [Mon, 8 Aug 2005 16:17:04 +0000 (16:17 +0000)]
Don't match entries by hand, just use strcmp. It is efficient enough for
"." and "..".

18 years agoDon't check for zero-length direntries, expect the system to handle
Joerg Sonnenberger [Mon, 8 Aug 2005 15:25:42 +0000 (15:25 +0000)]
Don't check for zero-length direntries, expect the system to handle
that. Just strdup the dirent_name.

18 years agoInstead of MAXNAMELEN, use NAME_MAX for now. This should be revisited
Joerg Sonnenberger [Mon, 8 Aug 2005 13:38:49 +0000 (13:38 +0000)]
Instead of MAXNAMELEN, use NAME_MAX for now. This should be revisited
latter to allocate the entry dynamically. Add CVS id.

18 years agoInstead of trying to compute the local storage based on maximum entry
Joerg Sonnenberger [Mon, 8 Aug 2005 13:00:12 +0000 (13:00 +0000)]
Instead of trying to compute the local storage based on maximum entry
size, use PATH_MAX. The former might get variable, the latter is more
likely to stay constant for a while.

18 years agoAdd minimal utility that is able to make sense of the per-cpu load
Hiten Pandya [Mon, 8 Aug 2005 03:31:00 +0000 (03:31 +0000)]
Add minimal utility that is able to make sense of the per-cpu load
accounting struct kinfo_cputime, or previously known as 'cputime'.

It should reside under src/test because it is not complete and only
implements the base logic for those people interested who want to
incorporate this code into top(1) or some other accounting program
of their own.

--
Polish the 'Makefile' while I am around this end of the source tree.

18 years ago_PC_NAME_MAX is NAME_MAX, so use that for the storage allocation as
Joerg Sonnenberger [Mon, 8 Aug 2005 02:01:31 +0000 (02:01 +0000)]
_PC_NAME_MAX is NAME_MAX, so use that for the storage allocation as
well.

18 years agoisab_attach() is called from acpi_isab_attach(), so it's supposed to
YONETANI Tomokazu [Mon, 8 Aug 2005 01:47:21 +0000 (01:47 +0000)]
isab_attach() is called from acpi_isab_attach(), so it's supposed to
be a non-static function.

18 years agoBUF/BIO cleanup 7/99:
Hiten Pandya [Mon, 8 Aug 2005 01:25:31 +0000 (01:25 +0000)]
BUF/BIO cleanup 7/99:

First attempt at separating low-level information from BUF structure into
the new BIO structure.  The latter will be used to represent the actual
I/O underlying the buffer cache, other subsystems and device drivers.

Other information from the BUF structure will be moved eventually once
their place in the grand scheme is determined.  For now, preprocess macros
have been added to reduce widespread changes; this is a temporary measure
by all means until more of the BIO and BUF API is formalised.

Remove compatibility preprocessor macros in the AAC driver because our
BUF/BIO system is mutating; not to mention they were getting in the way.

NB the name BIO has been used because it's quite appropriate and known
among kernel developers from other operating system groups, be it BSD or
Linux.

This change should not have any operational affect (famous last words).

Reviewed by: Matthew Dillon <dillon@dragonflybsd.org>

18 years agoReimport devlist2h.awk from FreeBSD, this version actually works. It
Joerg Sonnenberger [Sun, 7 Aug 2005 22:43:17 +0000 (22:43 +0000)]
Reimport devlist2h.awk from FreeBSD, this version actually works. It
also allows proper dependency handling in Makefile.usbdevs by separating
the output via options. Regen with the new script.

18 years agoMove up CVS IDs, first must be DragonFly.
Joerg Sonnenberger [Sun, 7 Aug 2005 22:37:54 +0000 (22:37 +0000)]
Move up CVS IDs, first must be DragonFly.

18 years agoA better description for 'debug.sizeof' sysctl.
Hiten Pandya [Sun, 7 Aug 2005 22:11:53 +0000 (22:11 +0000)]
A better description for 'debug.sizeof' sysctl.

18 years agoAdd ethernet port of JVC MP-PRX1.
Joerg Sonnenberger [Sun, 7 Aug 2005 21:49:15 +0000 (21:49 +0000)]
Add ethernet port of JVC MP-PRX1.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Obtained-from: FreeBSD

18 years agoRemove redundant assignment.
Joerg Sonnenberger [Sun, 7 Aug 2005 19:16:15 +0000 (19:16 +0000)]
Remove redundant assignment.

18 years agoDon't depend on struct dirent == struct direct, but fully separate the
Joerg Sonnenberger [Sun, 7 Aug 2005 17:08:38 +0000 (17:08 +0000)]
Don't depend on struct dirent == struct direct, but fully separate the
processing. The code is derived from ext2's readdir.

18 years agoANSIfy.
Joerg Sonnenberger [Sun, 7 Aug 2005 15:43:02 +0000 (15:43 +0000)]
ANSIfy.

18 years agoIt's actually 11 minutes when the machine is assumed to be down and removed
Liam J. Foy [Sun, 7 Aug 2005 10:36:41 +0000 (10:36 +0000)]
It's actually 11 minutes when the machine is assumed to be down and removed
from the output.

18 years agoRemove trailing /.
Jeroen Ruigrok/asmodai [Sun, 7 Aug 2005 08:40:42 +0000 (08:40 +0000)]
Remove trailing /.

18 years agoCleanup some lint warnings.
Max Okumoto [Sun, 7 Aug 2005 08:16:52 +0000 (08:16 +0000)]
Cleanup some lint warnings.
o Removed coma after last enum.
o Removed unused include of hash.h
o Removed unused forward declaration of struct List.

18 years agoBUF/BIO cleanup 6/99:
Hiten Pandya [Sun, 7 Aug 2005 03:28:50 +0000 (03:28 +0000)]
BUF/BIO cleanup 6/99:

Move 'bogus_offset' variable into bufinit(), it is not used anywhere out
of the said function.

18 years agoAdd 'debug.sizeof.buf' sysctl for determining size of struct buf on a
Hiten Pandya [Sun, 7 Aug 2005 03:17:37 +0000 (03:17 +0000)]
Add 'debug.sizeof.buf' sysctl for determining size of struct buf on a
system.

Declare the _debug_sizeof sysctl in sys/sysctl.h instead of redundantly
declaring in two files.

18 years agoAdd rman_set_device.
Joerg Sonnenberger [Sun, 7 Aug 2005 00:31:31 +0000 (00:31 +0000)]
Add rman_set_device.

Inspired-by: FreeBSD
18 years agoFix bug where commands deferred using "..." where being executed
Max Okumoto [Sat, 6 Aug 2005 21:47:59 +0000 (21:47 +0000)]
Fix bug where commands deferred using "..." where being executed
after .END: commands.

18 years agoClarify examples by differentiating between literals and arguments.
Chris Pressey [Sat, 6 Aug 2005 20:18:55 +0000 (20:18 +0000)]
Clarify examples by differentiating between literals and arguments.

18 years agorev 1.21 has left namei.9 by itself, resulting in wrong pairs
YONETANI Tomokazu [Sat, 6 Aug 2005 19:20:38 +0000 (19:20 +0000)]
rev 1.21 has left namei.9 by itself, resulting in wrong pairs
of hardlink targets.
while I'm here, remove one of duplicate MLINKS entries for rman_fini.9 .

18 years agoAdd SYSCTL_NODE_CHILDREN.
Joerg Sonnenberger [Sat, 6 Aug 2005 17:57:59 +0000 (17:57 +0000)]
Add SYSCTL_NODE_CHILDREN.

Obtained-from: FreeBSD

18 years agoFix forgotten comma from last commit.
Sascha Wildner [Sat, 6 Aug 2005 13:34:14 +0000 (13:34 +0000)]
Fix forgotten comma from last commit.

18 years agoRemove the old namei(9) man page and make namei(9) a link to nlookup(9).
Sascha Wildner [Sat, 6 Aug 2005 13:20:56 +0000 (13:20 +0000)]
Remove the old namei(9) man page and make namei(9) a link to nlookup(9).

18 years agoClean up copyright notice and remove reference to comments.
Sascha Wildner [Sat, 6 Aug 2005 13:14:21 +0000 (13:14 +0000)]
Clean up copyright notice and remove reference to comments.

18 years agoAdd nlookup(9) man page.
Sascha Wildner [Sat, 6 Aug 2005 12:42:42 +0000 (12:42 +0000)]
Add nlookup(9) man page.

18 years agoUpdate copyright notice. Use standard DF copyright.
Hiten Pandya [Sat, 6 Aug 2005 12:09:30 +0000 (12:09 +0000)]
Update copyright notice.  Use standard DF copyright.

18 years agoRemove NDINIT(9) link again. The old API was removed on 2004/11/12.
Sascha Wildner [Sat, 6 Aug 2005 11:36:13 +0000 (11:36 +0000)]
Remove NDINIT(9) link again. The old API was removed on 2004/11/12.

18 years agoGlobal .Nm vs. MLINKS cleanup:
Sascha Wildner [Fri, 5 Aug 2005 23:43:19 +0000 (23:43 +0000)]
Global .Nm vs. MLINKS cleanup:

* Add missing MLINKS.

* Fix MLINKS for rtld(1).

* Remove suser_xxx(9) man page.

* Remove archive_entry_uname_w(3) and archive_entry_gname_w(3) links
  (these functions don't exist).

* Fix typo in lib/libc/db/man/Makefile.inc and remove mis-spelled
  dbm_dirnfo(3) link.

18 years agoFix typo from the last commit.
Sascha Wildner [Fri, 5 Aug 2005 23:22:23 +0000 (23:22 +0000)]
Fix typo from the last commit.

18 years agoGet rid of the Byte typedef and just use char. This gets rid of alot
Max Okumoto [Fri, 5 Aug 2005 22:42:12 +0000 (22:42 +0000)]
Get rid of the Byte typedef and just use char.  This gets rid of alot
of casts.

CVS ----------------------------------------------------------------------

18 years agoOnly one name per .Nm macro for better readability.
Sascha Wildner [Fri, 5 Aug 2005 22:35:11 +0000 (22:35 +0000)]
Only one name per .Nm macro for better readability.

18 years agoFix typos: CIRCLE_* -> CIRCLEQ_*
Sascha Wildner [Fri, 5 Aug 2005 21:49:22 +0000 (21:49 +0000)]
Fix typos: CIRCLE_* -> CIRCLEQ_*

18 years agoFix typo.
Sascha Wildner [Fri, 5 Aug 2005 21:45:46 +0000 (21:45 +0000)]
Fix typo.

18 years agoLink to the real file.
Sascha Wildner [Fri, 5 Aug 2005 18:01:16 +0000 (18:01 +0000)]
Link to the real file.

18 years agoMention the shell builtin.
Sascha Wildner [Fri, 5 Aug 2005 17:50:50 +0000 (17:50 +0000)]
Mention the shell builtin.

18 years agoFix man page and variable references.
Sascha Wildner [Fri, 5 Aug 2005 16:08:28 +0000 (16:08 +0000)]
Fix man page and variable references.

18 years agoFix man page reference: tcpdump(8) -> tcpdump(1).
Sascha Wildner [Fri, 5 Aug 2005 15:35:53 +0000 (15:35 +0000)]
Fix man page reference: tcpdump(8) -> tcpdump(1).

18 years agoRemove man page for PicoBSD which was removed on 2004/11/15.
Sascha Wildner [Fri, 5 Aug 2005 15:19:35 +0000 (15:19 +0000)]
Remove man page for PicoBSD which was removed on 2004/11/15.

18 years agoFix man page cross references.
Sascha Wildner [Fri, 5 Aug 2005 14:56:59 +0000 (14:56 +0000)]
Fix man page cross references.

18 years agoRemove drivers.conf(5) man page. The file was removed on 2004/11/15.
Sascha Wildner [Fri, 5 Aug 2005 10:13:43 +0000 (10:13 +0000)]
Remove drivers.conf(5) man page. The file was removed on 2004/11/15.

18 years agoFix cross reference: makewhatis(1) -> makewhatis(8).
Sascha Wildner [Fri, 5 Aug 2005 09:47:55 +0000 (09:47 +0000)]
Fix cross reference: makewhatis(1) -> makewhatis(8).

18 years agoBUF/BIO cleanup 5/99:
Hiten Pandya [Fri, 5 Aug 2005 04:54:42 +0000 (04:54 +0000)]
BUF/BIO cleanup 5/99:

Cleanup and document the buffer cache sysctls.  The 'getnewbufrestarts',
'getnewbufcalls', 'bufdefragcnt', 'buffreekvacnt' and 'bufreusecnt' are
now changed to be read-only sysctls.  Group them depending on whether
they are writable or not.

Correct, extend and write documentation for various functions in this
file.

Correct typos in various code comments and adjust nearby style issue.

18 years agoDocument non-obvious behaviour of missing 'a' line in fdisk script.
Chris Pressey [Thu, 4 Aug 2005 22:15:07 +0000 (22:15 +0000)]
Document non-obvious behaviour of missing 'a' line in fdisk script.

Thanks-to: pfSense testers

18 years agoBUF/BIO cleanup 4/99:
Hiten Pandya [Thu, 4 Aug 2005 21:08:35 +0000 (21:08 +0000)]
BUF/BIO cleanup 4/99:

Garbage-collect physio_proc_{enter,leave,init} because these functions
only existed for PC-98 compatibility reasons.  This commit is a NOP
and shouldn't make any operational difference.

The purpose of those functions was totally redundant, it just kept a
copy of buf->b_proc and other fields in a separately maintained TAILQ
list called physio_proc_head and physio_proc_feet corresponding to
physio_proc_enter/leave respectively.

The stub definitions and the machine/physio_proc.h header file will
disappear after the drivers using these functions are cleaned up.

18 years agoRemove crossrefs to non-existant usb(3) man page.
Sascha Wildner [Thu, 4 Aug 2005 21:06:32 +0000 (21:06 +0000)]
Remove crossrefs to non-existant usb(3) man page.

18 years agoFix man page cross reference.
Sascha Wildner [Thu, 4 Aug 2005 20:45:57 +0000 (20:45 +0000)]
Fix man page cross reference.

18 years ago- If at least one call to onehost() fails, return 1
Liam J. Foy [Thu, 4 Aug 2005 18:21:25 +0000 (18:21 +0000)]
- If at least one call to onehost() fails, return 1

Ok: joerg

18 years agoRemove some register keywords and add in some missing $DragonFly$ tags.
David Rhodus [Thu, 4 Aug 2005 17:31:23 +0000 (17:31 +0000)]
Remove some register keywords and add in some missing $DragonFly$ tags.

18 years agoANSI-fy some functions, remove some duplicate CVS tags and add in some
David Rhodus [Thu, 4 Aug 2005 17:27:09 +0000 (17:27 +0000)]
ANSI-fy some functions, remove some duplicate CVS tags and add in some
missging $DragonFly$ tags.

18 years agoInitialize buf->b_iodone to NULL during bufinit(9) stage.
Hiten Pandya [Thu, 4 Aug 2005 16:44:37 +0000 (16:44 +0000)]
Initialize buf->b_iodone to NULL during bufinit(9) stage.

Use NULL instead of 0 for assigning to pointers.

18 years agoRemove unused include of sys/dirent.h.
Joerg Sonnenberger [Thu, 4 Aug 2005 16:44:12 +0000 (16:44 +0000)]
Remove unused include of sys/dirent.h.

18 years agoPut unused flag space definitions back to their original position in
Hiten Pandya [Thu, 4 Aug 2005 16:28:30 +0000 (16:28 +0000)]
Put unused flag space definitions back to their original position in
order to avoid confusion.

Requested-by: Matt
18 years agoMake print statements more verbose.
David Rhodus [Thu, 4 Aug 2005 15:38:58 +0000 (15:38 +0000)]
Make print statements more verbose.

18 years agoRemove scheduler define which was never used.
David Rhodus [Thu, 4 Aug 2005 15:37:20 +0000 (15:37 +0000)]
Remove scheduler define which was never used.

18 years ago- Don't flag NIS entries at invalid
Liam J. Foy [Thu, 4 Aug 2005 13:10:25 +0000 (13:10 +0000)]
- Don't flag NIS entries at invalid

Submitted by:   Bob Willcox <bob@immure.com>

18 years agoBring in better comments for hash.h from NetBSD
Max Okumoto [Thu, 4 Aug 2005 00:21:50 +0000 (00:21 +0000)]
Bring in better comments for hash.h from NetBSD

18 years agoBring in better comment for hash.c function header from NetBSD
Max Okumoto [Thu, 4 Aug 2005 00:19:04 +0000 (00:19 +0000)]
Bring in better comment for hash.c function header from NetBSD

18 years agoAdd a new system config directive called "nonoptional" which specifies
Matthew Dillon [Wed, 3 Aug 2005 23:33:52 +0000 (23:33 +0000)]
Add a new system config directive called "nonoptional" which specifies
files based on options which MUST be specified in the kernel config.

Make the option to maintain compatibility with DragonFly 1.2 (and older
1.3 kernels) non-optional.

Older versions of config will not recognize the new option and generate
a reasonable error, rather then blindly compile a kernel without 1.2
support, hopefully prompting people to recompile their config
program rather then post a bug report.

18 years agoCast ctype.h function paramters to (unsigned char).
Max Okumoto [Wed, 3 Aug 2005 23:20:35 +0000 (23:20 +0000)]
Cast ctype.h function paramters to (unsigned char).

18 years agoRemove casting of NULL
Max Okumoto [Wed, 3 Aug 2005 22:00:16 +0000 (22:00 +0000)]
Remove casting of NULL

18 years agoBring in better comments for hash.c from NetBSD.
Max Okumoto [Wed, 3 Aug 2005 21:43:08 +0000 (21:43 +0000)]
Bring in better comments for hash.c from NetBSD.

18 years agoInclude stdbool.h in files header files that need it instead of util.h
Max Okumoto [Wed, 3 Aug 2005 19:48:44 +0000 (19:48 +0000)]
Include stdbool.h in files header files that need it instead of util.h

18 years agoMake debug definition match forward declaration.
Max Okumoto [Wed, 3 Aug 2005 18:34:39 +0000 (18:34 +0000)]
Make debug definition match forward declaration.

18 years agoMake prototype match up with function definition.
Max Okumoto [Wed, 3 Aug 2005 18:29:02 +0000 (18:29 +0000)]
Make prototype match up with function definition.

18 years agoFreeBSD-Date: 2005/07/31 04:30:46
Max Okumoto [Wed, 3 Aug 2005 17:33:30 +0000 (17:33 +0000)]
FreeBSD-Date: 2005/07/31 04:30:46
Author: keramida

Fix all the spelling mistakes I could find in the man pages for words
that have at least 3 characters.

MFC after:      1 week
Thanks to:      Music band ``Chingon''
                for keeping me company while searching for these.

18 years agoBring name of an unused flag field in line with the rest.
Hiten Pandya [Wed, 3 Aug 2005 16:55:11 +0000 (16:55 +0000)]
Bring name of an unused flag field in line with the rest.

18 years agoBUF/BIO cleanup 3/99:
Hiten Pandya [Wed, 3 Aug 2005 16:36:33 +0000 (16:36 +0000)]
BUF/BIO cleanup 3/99:

Retire the B_CALL flag in favour of checking the bp->b_iodone pointer
directly, thus simplifying the BUF interface even more.

Move scattered B_UNUSED* flag space defintions into one place, that
is below the rest of the definitions.

18 years agoDon't reference nanosleep at all, but describe the behaviour.
Simon Schubert [Wed, 3 Aug 2005 16:07:39 +0000 (16:07 +0000)]
Don't reference nanosleep at all, but describe the behaviour.