[physfs] Two Linux problems

Henk Boom henk at henk.ca
Mon Jul 6 19:31:29 EDT 2009

2009/7/6 Ryan C. Gordon <icculus at icculus.org>:
>> I'm not suggesting that I'm trying to use the ~ shorthand in my
>> program, of course I would use PHYSFS_getUserDir for that.  What I
>> meant to say is that if the user has a PATH environment variable which
>> uses ~ in some of the components (for example, by setting it in their
>> .bashrc), physfs will not search those directories when looking for
>> the executable.
> I didn't realize that was legal (for the reasons Thorbjørn mentioned), but
> if, say, execvp() handles it, we should too. I'll make a note to look into
> this.

I just double checked, and it looks like it's a bash quirk. bash finds
the commands just fine, but if I run the 'which' command or use execvp
it doesn't, which makes it pretty clear. My bad =(.

Have you had a chance to take a look at the /proc issue?


More information about the physfs mailing list