Date: Wed, 18 Jan 2006 17:09:55 +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 misc.c misc.h Message-ID: <200601181709.k0IH9tkt078357@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601181709.k0IH9tkt078357>
