Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2006 10:15:27 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libutil pidfile.3
Message-ID:  <20060303081527.GA61607@ip.net.ua>
In-Reply-To: <20060303024309.GC943@flame.pc>
References:  <200601281413.k0SEDHA3035607@repoman.freebsd.org> <20060303024309.GC943@flame.pc>

next in thread | previous in thread | raw e-mail | index | archive | help

--+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 <pjd@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060303081527.GA61607>