Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #532 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

lineio example doesn't work on Mac OS X

Reported by: Carlos Assigned to: kris
Priority: critical Milestone: 1.0
Component: Tango Version: trunk
Keywords: Cc: csantander619@gmail.com

Description

$ ./lineio lineio.d
tango.core.Exception.IOException: lineio.d :: Bad file descriptor

gdb doesn't provide any extra info as the program exits immediately. I can't even set a breakpoint (it says: Could not find OSO file: "")...

Change History

07/04/07 14:48:58 changed by kris

  • priority changed from major to critical.
  • milestone set to 0.99 RC3.

Yeah, Sean has been playing with 64bit file descriptors, and it's having an impact on all linux IO. He's trying to get it resolved :)

07/04/07 15:00:34 changed by sean

  • status changed from new to assigned.

There is a bug in how or when FileConduit? obtains file locks, but I haven't quite figured it out yet. I'll likely have a fix sometime today.

07/05/07 23:39:04 changed by sean

  • owner changed from sean to kris.
  • status changed from assigned to new.
  • milestone changed from 0.99 RC3 to 1.0.

After some discussion, it sounds like we will need to re-think the semantics of file access sharing. I'm going to reassign this one to Kris and target it at a later release.

07/06/07 03:56:37 changed by kris

  • status changed from new to assigned.

yeah, support for file locks on linux has been removed. IO should now operate correctly again.

07/06/07 03:57:00 changed by kris

  • status changed from assigned to closed.
  • resolution set to fixed.

07/06/07 09:37:35 changed by Carlos

Thanks.