cvs commit: projects/csup fattr.c fattr.h proto.c status.c updater.c

Maxime Henrion <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.projects
Message-ID <200602030545.k135j2ki060004__10787.0790678591$1138945553$gmane$org@repoman.freebsd.org>
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-projects
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.