This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

Re: BUG BUG BUG -- cygwin1.dll v1.3.11


On Tue, Jun 25, 2002 at 08:22:36PM +0200, Fabrizio Impagnatiello wrote:
>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.

Sorry but I don't do fortran.  I suspect this might be due to the
binmode/textmode changes but I can't offer any more than that.

Hopefully someone else will have some insight.

cgf

>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
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
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/


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