Date: Mon, 30 Jan 2006 17:36:13 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/csup fattr.c fattr_bsd.h fattr_posix.h Message-ID: <200601301736.k0UHaDlb014790@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601301736.k0UHaDlb014790>