Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!nic.csu.net!csun!csunb.csun.edu!abcscnuk From: abcscnuk@csunb.csun.edu (Naoto Kimura (ACM)) Newsgroups: comp.os.msdos.programmer Subject: Re: Bug in TC findfirst()/findnext()! Message-ID: <1991Feb27.165555.11363@csun.edu> Date: 27 Feb 91 16:55:55 GMT References: <1991Feb25.192823.18224@ux1.cso.uiuc.edu> Sender: news@csun.edu (News Administrator) Organization: csun Lines: 23 In article Nathan.Torkington@comp.vuw.ac.nz (Nathan Torkington) writes: ]In article <1991Feb25.192823.18224@ux1.cso.uiuc.edu> gordon@osiris.cso.uiuc.edu (John Gordon) writes: ] ] ... (text deleted) ... ] ... (description of problem: findfirst and findnext match regular ] files, even though only the FA_DIREC attribute is selected) ... ] If I'm not mistaken, this is because DOS performs this way ! I ran across this problem when implementing a findfirst and findnext procedure for Turbo Pascal (v 3.0). Other strange things that occurr because of quirks in DOS. Using TYPE and I/O redirection to print a file to a serial port printer fails miserably (you end up getting a "Printer out of paper error" whenever the printer signals that its buffer is full), while using the COPY command to copy to the printer works fine. //-n-\\ Naoto Kimura _____---=======---_____ (abcscnuk@csuna.csun.edu) ====____\ /.. ..\ /____==== // ---\__O__/--- \\ Enterprise... Surrender or we'll \_\ /_/ send back your *&^$% tribbles !!