Article View: comp.sys.mac
Article #1422Re: Saving vRefNum's
From: Steve Leeke
Date: Fri, 14 Jul 1989 20:38
Date: Fri, 14 Jul 1989 20:38
22 lines
1510 bytes
1510 bytes
In article <1471@garcon.cso.uiuc.edu> dorner@pequod.cso.uiuc.edu (Steve Dorner) writes:
>In article <84039@ti-csl.csc.ti.com> leeke@m2.UUCP (Steve Leeke) writes:
>>I would like to be able to recursively scavange a directory for a
>>certain type of file and save the vRefNum when a file of a certain
>>type is found. I've included to code I'm using by it seems to cause
>>problems since the working directory is closed after I save the
>>vRefNum, but if I leave it open I wind up with too many working
>>directories open. Any suggestions?
>
>Save the DirId instead of the vRefNum. You can always open it as a working
>directory later, when you actually intend to USE it. The DirId is also
>unique forever for a particular directory on a particular volume.
>--
>Steve Dorner, U of Illinois Computing Services Office
>Internet: s-dorner@uiuc.edu UUCP: {convex,uunet}!uiucuxc!dorner
>IfUMust: (217) 244-1765
Steve & Earle:
This is exactly what I wound up doing and it works great. Many thanks!
Steve Leeke
Technical Details
Message-ID:
<84106@ti-csl.csc.ti.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!apple!sun-barr!newstop!texsun!pollux!ti-csl!m2!leekeReferences:
<84039@ti-csl.csc.ti.com> <1471@garcon.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!apple!sun-barr!newstop!texsun!pollux!ti-csl!m2!leeke From: leeke@m2.csc.ti.com (Steve Leeke) Newsgroups: comp.sys.mac Subject: Re: Saving vRefNum's Message-ID: <84106@ti-csl.csc.ti.com> Date: 14 Jul 89 20:38:05 GMT References: <84039@ti-csl.csc.ti.com> <1471@garcon.cso.uiuc.edu> Sender: news@ti-csl.csc.ti.com Reply-To: leeke@m2.UUCP (Steve Leeke) Organization: TI Computer Science Center, Dallas Lines: 22