This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: CREAD buggy?
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: howarth at bromo dot msbb dot uc dot edu, sgk at troutmask dot apl dot washington dot edu
- Cc: fortran at gcc dot gnu dot org, jvdelisle at verizon dot net
- Date: Sat, 30 Jul 2005 21:36:07 -0400 (EDT)
- Subject: Re: CREAD buggy?
Unfortunately valgrind doesn't exist for MacOS X. I would note
a couple things about the offending code. The COMLYN string is in a
common block but all the other variables being read into are all
declared locally in the subroutine. While xplor-nih has its own heap
routines for managing the coordinates and properties of the atoms,
these routines aren't being used to hold the COMLYN string. It is
declared in a common header as...
C
C current line (used only in NEXTWD)
INTEGER COMLEN, COMMAX
PARAMETER (COMMAX=132)
CHARACTER*(COMMAX) COMLYN
If you have any other suggestions to try, let me know.
Jack