Re: ORBit-like /tmp functions



> I've just checked code again and it is wrong : it is using g_get_tmp_dir
> which is reading TMP or TMPDIR variable, which is often set to
> $HOME/tmp, so you end up with locks on NFS :((

Using $TMPDIR is the right thing to do.  If a user points that to an
NFS volume, he deserves trouble.  As does anyone who doesn't have
/tmp or who puts /tmp under NFS.

The whole purpose of $TMPDIR is to direct temporary files somewhere.

Morten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]