README for CSCI-e215      2/28/2002

Russell J Lowke

Assignment 2: "pfind"

______

files: pfind.h         // header file for pfind
       pfind.c         // pfind main code
       myLib.c         // my c lib of useful stuff
       makefile        // makefile to complile aac
       Plan            // general plan for aac
       typescript      // typescript of pfind running
       README          // this file - Answer to Open File Limit

______

Open File Limit Question:


Solution would be,

When opening the directory file, read all it's data into a linked list, then
close the open directory.  This way only one directory will ever be open at any
time.  After closing the directory, all the data in the linked list is
processed.  The linked list is local to searchdir, thus multiple lists will
be in memory instead of multiple open directories.  A problem with this
solution is multiple users.  If a change is made to the directory after the
directory has been saave to the list, but before the list is processed, an
error could occur.
