Sync getcap() with FreeBSD:
authorPeter Avalos <pavalos@theshell.com>
Tue, 10 Mar 2009 06:27:21 +0000 (20:27 -1000)
committerPeter Avalos <pavalos@theshell.com>
Tue, 7 Apr 2009 07:09:36 +0000 (21:09 -1000)
commit6a7eb1f6ade5f6bcb315deaa6453702e35d8ac7d
treed44f6cbe31f4034f5e9aeb650899ae55c2217747
parent481e7caecbdccf6b8c62aba37496515d6c231dc6
Sync getcap() with FreeBSD:

* Expand contractions and fix sentence breaks.

* In cgetmatch(3), return -1 if a NULL or 0-length name parameter is
  used.  This prevents lpd from hanging at boot with certain (legal)
  printcap entries.

* Sprinkle some const.
include/stdlib.h
lib/libc/gen/getcap.3
lib/libc/gen/getcap.c