From owner-cvs-projects@FreeBSD.ORG Mon Jan 30 17:36:14 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 42B5F16A424; Mon, 30 Jan 2006 17:36:14 +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 13E0E43D45; Mon, 30 Jan 2006 17:36:14 +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 k0UHaDp4014792; Mon, 30 Jan 2006 17:36:13 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0UHaDlb014790; Mon, 30 Jan 2006 17:36:13 GMT (envelope-from mux) Message-Id: <200601301736.k0UHaDlb014790@repoman.freebsd.org> From: Maxime Henrion Date: Mon, 30 Jan 2006 17:36:13 +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 fattr.c fattr_bsd.h fattr_posix.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: Mon, 30 Jan 2006 17:36:14 -0000 mux 2006-01-30 17:36:13 UTC FreeBSD projects repository Modified files: csup fattr.c fattr_bsd.h fattr_posix.h Log: After much hacking in Modula-3 with the CVSup sources, I finally understood why I had to add the modtime, size and mode attributes to the supported attributes of the unknown filetype. Unlike what I thought, when CVSup parses the attributes of a file who ends up being the unknown filetype and thus has no supported attributes, it doesn't return an error but doesn't parse the rest of the attributes. Mimic this behaviour in fattr_decode() and remove the attributes from the unknown filetype. I'm not sure if this change will cause any functional difference or not, but at least we're now sending the same supported attributes at negociation time. Revision Changes Path 1.27 +2 -2 projects/csup/fattr.c 1.2 +1 -1 projects/csup/fattr_bsd.h 1.2 +1 -1 projects/csup/fattr_posix.h