Bug 6 – flesh out dirent struct

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
PowerPC
OS
Mac OS X
Creation time
2006-02-18T15:03:00Z
Last change time
2015-06-09T05:14:46Z
Assigned to
ibuclaw
Creator
braddr

Comments

Comment #0 by braddr — 2006-02-18T15:03:09Z
The current dirent structure provided is just the d_name field. std.file now expects a more fleshed out dirent. I did some quick hacking in the recent dmd merging to get it functional, but not pretty: See: http://cvs.puremagic.com/git/?p=dmd.git;a=commitdiff;h=cdd7381da7c5aa5f840a2b491fcd41e50c13856e
Comment #1 by braddr — 2006-05-27T02:11:19Z
the official 0.18 release switches std.file to do extra stat calls. It works, but is somewhat inefficient on platforms that have a rich dirent struct. I'm leaving this one open until a more indepth solution can be constructed.
Comment #2 by braddr — 2006-11-25T15:08:07Z
Mass reassignment of gdc bugs from me to David.
Comment #3 by andrei — 2010-12-30T12:43:06Z
@Brad: the URL doesn't seem to work, could you please fix? Thanks!
Comment #4 by braddr — 2010-12-30T20:21:37Z
I might be able to dig up where that git tree ended up, but chances are rather high that the posix headers in druntime are accurate. This bug is from 2006 after all. Marking as resolved. It can be reopened or refiled if it's not.