Date: Mon, 10 May 1999 02:16:01 -0700 (PDT) From: The System Mangler <root@obelix.cs.caltech.edu> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/11623: quot uses 32-bit integers for its calculations Message-ID: <199905100916.CAA23966@obelix.cs.caltech.edu>
index | next in thread | raw e-mail
>Number: 11623
>Category: bin
>Synopsis: quot uses 32-bit integers for its calculations
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 10 02:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: The System Mangler
>Release: FreeBSD 3.0-CURRENT i386
>Organization:
Asynchronous Systems Architecture Project
Department of Computer Science
California Institute of Technology
>Environment:
By now old 3.0-CURRENT (mid/late 1998 version)
>Description:
When running quot, if you have users who use more than 2GB
on a single disk, the information gets screwed up in the predictable
2's complement way.
To be honest, I am not sure if this is a bug in the program
(i.e., maybe it is supposed to be able to handle the situation).
The comments are too sparse for me to make out exactly what the
ksz-indexed arrays are for. Maybe it's already been fixed?
This is my version:
static const char rcsid[] =
"$Id: quot.c,v 1.8 1998/01/17 16:45:03 bde Exp $";
>How-To-Repeat:
Find a disk with hogs on it, run quot.
>Fix:
Convert the program to use larger data types.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905100916.CAA23966>
