OPENDIR number of files problem

Bruce Easton bruce at stn.com
Wed Oct 8 12:33:18 PDT 2008


Maybe someone has seen this before.  I'm running fp 5.0.13 on a SCO system
and for a directory that has 2180 files in it matching ".csv", OPENDIR
returns 180, dropping the leading digit.  If there are 2181 files in the
directory, it will return 181 (returning this value into a dummy field
declared as (5,.0).  (I found out these values using the debugger.) There is
no automatic processing seen by this process.

The then line reads:

Then:  ab(5,.0)=OPENDIR("*.csv","/appl/tmp/rfid")

(For a directory containing 2180 files, the debugger shows
the value of ab at this point to be 180.)

At the OS prompt, standing in /appl/tmp/rfid,
issuing an "ls -l | wc" yields 2180 lines, and
I've roughly validated that number by paging
through the directory with just ls -l.

I didn't see anything in release notes, but maybe I missed
something.

Bruce

Bruce Easton
STN, Inc.







More information about the Filepro-list mailing list