From owner-cvs-all@FreeBSD.ORG Wed Jan 18 17:09:56 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 412E916A41F; Wed, 18 Jan 2006 17:09:56 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0901D43D48; Wed, 18 Jan 2006 17:09:56 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0IH9t80078358; Wed, 18 Jan 2006 17:09:55 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0IH9tkt078357; Wed, 18 Jan 2006 17:09:55 GMT (envelope-from mux) Message-Id: <200601181709.k0IH9tkt078357@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 18 Jan 2006 17:09:55 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup misc.c misc.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2006 17:09:56 -0000 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