[BACK]Return to getcap.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/getcap.c between version 1.8 and 1.9

version 1.8, 1994/03/26 02:51:45 version 1.9, 1995/02/25 13:41:26
Line 1 
Line 1 
   /*      $NetBSD$        */
   
 /*-  /*-
  * Copyright (c) 1992 The Regents of the University of California.   * Copyright (c) 1992, 1993
  * All rights reserved.   *      The Regents of the University of California.  All rights reserved.
  *   *
  * This code is derived from software contributed to Berkeley by   * This code is derived from software contributed to Berkeley by
  * Casey Leedom of Lawrence Livermore National Laboratory.   * Casey Leedom of Lawrence Livermore National Laboratory.
Line 35 
Line 37 
  */   */
   
 #if defined(LIBC_SCCS) && !defined(lint)  #if defined(LIBC_SCCS) && !defined(lint)
 /*static char *sccsid = "from: @(#)getcap.c     5.15 (Berkeley) 3/19/93";*/  #if 0
 static char *rcsid = "$Id$";  static char sccsid[] = "@(#)getcap.c    8.3 (Berkeley) 3/25/94";
   #else
   static char rcsid[] = "$NetBSD$";
   #endif
 #endif /* LIBC_SCCS and not lint */  #endif /* LIBC_SCCS and not lint */
   
 #include <sys/types.h>  #include <sys/types.h>
Line 254  getent(cap, len, db_array, fd, name, dep
Line 259  getent(cap, len, db_array, fd, name, dep
                                 if (retval < 0) {                                  if (retval < 0) {
                                         /* no record available */                                          /* no record available */
                                         (void)capdbp->close(capdbp);                                          (void)capdbp->close(capdbp);
                                         return (retval);                                          return (retval);
                                 }                                  }
                                 /* save the data; close frees it */                                  /* save the data; close frees it */
                                 clen = strlen(record);                                  clen = strlen(record);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb <webmaster@jp.NetBSD.org>