1. Known Bugs List and new language features?
- Posted by rossboyd at ihug.com.au
Aug 14, 2001
Hi,
Is there a list of known bugs for Eu 2.2?
I've noticed spurious data while reading/writing to files opened for
update.
Is this a bug?
and
Does anyone know what language features/enhancements will be added in
2.3?
Thanks in advance,
Ross
2. Re: Known Bugs List and new language features?
>Hi,
>
>Is there a list of known bugs for Eu 2.2?
>I've noticed spurious data while reading/writing to files opened for
>update.
>Is this a bug?
We can't tell without some code which displays this spurious behavior.
Travis Beaty
aka Palo Duro Solutions
3. Re: Known Bugs List and new language features?
- Posted by euman at bellsouth.net
Aug 14, 2001
> Hi,
>
> Is there a list of known bugs for Eu 2.2?
> I've noticed spurious data while reading/writing to files opened for
> update.
> Is this a bug?
> Ross
What is spurious data?
Euman
euman at bellsouth.net
4. Re: Known Bugs List and new language features?
- Posted by rossboyd at ihug.com.au
Aug 14, 2001
> > Hi,
> >
> > Is there a list of known bugs for Eu 2.2?
> > I've noticed spurious data while reading/writing to files opened for
> > update.
> > Is this a bug?
>
> > Ross
>
> What is spurious data?
>
> Euman
> euman at bellsouth.net
Spurious data is random, unexpected, rubbish data.
When reading data from a standard text file opened with the "u" update
attribute the last record would have spurious data concatenated on the
end of it.
I can't recall exactly the code to produce the bug, otherwise, I would
have uploaded an example.
But my main questions are....
Is there a Known Bugs List?
What language enhancements are expected in Eu 2.3?
Thanks,
Ross
5. Re: Known Bugs List and new language features?
- Posted by euman at bellsouth.net
Aug 14, 2001
try something like this to read your file
note: rb = read binary
the file has to be binary else, you need to change this.
integer fn, junk, file_length
sequence filename, seq
fn = open(filename , "rb")
junk=seek(fn,-1)
file_length=where(fn)
junk=seek(fn,0)
seq = append(seq, get_bytes(fn, file_length))
There is only one or two bugs in Euphoria I personally know
of, but Robert has said these will be fixed in 2.3
One of them is a minor memory leak and the other
is a typo in one of the include files...
Euman
euman at bellsouth.net
6. Re: Known Bugs List and new language features?
- Posted by rossboyd at ihug.com.au
Aug 14, 2001
Thanks Euman for the info (and the code).
I didn't expect there to be many bugs -
And its good to know they're few and far between.
Thanks,
Ross
> There is only one or two bugs in Euphoria I personally know
> of, but Robert has said these will be fixed in 2.3
> One of them is a minor memory leak and the other
> is a typo in one of the include files...
> Euman
7. Re: Known Bugs List and new language features?
Hi Ross,
> I didn't expect there to be many bugs -
> And its good to know they're few and far between.
> Thanks,
> Ross
You can search for the words "bug" or "bugs" at
http://www.rapideuphoria.com/listserv.htm
and you'll have the full report on your question
about Eu bugs.
Then, about 'spurious' data, Eu really concatenate
some extra room to file, if you *seek* past the end
of your file. See docs.
--<seek>--
"The value returned by seek()is 0 if the seek was
successful, and non-zero if it was unsuccessful.
It is possible to seek past the end of a file.
In this case undefined bytes will be added
to the file to make it long enough for the seek."
Regards,
Igor Kachan
kinz at peterlink.ru
8. Re: Known Bugs List and new language features?
- Posted by rossboyd at ihug.com.au
Aug 15, 2001
Thankyou for the listserv link Igor.
And I believe you are correct about the seek past the end of file
causing the undefined bytes to be added to the file.
Ross
> You can search for the words "bug" or "bugs" at
> http://www.rapideuphoria.com/listserv.htm
> and you'll have the full report on your question
> about Eu bugs.
>
> Then, about 'spurious' data, Eu really concatenate
> some extra room to file, if you *seek* past the end
> of your file. See docs.
>
> --<seek>--
> "The value returned by seek()is 0 if the seek was
> successful, and non-zero if it was unsuccessful.
> It is possible to seek past the end of a file.
> In this case undefined bytes will be added
> to the file to make it long enough for the seek."
> Regards,
> Igor Kachan
9. Re: Known Bugs List and new language features?
- Posted by rforno at tutopia.com
Aug 15, 2001
I also reported a small bug in the trace() facility.
----- Original Message -----
From: <euman at bellsouth.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Known Bugs List and new language features?
>
> try something like this to read your file
> note: rb = read binary
> the file has to be binary else, you need to change this.
>
> integer fn, junk, file_length
> sequence filename, seq
>
> fn = open(filename , "rb")
> junk=seek(fn,-1)
> file_length=where(fn)
> junk=seek(fn,0)
>
> seq = append(seq, get_bytes(fn, file_length))
>
>
> There is only one or two bugs in Euphoria I personally know
> of, but Robert has said these will be fixed in 2.3
>
> One of them is a minor memory leak and the other
> is a typo in one of the include files...
>
>
> Euman
> euman at bellsouth.net
>
>
>
>
>