Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Wednesday February 25, 2004
12:39 PM

Solaris and readdir_r()

[ #17619 ]
When I built a 64-bit Perl, one of the first things I tried to build was Proc::ProcessTable. Unfortunately, it got very upset. Naturally, I had to do some further investigation.

My research indicates that the Solaris version of readdir_r() is *broken* in 64-bit mode. It compiles fine, but core dumps as soon as you try to run it. However, the POSIX version seems to work just dandy. I've forwarded this information to Dan Urist to get his thoughts on the subject.

On the whole, I think I'm in agreement with Casper Dik (a solid veteran of comp.unix.solaris) when he says, "Which idiot would read from the same DIR* in two threads?". :)

Update: Dan received a similar bug report from someone else and is going to use the POSIX version in the future.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.