[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Folder recursion and recognition problem



At 1:02 PM -0500 03/06/96, Hal Wine wrote:
>This means you should either:
>a) do a chdir() to the supplied directory, then always do an opendir()
>on the current directory (':' for Mac, '.' for unix/dos).  Or,
>b) always prepend the directory to the filename returned by readdir().
>
>My hunch is (a) runs faster on the Mac (due to internals of the Mac
>file system), and no slower on other file systems.

No, according to Matthias, a) shouldn't run faster. He said MacPerl fully
expands relative pathnames to absolute pathnames before doing anything with
them.

--
Brad Cox; bcox@gmu.edu; (703) 968-8229; Social and Organizational Learning;
http://www.virtualschool.edu/mon Middle of Nowhere; A Project with
Paradoxical Goals