From owner-cvs-src@FreeBSD.ORG Fri Mar 3 02:44:04 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EF5E16A420; Fri, 3 Mar 2006 02:44:04 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FEAF43D48; Fri, 3 Mar 2006 02:44:02 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k232hlVm017548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 3 Mar 2006 04:43:48 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id k232h96f001149; Fri, 3 Mar 2006 04:43:09 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id k232h9dF001148; Fri, 3 Mar 2006 04:43:09 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 3 Mar 2006 04:43:09 +0200 From: Giorgos Keramidas To: Pawel Jakub Dawidek Message-ID: <20060303024309.GC943@flame.pc> References: <200601281413.k0SEDHA3035607@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200601281413.k0SEDHA3035607@repoman.freebsd.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.371, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.83, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libutil pidfile.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 02:44:04 -0000 On 2006-01-28 14:13, Pawel Jakub Dawidek wrote: > pjd 2006-01-28 14:13:15 UTC > > FreeBSD src repository > > Modified files: > lib/libutil pidfile.3 > Log: > - Add a note that passing NULL to pidfile_write(), pidfile_remove() and > pidfile_close() functions is safe. This possibility is used in example code. > - Cast pid_t to int. Hi Pawel, Doesn't it make more sense to cast pid_t to intmax_t, or is it by definition always <= int?