This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/25264] write to internal unit from the string itself gives wrong result ?



------- Comment #8 from jvdelisle at gcc dot gnu dot org  2005-12-18 08:24 -------
Subject: Bug 25264

Author: jvdelisle
Date: Sun Dec 18 08:24:04 2005
New Revision: 108744

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108744
Log:
2005-12-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/25264
        PR libgfortran/25349
        * io/unit.c (get_unit): Delete code that cleared the string when the
        unit was opened, which is too soon.
        * io/transfer.c (next_record_w): Pass done flag in.  Change logic for
        setting max_pos.  Add code to position unit and pad record as needed.

Modified:
    branches/gcc-4_1-branch/libgfortran/ChangeLog
    branches/gcc-4_1-branch/libgfortran/io/transfer.c
    branches/gcc-4_1-branch/libgfortran/io/unit.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25264


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]