comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Bug in IDL's FILE_INFO function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Bug in IDL's FILE_INFO function [message #55706 is a reply to message #55607] Tue, 04 September 2007 12:45 Go to previous messageGo to previous message
Kenneth Bowman is currently offline  Kenneth Bowman
Messages: 86
Registered: November 2006
Member
In article <fbjr4p$e42$1@news.nems.noaa.gov>, Dave Wuertz <a@b.com> wrote:

> "NOTE: If the file pointed to by 'path' is currently open, use FSTAT
> to query for its info. FILE_INFO does not always catch changes that
> have occurred in a file that is currently open. FSTAT's info, on the
> other hand, is always current."

Wouldn't it be better to say something like this?

If the file is currently open, call FLUSH for that unit before
using FILE_INFO to ensure that the file state on disk is up to date.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Error bars in ln-space with PLOTERROR
Next Topic: how IDL or ION returns an alpha image (32 bits)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:46:16 PDT 2025

Total time taken to generate the page: 1.19470 seconds