1. 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?

and

Does anyone know what language features/enhancements will be added in
2.3?

Thanks in advance,

Ross

new topic     » topic index » view message » categorize

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

new topic     » goto parent     » topic index » view message » categorize

3. 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?

> Ross

What is spurious data?

Euman
euman at bellsouth.net

new topic     » goto parent     » topic index » view message » categorize

4. 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?
>
> > 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

new topic     » goto parent     » topic index » view message » categorize

5. 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

new topic     » goto parent     » topic index » view message » categorize

6. Re: Known Bugs List and new language features?

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

new topic     » goto parent     » topic index » view message » categorize

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

new topic     » goto parent     » topic index » view message » categorize

8. Re: Known Bugs List and new language features?

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

new topic     » goto parent     » topic index » view message » categorize

9. Re: Known Bugs List and new language features?

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu