Remove an undocumented limit on the length of the pattern and string
to match of PATH_MAX.  As fnmatch() is used for matching more than
just pathnames, this can prevent legitimate matches for long strings
or partterns.  OK miod@ tedu@
Fix previous:
As pointed out by stsp@, LC_CTYPE *does* affect the ctype.h functions.
Use a wording similar to a suggestion by deraadt@.
Feedback and OK jmc@, OK stsp@.
we do not need the complexity of an assembly swab function here.
ok deraadt
update swab() to match the current posix definition. "rationale: none."
rewrite the function to be simpler as well. the compiler can unroll the
loop for us if necessary.
ok schwarze
Xr getdtablecount