Message-Id: <199604121413.KAA20749@delorie.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: djgpp AT delorie DOT com From: Nick Burton Subject: dir.h problem Date: Fri, 12 Apr 1996 14:15:13 +0000 Please I realy, realy need help with this one as an applicaltion I wrote for DJGPP 2.6.3 dosent work because of this error, when I compile it under 2.7.2, and it must now be compiled under this! The problem is as follows and is related to findfirst and findnext functions. Example code from the GNU DOCS, #include #include main() { struct ffblk f; int done = findfirst("*.tga",&f,FA_ARCH|FA_RDONLY); while(!done) { printf("%s\n",f.ff_name); done = findnext(&f); } } The expected and correct output should be, ANGTEST.TGA DOME.TGA PIRAMID.TGA RENO10.TGA RES1.TGA RES2.TGA RES4.TGA REZ3.TGA The actual output is, GTEST.TGA ME.TGA RAMID.TGA NO10.TGA S1.TGA S2.TGA S4.TGA Z3.TGA As you can see the first two chars of each line are missing, can anyone help please. Thanks in advance, Nick Burton...............................