[torquedev] OS X outstanding issues

Glen Beane glen.beane at gmail.com
Wed Jan 14 17:50:48 MST 2009


On Tue, Jan 13, 2009 at 8:14 PM, Garrick Staples <garrick at usc.edu> wrote:

> Glen and I went back and forth on this one. I was having a hard time
> duplicating the problem and found that it seemed to depend on various values of
> $LANG.  Then I found that using a pointer instead of an array for the first
> argument of wordexp() doesn't trigger the problem.
>
> Whatever is going on inside of wordexp() (or the compiler) depends on how
> the first arg is aligned.  Turns out, the compiler is aligning arrays
> differently than pointers.
>
> It will be a fairly small patch to convert our usage of arrays to pointers and
> this won't be a problem any more.  I sent a first pass to Glen.


Unfortunately the problem is still occurring, but it doesn't happen as
regularly.


More information about the torquedev mailing list