Go to file
perry fcc96823f6 spell(1), from OpenBSD.
This code came originally from v7/32v and thence from 4.4BSD. It was
freed by Caldera. Todd Miller cleaned up and ANSIfied the code, and
then changed it to use the mmap/binary search algorithm for looking up
words in the dictionary that look(1) uses, replacing the hash based
lookups which were faster but broken by the size of the current
dictionary.

I've done a teeny bit of additional cleanup and replaced Todd's ksh
spell(1) script with a /bin/sh script, and re-structured the code to
follow the bsd makefile way, with one executable per directory.

I also added a TODO list recommending a bunch of kinds of cleanup.

The code is, frankly, awful. It was fine in the 1970s, a time of much
more limited resources and tastes, but the world has moved on a bunch
since then. The reason for pulling this in at all is that it will make
it much easier to check in-tree documentation for spelling errors
automatically.
2005-06-29 21:06:12 +00:00
bin Don't compile in cpio usage, if we are SMALL. 2005-06-29 02:21:27 +00:00
crypto Add proper casts. Fix a problem where (uint32_t < ~0). Cast both ~0's to 2005-06-28 16:12:41 +00:00
dist Remove the distribution files of spamd. Future imports of pf will not 2005-06-29 09:55:22 +00:00
distrib remove pss(4) driver. It has never been workable and has not been 2005-06-28 08:36:47 +00:00
doc remove pss(4) driver. It has never been workable and has not been 2005-06-28 08:36:47 +00:00
etc PR/29317: ifconfig.if does not allow parameters with spaces 2005-06-28 13:36:40 +00:00
games Fixed a comment that said the factors in the output would be strictly 2005-06-27 20:49:31 +00:00
gnu Change all .Xr config 8 to .Xr config 1, following the recent move of 2005-06-20 13:25:23 +00:00
include Implement expansion of special "magic" strings in symlinks into 2005-06-23 00:30:28 +00:00
lib Remove fips_standalone_sha1.c - fixes problem mentioned by Hubert Feyrer 2005-06-29 14:41:16 +00:00
libexec sprinkle little const. 2005-06-26 20:47:08 +00:00
regress appease gcc -Wuninitialized 2005-06-02 11:10:00 +00:00
rescue add scan_ffs and veriexecctl to /rescue 2005-06-18 06:59:23 +00:00
sbin Allow this to build under -Wcast-qual -Werror by adding const to a few 2005-06-28 18:14:45 +00:00
share add references to auixp(4) and azalia(4) 2005-06-28 09:21:03 +00:00
sys KNF. 2005-06-29 19:08:04 +00:00
tools Fix the toolification of disklabel by using the nbinclude namespace 2005-06-22 21:35:28 +00:00
usr.bin spell(1), from OpenBSD. 2005-06-29 21:06:12 +00:00
usr.sbin cleanup: preserve errno. Needed so err() functions ran after running 2005-06-29 01:40:42 +00:00
x11 we aren't supposed to build afb{tile,blt}.c this should resolve issues with 2005-06-26 06:33:43 +00:00
build.sh Remove support for build.sh -m xen, this has been merged in the i386 2005-05-29 10:54:40 +00:00
BUILDING Document the environment variables for if you need to override or 2005-02-15 18:41:18 +00:00
Makefile use usr.sbin/postinstall/postinstall instead of etc/postinstall 2005-04-17 15:18:34 +00:00
Makefile.inc
UPDATING note about kernfs fix and xentools. 2005-06-03 11:02:59 +00:00