Bug 6011 – std.file.listdir is completely broken on OS X.

Status
RESOLVED
Resolution
DUPLICATE
Severity
blocker
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
Mac OS X
Creation time
2011-05-15T14:08:00Z
Last change time
2011-05-15T14:57:16Z
Assigned to
nobody
Creator
wallbraker

Attachments

IDFilenameSummaryContent-TypeSize
974test.dSimple program to demonstrate the bugapplication/octet-stream167
975log.txtOutput from program.text/plain95

Comments

Comment #0 by wallbraker — 2011-05-15T14:08:40Z
Created attachment 974 Simple program to demonstrate the bug The attached program does not produce the expected results. When I run the program I expected to get a listing of the root directory, what I got seems to be memory from somewhere inside the program. The output is always the same. I could not compile the program to 64bit so its a i386 program. Tried dmd 1.064, 1.065 and 1.068 all broken. System is a MacBook Pro, with Snow Leopard 10.6.7. Cheers Jakob.
Comment #1 by wallbraker — 2011-05-15T14:10:54Z
Created attachment 975 Output from program.
Comment #2 by wallbraker — 2011-05-15T14:57:16Z
Should have search the bugzilla first. *** This issue has been marked as a duplicate of issue 2842 ***