From owner-cvs-projects@FreeBSD.ORG Sat Feb 25 22:46:56 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 CE63716A422; Sat, 25 Feb 2006 22:46:56 +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 548C843D76; Sat, 25 Feb 2006 22:46:54 +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 k1PMksNl038315; Sat, 25 Feb 2006 22:46:54 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1PMksdX038314; Sat, 25 Feb 2006 22:46:54 GMT (envelope-from mux) Message-Id: <200602252246.k1PMksdX038314@repoman.freebsd.org> From: Maxime Henrion Date: Sat, 25 Feb 2006 22:46:54 +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 config.c config.h fattr.c fattr.h lister.c proto.c 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: Sat, 25 Feb 2006 22:46:57 -0000 mux 2006-02-25 22:46:54 UTC FreeBSD projects repository Modified files: csup config.c config.h fattr.c fattr.h lister.c proto.c Log: - At the time we're exchanging collection information in proto_xchgcoll(), compute a mask of file attributes we need to ignore, depending on the "SetOwner", "SetMode" and "SetFlags" collection options. - Always set the "SetMode" collection option. - Make fattr_encode() accepts a third parameter to provide a mask of attributes to ignore. - In proto_printf(), have the %f format pass 0 for the ignored attributes to fattr_encode(), and change the %F format so that the consumer now supplies the ignored attributes. - Change the lister thread to pass the ignored attributes when encoding attributes that we're sending to the server. Revision Changes Path 1.42 +3 -1 projects/csup/config.c 1.31 +2 -1 projects/csup/config.h 1.39 +3 -2 projects/csup/fattr.c 1.24 +2 -2 projects/csup/fattr.h 1.25 +7 -6 projects/csup/lister.c 1.78 +15 -5 projects/csup/proto.c