This depends on the current working directory being set correctly. You
can't depend on that unless you set it yourself.
and
UInt8 *userslibPathPOSIX = "~/lib";
The ~ character is expanded by the shell, not by the operating system.
That is, if you're in tcsh, and you type ~, then tcsh expands that
character out to the user's home directory; but passing that character
to a posix API will just interpret it literally and won't expand it.
UInt8 *userslibPathPOSIX = "Users/~/lib";
same as above.
UInt8 *userslibPathPOSIX = "$HOME/lib";
Again, the $HOME syntax is shell syntax, and is only expanded by a
command shell. It's not expanded by posix APIs.
-eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden