Re: textutils -> od 2.0.14 bug - solved

Tony Kocurko <[email protected]>
Newsgroups gmane.comp.gnu.textutils.bugs
Organization Memorial University of Newfoundland
Message-ID <[email protected]>
Hi,

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

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

Then one gets this message:

od: warning: invalid width 8; using 12 instead

Regards,
Tony Kocurko - Memorial University of Newfoundland

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

Content-Type: text/plain;
  charset="iso-8859-15"
From: Tony Kocurko <[email protected]>
Reply-To: [email protected]
Organization: Memorial University of Newfoundland
To: [email protected]
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
Hi,

  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.

Cheers,
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

-------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.