On Sunday 30 January 2005 09:00 am, Justin Pryzby wrote: > I changed my mind. A friend, on his amd64 box, has /.aptitude/. > Aptitude must chdir to $HOME or getpwent(getuid) or getpwent(geteuid), > whichever you prever. (Okay, so chdir isn't actually necessary, but > whenever it references its preferences file it should not use the > current directory, but something derived from the user's home > directory.
It doesn't use the current directory...although it might do something funny if $HOME is empty; yet another reason not to use it. Daniel -- /------------------- Daniel Burrows <[EMAIL PROTECTED]> ------------------\ | "Truly, you have a dizzying intellect." | | -- "The Princess Bride" | \------------ Evil Overlord, Inc: http://www.eviloverlord.com --------------/
pgpAjAseKPcDR.pgp
Description: PGP signature