> One other thing to note, is that if you go into cvp (Codeview),
> and do a file, OS-shell, it somehow manages to clear the device
> drivers out of all the low-numbered file handles, which means
> that you don't need to patch anything, you simply run cvp as
> your main shell! I don't know why this does that, or more
> importantly, how to write a program a lot smaller than cvp, that
> both increases the number of file handles AND clears the low
> numbered file handles. If anyone knows how to do the latter,
> could you please contact Paul Edwards at 3:711/934{at}fidonet.
JdBP> Oh come on, Paul. That's obvious. Just use DosSetRelMaxFH to find the
JdBP> size of the per-process file table, N, and loop from 3 to N closing all
JdBP> open file handles. You can expand the table at the same time.
That's a rather strange and brave thing for cvp to be doing. Do you
seriously think that they're doing that, and if so, why? I would have
thought that device drivers were validly using those file handles.
BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|