From owner-cvs-all@FreeBSD.ORG Thu Aug 18 11:11:40 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3EE316A421; Thu, 18 Aug 2005 11:11:40 +0000 (GMT) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61D2043D45; Thu, 18 Aug 2005 11:11:40 +0000 (GMT) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7IBBesX017765; Thu, 18 Aug 2005 11:11:40 GMT (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7IBBe85017764; Thu, 18 Aug 2005 11:11:40 GMT (envelope-from des) Message-Id: <200508181111.j7IBBe85017764@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Thu, 18 Aug 2005 11:11:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/pciconf pciconf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 11:11:40 -0000 des 2005-08-18 11:11:40 UTC FreeBSD src repository Modified files: usr.sbin/pciconf pciconf.c Log: Use larger buffers to read lines from the vendor list. Trim trailing whitespace and comments before parsing, and skip empty lines. Skip subvendor / subdevice entries (which start with two tab characters). Change the scanf() format string to match any amount and type of whitespace between the device ID and the description text. MFC after: 3 weeks Revision Changes Path 1.26 +16 -3 src/usr.sbin/pciconf/pciconf.c