1. a filesize error

Hi all,

I discovered something, and i don't know what app to blame for this
anomally.... i wrote some Eu code to build a file listing of words of a
specified length, and for some reason i don't know, the win95 Explorer lists
some files as 3.99Gig in length. The thing is, if i check file properties,
one file, for instance, it says it's 66bytes,,, `cause there are 3 words in
the file of length 20 characters each word, ( (3 x 20) + (3 x crlf) = 66 ).
Here is that file:

COMPARTMENTALIZATION
ELECTROENCEPHALOGRAM
INSTITUTIONALIZATION

So what do i blame the bad length reporting on? Is Eu storing the file
right? If i "refresh" in Explorer, the sizes are reported properly, making
me think Explorer isn't being properly notified of the file being closed,
and it's prolly a windoze bug.


Kat,
puzzled

new topic     » topic index » view message » categorize

2. Re: a filesize error

Kat writes:
> So what do i blame the bad length reporting on?
> Is Eu storing the file right? If i "refresh" in Explorer,
> the sizes are reported properly, making me think Explorer
> isn't being properly notified of the file being closed,
> and it's prolly a windoze bug.

I just tried a similar test on my system using Explorer
and an open file created by Euphoria. There was
no problem. I haven't had any bug reports in this area,
so I assume that it's just a glitch in Explorer. Things
might be a bit unpredictable when one process is
writing to a file and another is asking for the file size.
Euphoria uses only the standard O/S calls for file operations.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://www.RapidEuphoria.com

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

3. Re: a filesize error

----- Original Message -----
From: Robert Craig <rds at ATTCANADA.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Monday, December 06, 1999 4:20 PM
Subject: Re: a filesize error


> Kat writes:
> > So what do i blame the bad length reporting on?
> > Is Eu storing the file right? If i "refresh" in Explorer,
> > the sizes are reported properly, making me think Explorer
> > isn't being properly notified of the file being closed,
> > and it's prolly a windoze bug.
>
> I just tried a similar test on my system using Explorer
> and an open file created by Euphoria. There was
> no problem. I haven't had any bug reports in this area,
> so I assume that it's just a glitch in Explorer. Things
> might be a bit unpredictable when one process is
> writing to a file and another is asking for the file size.
> Euphoria uses only the standard O/S calls for file operations.

I agree this is most likely a windoze bug, the files were closed when i did
this, and no Eu processes were running. Explorer was open while Eu ran, and
Explorer had the "folder" open where the files were put by Eu. I clicked on
the files, one at a time, and Explorer insisted they were 3.99Gig, even
after asking for the properties on each file separately, and having it
display the "folder"'s file's  details.

Explorer does give me file sizes ok while an app is writing the file.

<shrug>

Kat

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

Search



Quick Links

User menu

Not signed in.

Misc Menu