[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.44 and 1.45

version 1.44, 2006/03/19 02:25:12 version 1.45, 2006/04/02 03:26:03
Line 213  cgetcap(buf, cap, type)
Line 213  cgetcap(buf, cap, type)
  * encountered (couldn't open/read a file, etc.), and -3 if a potential   * encountered (couldn't open/read a file, etc.), and -3 if a potential
  * reference loop is detected.   * reference loop is detected.
  */   */
   /* coverity[+alloc : arg-*0] */
 int  int
 cgetent(char **buf, const char * const *db_array, const char *name)  cgetent(char **buf, const char * const *db_array, const char *name)
 {  {
Line 243  cgetent(char **buf, const char * const *
Line 244  cgetent(char **buf, const char * const *
  *        names interpolated, a name can't be found, or depth exceeds   *        names interpolated, a name can't be found, or depth exceeds
  *        MAX_RECURSION.   *        MAX_RECURSION.
  */   */
   /* coverity[+alloc : arg-*0] */
 static int  static int
 getent(char **cap, size_t *len, const char * const *db_array, int fd,  getent(char **cap, size_t *len, const char * const *db_array, int fd,
     const char *name, int depth, char *nfield)      const char *name, int depth, char *nfield)
Line 761  cgetclose(void)
Line 763  cgetclose(void)
  * specified by db_array.  It returns 0 upon completion of the database, 1   * specified by db_array.  It returns 0 upon completion of the database, 1
  * upon returning an entry with more remaining, and -1 if an error occurs.   * upon returning an entry with more remaining, and -1 if an error occurs.
  */   */
   /* coverity[+alloc : arg-*0] */
 int  int
 cgetnext(char **bp, const char * const *db_array)  cgetnext(char **bp, const char * const *db_array)
 {  {

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

CVSweb <webmaster@jp.NetBSD.org>