Date: Sun, 5 Sep 2004 05:27:30 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/truss syscalls.c Message-ID: <200409050527.i855RUl8014501@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2004-09-05 05:27:30 UTC FreeBSD src repository Modified files: usr.bin/truss syscalls.c Log: Fix Quad handling on 64-bit architectures. On 64-bit machines, a Quad also occupies a single slot. There's no need for any special handling of Quads. While here, remove the silly make_quad() function. We have the 2 longs on 32-bit machines already lined up in the argument array, so we can fetch the Quad with a simple cast. Before: lseek(1,0x123456789,0xd0d0d0d0d0d0d0d0) = 4886718345 (0x123456789) After: lseek(1,0x123456789,SEEK_SET) = 4886718345 (0x123456789) Revision Changes Path 1.45 +17 -22 src/usr.bin/truss/syscalls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409050527.i855RUl8014501>