Date: Thu, 14 Jan 2010 15:20:09 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/gen pututxline.c Message-ID: <201001141520.o0EFKJVF068781@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2010-01-14 15:20:09 UTC
FreeBSD src repository
Modified files:
lib/libc/gen pututxline.c
Log:
SVN rev 202287 on 2010-01-14 15:20:09Z by ed
Unbreak pututxline() on 32-bit architectures.
I forgot to cast the size_t's back to off_t before negating them,
causing all sorts of artifacts where the log files would grow to 2^32 -
197 bytes.
Reported by: ume
Revision Changes Path
1.3 +4 -4 src/lib/libc/gen/pututxline.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001141520.o0EFKJVF068781>
