descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.
the first two items result in the addition of code similar to the
following in various functions:
_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
special characters is the default behaviour, which may be disabled by
setting GLOB_NOESCAPE.
* If no matching pathnames have been found and GLOB_NOCHECK was not set
(or special csh(1)-specific treatment of magic characters was requested),
return GLOB_NOMATCH instead of 0; the latter would indicate a successful
operation.
* Use strcoll() instead of strcmp() to sort globbed pathnames.
the renamed functions, and add some #error directives to force the
issue with weak symbols for renamed functions when we support weak
symbols in the C library.