Date: Sat, 21 Oct 1995 16:46:01 -0400 (EDT) From: steve2@genesis.nred.ma.us (Steve Gerakines) To: freebsd-bugs@freebsd.org Subject: off_t (long long) problem Message-ID: <199510212046.QAA01821@genesis.nred.ma.us>
next in thread | raw e-mail | index | archive | help
I was wondering if anyone had taken care of this problem since release 2.0.5. When I run the following test program under 2.0.5 it prints '2'. The problem only seems to occur when the off_t is referenced through a pointer. Thanks, Steve steve2@genesis.tiac.net ----- snip snip snip ----- #include <stdio.h> struct foo { off_t o; } x; main() { struct foo *f = &x; f->o = 0; f->o += 1; printf("o = %qd\n", f->o); exit(0); } ----- EOF EOF EOF ----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510212046.QAA01821>