Module Name:    src
Committed By:   mrg
Date:           Wed Jun 22 03:58:24 UTC 2011

Modified Files:
        src/external/bsd/am-utils/dist/hlfsd: homedir.c

Log Message:
remove an always true test found by GCC 4.5.3.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/am-utils/dist/hlfsd/homedir.c

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

Modified files:

Index: src/external/bsd/am-utils/dist/hlfsd/homedir.c
diff -u src/external/bsd/am-utils/dist/hlfsd/homedir.c:1.1.1.2 src/external/bsd/am-utils/dist/hlfsd/homedir.c:1.2
--- src/external/bsd/am-utils/dist/hlfsd/homedir.c:1.1.1.2	Fri Mar 20 20:26:55 2009
+++ src/external/bsd/am-utils/dist/hlfsd/homedir.c	Wed Jun 22 03:58:24 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: homedir.c,v 1.1.1.2 2009/03/20 20:26:55 christos Exp $	*/
+/*	$NetBSD: homedir.c,v 1.2 2011/06/22 03:58:24 mrg Exp $	*/
 
 /*
  * Copyright (c) 1997-2009 Erez Zadok
@@ -498,7 +498,7 @@
   buf[0] = '\0';
   fgets(buf, 256, passwd_fp);
   passwd_line++;
-  if (!buf || buf[0] == '\0')
+  if (buf[0] == '\0')
     goto readent;
 
   /* read user name */

Reply via email to