[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.35 and 1.38

version 1.35, 2002/04/16 19:07:57 version 1.38, 2003/08/07 16:42:49
Line 15 
Line 15 
  * 2. Redistributions in binary form must reproduce the above copyright   * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the   *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.   *    documentation and/or other materials provided with the distribution.
  * 3. All advertising materials mentioning features or use of this software   * 3. Neither the name of the University nor the names of its contributors
  *    must display the following acknowledgement:  
  *      This product includes software developed by the University of  
  *      California, Berkeley and its contributors.  
  * 4. Neither the name of the University nor the names of its contributors  
  *    may be used to endorse or promote products derived from this software   *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.   *    without specific prior written permission.
  *   *
Line 36 
Line 32 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
   #if HAVE_CONFIG_H
   #include "config.h"
   #endif
   
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)  #if defined(LIBC_SCCS) && !defined(lint)
 #if 0  #if 0
Line 47  __RCSID("$NetBSD$");
Line 47  __RCSID("$NetBSD$");
   
 #include "namespace.h"  #include "namespace.h"
 #include <sys/types.h>  #include <sys/types.h>
   #include <sys/param.h>
   
 #include <assert.h>  #include <assert.h>
 #include <ctype.h>  #include <ctype.h>
Line 251  getent(cap, len, db_array, fd, name, dep
Line 252  getent(cap, len, db_array, fd, name, dep
         size_t clen;          size_t clen;
         char *record, *cbuf, *newrecord;          char *record, *cbuf, *newrecord;
         int tc_not_resolved;          int tc_not_resolved;
         char pbuf[_POSIX_PATH_MAX];          char pbuf[MAXPATHLEN];
   
         _DIAGASSERT(cap != NULL);          _DIAGASSERT(cap != NULL);
         _DIAGASSERT(len != NULL);          _DIAGASSERT(len != NULL);

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.38

CVSweb <webmaster@jp.NetBSD.org>