From owner-p4-projects@FreeBSD.ORG Mon Oct 30 10:13:07 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9747416A492; Mon, 30 Oct 2006 10:13:07 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40DAF16A407 for ; Mon, 30 Oct 2006 10:13:07 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C71C843D62 for ; Mon, 30 Oct 2006 10:13:05 +0000 (GMT) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9UAD54w089155 for ; Mon, 30 Oct 2006 10:13:05 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9UAD5RH089152 for perforce@freebsd.org; Mon, 30 Oct 2006 10:13:05 GMT (envelope-from piso@freebsd.org) Date: Mon, 30 Oct 2006 10:13:05 GMT Message-Id: <200610301013.k9UAD5RH089152@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 108721 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 10:13:07 -0000 http://perforce.freebsd.org/chv.cgi?CH=108721 Change 108721 by piso@piso_newluxor on 2006/10/30 10:12:11 Treat lines starting with '#' as comments. Affected files ... .. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#17 edit Differences ... ==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#17 (text+ko) ==== @@ -119,6 +119,7 @@ #include #include #include +#include #include #include #include @@ -1494,7 +1495,7 @@ { char buf[256], conf[] = "/etc/libalias.conf"; FILE *fd; - int len; + int i, len; fd = fopen(conf, "r"); if (fd == NULL) @@ -1508,6 +1509,11 @@ break; len = strlen(buf); if (len > 1) { + for (i=0; i