OPENDIR number of files problem
Kenneth Brody
kenbrody at bestweb.net
Wed Oct 8 13:46:15 PDT 2008
Quoting Bruce Easton (Wed, 8 Oct 2008 16:26:11 -0400):
> Kenneth Brody Wednesday, October 08, 2008 4:02 PM:
[...]
>> OPENDIR() returns a (3,.0) value, which is basically the value mod 1000.
>> If you have more than 999 matching filenames, the value will be wrong.
>> This will be fixed in the next update.
>>
>> In the meantime, you can use @DIRLIST["0"] to get the correct count.
>
> Thanks, Ken - Marcia is the one who showed me something
> was up on a system she's supporting that captures RFID
> readings - I saw all those files in one directory
> and told her 'all these I-nodes aren't free, you know!' :)
Just use unlink(2) and your i-nodes shall be free!
+----------+
| Free the |
| i-nodes! |
+----++----+
||
||
||
++
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list