From owner-freebsd-bugs Sat Oct 21 13:47:03 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA11983 for bugs-outgoing; Sat, 21 Oct 1995 13:47:03 -0700 Received: from genesis.nred.ma.us ([204.180.76.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA11966 for ; Sat, 21 Oct 1995 13:46:53 -0700 Received: by genesis.nred.ma.us (8.6.9/genesis0.0) id QAA01821; Sat, 21 Oct 1995 16:46:06 -0400 From: steve2@genesis.nred.ma.us (Steve Gerakines) Message-Id: <199510212046.QAA01821@genesis.nred.ma.us> Subject: off_t (long long) problem To: freebsd-bugs@freebsd.org Date: Sat, 21 Oct 1995 16:46:01 -0400 (EDT) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 456 Sender: owner-bugs@freebsd.org Precedence: bulk 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 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 ----