🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Paul M Reilly -- Personal Accoun... Sun, 02 Aug 1992 02:23
df problem
#185
Author: Paul M Reilly -- Personal Accoun...
Date: Sun, 02 Aug 1992 02:23
7 lines
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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads