X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Jim Michaels Newsgroups: comp.os.msdos.djgpp Subject: dirent structure wrong according to online documentation Date: Sun, 4 Jan 2009 00:42:50 -0800 (PST) Organization: http://groups.google.com Lines: 23 Message-ID: <45698add-916e-4b28-89af-80eb795bba60@z27g2000prd.googlegroups.com> NNTP-Posting-Host: 76.115.70.155 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1231058570 10181 127.0.0.1 (4 Jan 2009 08:42:50 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sun, 4 Jan 2009 08:42:50 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: z27g2000prd.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 Reply-To: djgpp AT delorie DOT com http://www.delorie.com/djgpp/doc/libc/libc_646.html 1998 states that the directory structure doesn't have d_type (why? All my borland compiler dos stuff did or had something like it) www.delorie.com/djgpp/doc/libc-2.02/libc_554.html states that dirent structure has mode_t d_type; april 2004 why did someone backrev something perfectly useful? I need the d_type. please put it back in dirent.h and associated files please. (libc.a) and let me know what zip file to download. I am writing a du program. I can't do directory walking without directory detection. my only workaround is stat, and I hear it's slow. thanks in advance. Jim Michaels