Date: Fri, 3 Feb 2006 05:45:02 +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.h proto.c status.c updater.c Message-ID: <200602030545.k135j2ki060004@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2006-02-03 05:45:02 UTC
FreeBSD projects repository
Modified files:
csup fattr.c fattr.h proto.c status.c
updater.c
Log:
fattr.c:
- I tried to avoid having the need for a function to initialize the
fattr API, but it makes things harder afterwards. So, have two new
functins, fattr_init() and fattr_fini() to initialize and
deinitialize the API.
- Using this, we can now implement fattr_mergedefault() as intended,
and get rid of fattr_default().
proto.c:
- Call fattr_init() and fattr_fini() in appropriate places.
status.c:
- fattr_default() -> fattr_mergedefault().
updater.c:
- Correct the code that computes the file attributes for a file we're
checking out so that it works correctly, using the new function
fattr_mergedefault(). More work is needed in this file, but as far
as I can tell, csup now correctly sets all the attributes at checkout
time. This fixes the many "SetAttrs" commands that were happening
as a side effect to this bug.
Revision Changes Path
1.29 +37 -15 projects/csup/fattr.c
1.20 +5 -1 projects/csup/fattr.h
1.60 +9 -1 projects/csup/proto.c
1.5 +2 -1 projects/csup/status.c
1.66 +9 -3 projects/csup/updater.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602030545.k135j2ki060004>
