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
[-- Attachment #1 --] 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() 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? > POSIX only requires that "blksize_t, pid_t, and ssize_t shall be signed integer types." Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEB/sfqRfpzJluFF4RAvS5AJ9Gyj/59dRJeJFtVmKyippATkSk9wCeJcL7 sZ3Bji7d+qym4odTBpE0XpE= =2pwr -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060303081527.GA61607>
