From owner-cvs-projects@FreeBSD.ORG Fri Feb 3 18:23:34 2006 Return-Path: X-Original-To: cvs-projects@FreeBSD.org Delivered-To: cvs-projects@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAA4216A424; Fri, 3 Feb 2006 18:23:34 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F89B43D46; Fri, 3 Feb 2006 18:23:34 +0000 (GMT) (envelope-from mux@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 k13INYga024335; Fri, 3 Feb 2006 18:23:34 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k13INY5j024334; Fri, 3 Feb 2006 18:23:34 GMT (envelope-from mux) Message-Id: <200602031823.k13INY5j024334@repoman.freebsd.org> From: Maxime Henrion Date: Fri, 3 Feb 2006 18:23:34 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup lister.c status.c status.h X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 18:23:35 -0000 mux 2006-02-03 18:23:34 UTC FreeBSD projects repository Modified files: csup lister.c status.c status.h Log: - Add status_errmsg() that will return an error message if an error has been encountered in the status file. - Set error messages everywhere appropriate in the status file API. It's a bit of a mess, but will do for now. - In the lister thread, if status_get() returns NULL, check if EOF has been seen with stream_eof(), and if not, print the error message with status_errmsg(). Revision Changes Path 1.21 +6 -4 projects/csup/lister.c 1.8 +79 -28 projects/csup/status.c 1.2 +1 -0 projects/csup/status.h