The information in this article applies to:
SYMPTOMSData corruption may occur after a call to GETFILEINFOQQ due to the NAME field of /FILE$INFO/ in FLIB.FI and FLIB.FD being declared character*13 instead of character*255. In some cases the following error: may be produced. CAUSEPage 313 of the FORTRAN PowerStation "Language Guide" shows the structure of /FILE$INFO/, which is used to return information about the file that matches the search criteria. The NAME (of file) field is declared as character*255. However, the NAME field is declared only as character*13 in FLIB.FD and FLIB.FI. Therefore, using /FILE$INFO/ from FLIB.FD with GETFILEINFOQQ will cause data corruption because the character*13 field overflows. RESOLUTIONIn F32\INCLUDE\FLIB.FI and F32\INCLUDE\FLIB.FD change CHARACTER*13 NAME ! Filenameto the following: CHARACTER*255 NAME ! Filename STATUSMicrosoft has confirmed this to be a problem in FORTRAN PowerStation version 1.0. This problem was corrected in FORTRAN PowerStation version 1.0a. MORE INFORMATION
To demonstrate the problem (before making the above correction):
Additional query words: 1.00 kbdocerr
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |