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

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

Diff for /src/lib/libc/resolv/herror.c between version 1.6 and 1.7

version 1.6, 2007/03/30 20:23:04 version 1.7, 2008/06/21 20:41:48
Line 53 
Line 53 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)  #if defined(LIBC_SCCS) && !defined(lint)
 #ifdef notdef  #ifdef notdef
 static const char rcsid[] = "Id: herror.c,v 1.3.18.1 2005/04/27 05:01:09 sra Exp";  static const char sccsid[] = "@(#)herror.c      8.1 (Berkeley) 6/4/93";
   static const char rcsid[] = "Id: herror.c,v 1.4 2005/04/27 04:56:41 sra Exp";
 #else  #else
 __RCSID("$NetBSD$");  __RCSID("$NetBSD$");
 #endif  #endif
Line 113  herror(const char *s) {
Line 114  herror(const char *s) {
                 v->iov_len = 2;                  v->iov_len = 2;
                 v++;                  v++;
         }          }
         DE_CONST(hstrerror(h_errno), t);          DE_CONST(hstrerror(*__h_errno()), t);
         v->iov_base = t;          v->iov_base = t;
         v->iov_len = strlen(v->iov_base);          v->iov_len = strlen(v->iov_base);
         v++;          v++;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

CVSweb <webmaster@jp.NetBSD.org>