From owner-cvs-src@FreeBSD.ORG Fri Mar 3 08:15:22 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 5987816A420; Fri, 3 Mar 2006 08:15:22 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D89543D45; Fri, 3 Mar 2006 08:15:21 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k238FI0a062331; Fri, 3 Mar 2006 10:15:18 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 18659-01; Fri, 3 Mar 2006 10:15:18 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k238FFX1062327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Mar 2006 10:15:16 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k238FSZ1061706; Fri, 3 Mar 2006 10:15:28 +0200 (EET) (envelope-from ru) Date: Fri, 3 Mar 2006 10:15:27 +0200 From: Ruslan Ermilov To: Giorgos Keramidas Message-ID: <20060303081527.GA61607@ip.net.ua> References: <200601281413.k0SEDHA3035607@repoman.freebsd.org> <20060303024309.GC943@flame.pc> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <20060303024309.GC943@flame.pc> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at ip.net.ua Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Pawel Jakub Dawidek , 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 08:15:22 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 03, 2006 at 04:43:09AM +0200, Giorgos Keramidas wrote: > 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() a= nd > > pidfile_close() functions is safe. This possibility is used in exam= ple code. > > - Cast pid_t to int. >=20 > Hi Pawel, >=20 > Doesn't it make more sense to cast pid_t to intmax_t, or is it by > definition always <=3D int? >=20 POSIX only requires that "blksize_t, pid_t, and ssize_t shall be signed integer types." Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEB/sfqRfpzJluFF4RAvS5AJ9Gyj/59dRJeJFtVmKyippATkSk9wCeJcL7 sZ3Bji7d+qym4odTBpE0XpE= =2pwr -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62--