This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
BUG BUG BUG -- cygwin1.dll v1.3.11
- From: Fabrizio Impagnatiello <f dot impagnatiello at roma dot alespazio dot it>
- To: cygwin at cygwin dot com
- Cc: a dot gallon at alsroma dot roma dot alespazio dot it, f dot digiorgio at alsroma dot roma dot alespazio dot it
- Date: Tue, 25 Jun 2002 20:22:36 +0200
- Subject: BUG BUG BUG -- cygwin1.dll v1.3.11
Dear Mr. Faylor,
please be informed about a bug discovered in version 1.3.11 of cygwin1.dll
library. The annexed code, fully working with previous 1.3.10 version (gcc
2.95.3-5 compiled), does not work at all with current one.
After correct completion of file writing, the code is not capable of
reading back the content disclosing the assignment to ii variable of the
260 value which is the record length of variable length FORTAN record.
I suppose it is due to a pointer mismatch.
Thank you for support
Fabrizio Impagnatiello
program prova1
call uno
call due
end
subroutine uno
character*256 vvv
open(unit=32, file='requests.db', form='unformatted',status='unknown')
n=162
write(32) n
do i=1,n
write(*,*) 'uno ',i
write(32) i,vvv
end do
close(32)
return
end
subroutine due
character*256 vvv
open(unit=32, file='requests.db', form='unformatted',status='old')
read(32) n
write(*,*) 'due TOT:',n
do i=1,n
read(32) ii,vvv
write(*,*) 'due ',i,ii
end do
close(32)
return
end
ing. Fabrizio Impagnatiello
f.impagnatiello@roma.alespazio.it
Alenia Spazio - A Finmeccanica S.p.a. Company
via Saccomuro 24 - 00131 Rome - Italy
Remote Sensing Engineering
Head of Advanced Study Department
phone +39.06.41512218
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/