X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Jim Michaels Newsgroups: comp.os.msdos.djgpp Subject: Re: dirent structure wrong according to online documentation Date: Mon, 19 Jan 2009 15:22:46 -0800 (PST) Organization: http://groups.google.com Lines: 23 Message-ID: <8a9fbf97-6321-4882-8510-714e2023aae1@w1g2000prk.googlegroups.com> References: <45698add-916e-4b28-89af-80eb795bba60 AT z27g2000prd DOT googlegroups DOT com> <200901040903 DOT n0493pTa030645 AT envy DOT delorie DOT com> <22e6bf83-f793-4ffc-855d-d1dad838c578 AT e1g2000pra DOT googlegroups DOT com> <5525a459-96b6-42b6-84ad-48aaa6eaeacd AT f40g2000pri DOT googlegroups DOT com> NNTP-Posting-Host: 76.115.70.155 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1232407367 1102 127.0.0.1 (19 Jan 2009 23:22:47 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Mon, 19 Jan 2009 23:22:47 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: w1g2000prk.googlegroups.com; posting-host=76.115.70.155; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id n0JNU48Z011069 Reply-To: djgpp AT delorie DOT com On Jan 12, 10:44 am, Eli Zaretskii wrote: > > From: Jim Michaels > > Date: Mon, 12 Jan 2009 00:00:32 -0800 (PST) > > > > This is with DJGPP v2.03, I presume? > > > > Anyway, why do you need d_type so badly? > > > actually, I downloaded this from current, but not from CVS. > > Yes, I understood that much. > > > I see this structure in dirent.h: > > struct dirent { > >   char d_namlen; > >   char d_name[256]; > > }; > > Right, but you didn't answer my question above: why do you need d_type > so badly?  What cannot be done without it? I guess I can live without it. I can use stat. Jim Michaels