Re: ORBit-like /tmp functions
- From: mortenw gnome org
- To: gtk-devel-list gnome org
- Subject: Re: ORBit-like /tmp functions
- Date: Fri, 13 Aug 2004 21:12:05 -0400 (EDT)
> 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]