[BACK]Return to logwtmp.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libutil

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

Diff for /src/lib/libutil/logwtmp.c between version 1.9 and 1.10

version 1.9, 1999/09/16 11:45:51 version 1.10, 1999/09/20 04:48:07
Line 65  logwtmp(line, name, host)
Line 65  logwtmp(line, name, host)
         _DIAGASSERT(line != NULL);          _DIAGASSERT(line != NULL);
         _DIAGASSERT(name != NULL);          _DIAGASSERT(name != NULL);
         _DIAGASSERT(host != NULL);          _DIAGASSERT(host != NULL);
 #ifdef _DIAGNOSTIC  
         if (line == NULL || name == NULL || host == NULL)  
                 return;  
 #endif  
   
         if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) < 0)          if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) < 0)
                 return;                  return;

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

CVSweb <webmaster@jp.NetBSD.org>