From: guidoni AT sbox DOT tu-graz DOT ac DOT at (Guido Pinkas) Newsgroups: comp.os.msdos.djgpp Subject: DJGPP v2 Bug ? Date: 25 Nov 1996 10:26:08 GMT Organization: Graz University of Technology, Austria Lines: 19 Message-ID: <57bs80$6hq@fstgal00.tu-graz.ac.at> NNTP-Posting-Host: freeway.tu-graz.ac.at To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I encountered a problem,when I tried to list a Directory in DOS Mode. I used the struct ffblk Structure and the findfirst/findnext-procedures just like in the example given in Info. It also works,but unfortunately, the ff_name cuts the first two characters of every filename and the ff_fsize is totally screwed up... I didn't test the other fields of ffblk. btw,I ripped this code out of a Borland-C File,where it worked fine and when it didn't work first, I looked at the example and also didnt find any error in my code part. Did anybody else have such a problem or is it really a bug or should I get a 1001st time through my code :) ?? btw,I can post the code here,if needed. CU,Guido. -------------- "One man's error is another mans data." (Murphy,one of his laws)