cvs commit: projects/csup misc.c misc.h

Maxime Henrion mux at FreeBSD.org
Wed Jan 18 09:09:56 PST 2006


mux         2006-01-18 17:09:55 UTC

  FreeBSD projects repository

  Modified files:
    csup                 misc.c misc.h 
  Log:
  Start merging patches from my private development branch to support the
  status file :
  
  - Add rcsdatetotime() to convert from a RCS date to a time_t.
  - Add tempname() to obtain temporary file names the same way as CVSup.
  - Add commonpathlength(), self-explanatory.
  - Add wrappers for allocation functions so that the code is not cluttered
    with checks and calls to err() : xmalloc(), xrealloc(), xstrdup() and
    xasprintf().
  - Fix pathcmp() so that it works as intended.
  - Slightly simplify pathlast().
  - Update copyrights.
  
  Most of these functions will get used later.
  
  Revision  Changes    Path
  1.16      +143 -24   projects/csup/misc.c
  1.16      +14 -5     projects/csup/misc.h


More information about the cvs-projects mailing list