DragonFly-2.3.0.639.g6a7eb master include stdlib.h lib/libc/gen getcap.3 getcap.c

Peter Avalos pavalos at crater.dragonflybsd.org
Tue Apr 7 00:13:40 PDT 2009


commit 6a7eb1f6ade5f6bcb315deaa6453702e35d8ac7d
Author: Peter Avalos <pavalos at theshell.com>
Date:   Mon Mar 9 20:27:21 2009 -1000

    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.

Summary of changes:
 include/stdlib.h      |   14 +++---
 lib/libc/gen/getcap.3 |  120 +++++++++++++++++++++++++++++--------------------
 lib/libc/gen/getcap.c |   54 ++++++++++++----------
 3 files changed, 108 insertions(+), 80 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6a7eb1f6ade5f6bcb315deaa6453702e35d8ac7d


-- 
DragonFly BSD source repository





More information about the Commits mailing list