[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: textutils -> od 2.0.14 bug - solved

From: Tony Kocurko
Subject: Re: textutils -> od 2.0.14 bug - solved
Date: Wed, 8 May 2002 10:37:06 -0230


  Further to my previous post, the problem occurs when one types

# od --format=f8 --width=8 < input_file

Then one gets this message:

od: warning: invalid width 8; using 12 instead

Tony Kocurko - Memorial University of Newfoundland

----------  Forwarded Message  ----------

Content-Type: text/plain;
From: Tony Kocurko <address@hidden>
Reply-To: address@hidden
Organization: Memorial University of Newfoundland
To: address@hidden
Subject: textutils -> od 2.0.14 bug - solved
Date: Wed, 8 May 2002 10:15:06 -0230
X-Mailer: KMail [version 1.3.2]
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Status: RO
X-Status: S

  I believe that lines 137 and 138 of od.c ought to be changed
from this:

  sizeof (long int),
  sizeof (float),

to this:

  sizeof (long int),
  sizeof (long long),
  sizeof (float),

  Without that change on our RedHat Linux 7.2 Intel systems, the
"od -t f8" command complains about an incorrect size and
substitutes a size of 12 for a double, rather than using the 8
that it should.

Tony Kocurko

Seismological Systems Manager   (Phone: 709-737-8898 or -8142)
Department of Earth Sciences
Memorial University of Newfoundland
St. John's, Newfoundland, Canada A1B 3X5


reply via email to

[Prev in Thread] Current Thread [Next in Thread]