Article View: gnu.utils.bug
Article #185df problem
From: Paul M Reilly -- Personal Accoun...
Date: Sun, 02 Aug 1992 02:23
Date: Sun, 02 Aug 1992 02:23
7 lines
940 bytes
940 bytes
I built fileutils-3.3 on my DG AViiON (SYSVR4) box and df crashed with a divide by zero error in adjust_blocks() since the fromsize parameter was 0. Chasing it down led to the discovery that the #define for convert_blocks uses f_frsize, which, according to the SVID, may not be supported. I can't put my finger on how one determines if it is supported or not so I hacked my fix as follows: #define convert_blocks(b) adjust_blocks ((b), (fsd.f_frsize : fsd.f_frsize ? fsd.f_bsize), 512)
Technical Details
Message-ID:
<9208021023.AA01954@rock.concert.net>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!rock.concert.net!pmrShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!rock.concert.net!pmr From: pmr@rock.concert.net (Paul M Reilly -- Personal Account) Subject: df problem Message-ID: <9208021023.AA01954@rock.concert.net> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Sun, 2 Aug 1992 02:23:49 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 8