From: mimo AT gewi DOT kfunigraz DOT ac DOT at (mimo) Newsgroups: comp.os.msdos.djgpp Subject: strange findfirst/findnext Date: Sun, 07 Jun 1998 01:22:28 GMT Organization: MimoLand Lines: 33 Message-ID: <3579e78b.3173171@news.kfunigraz.ac.at> NNTP-Posting-Host: bonline19.kfunigraz.ac.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk hi, i got a strange problem when running the following piece of code: ... struct ffblk f; int done = findfirst("*.c", &f,0); while (!done) { printf("%10u %2u:%02u:%02u %2u/%02u/%4u %s\n", f.ff_fsize, (f.ff_ftime >> 11) & 0x1f, (f.ff_ftime >> 5) & 0x3f, (f.ff_ftime & 0x1f) * 2, (f.ff_fdate >> 5) & 0x0f, (f.ff_fdate & 0x1f), ((f.ff_fdate >> 9) & 0x7f) + 1980, f.ff_name); done = findnext(&f); } ... once, under rhide 14 it worked correctly, running it from command prompt or win95 i got noting i am using ver 2.80 (also tried 2.81) if someone gets a different behaviour it would be interesting for me to know mimo