[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-02-21 02:54 --- Closing -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Status|AS

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2008-02-21 02:46 --- Fixed on trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35132

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-02-21 02:34 --- Subject: Bug 35132 Author: jvdelisle Date: Thu Feb 21 02:33:17 2008 New Revision: 132513 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132513 Log: 2008-02-20 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-02-21 02:27 --- Subject: Bug 35132 Author: jvdelisle Date: Thu Feb 21 02:27:07 2008 New Revision: 132512 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132512 Log: 2008-02-20 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-17 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2008-02-17 10:11 --- Patch has been OK'd for 4.4. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-10 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-02-10 13:51 --- The patch only touches on formatted stream io: case FORMATTED_STREAM: case FORMATTED_SEQUENTIAL: ---snip--- if (is_stream_io (dtp)) { dtp->u.p.current_unit->strm_pos +=

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2008-02-10 11:43 --- Hi Jerry, _unformatted_ stream should not truncate, you can put bytes into the middle of a file there. Does your patch do that? (I can't test right now). Thomas -- tkoenig at gcc dot gnu dot org changed:

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-09 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-02-09 21:48 --- (In reply to comment #3) > How does this look :) I have a couple of other test prints in there. > > $ gfc pr35132.f90 > $ ./a.out > 1st: 123456 > 2nd: abcdef > 123456 > ASDFef > At line 26 of file pr35132.f90 (

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-02-08 21:40 --- How does this look :) I have a couple of other test prints in there. $ gfc pr35132.f90 $ ./a.out 1st: 123456 2nd: abcdef 123456 ASDFef At line 26 of file pr35132.f90 (unit = 20, file = 'foo.txt') Fortran run

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-02-08 20:47 --- I will take this one. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/35132] Formatted stream I/O write should truncate

2008-02-07 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-02-07 22:52 --- See: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/9e38ff2694bfdab1/ If I understand it correctly, the right solution is do the same as NAG f95 does and print the following: 123456 ASDFef End