gnunet-developers
[Top][All Lists]
Advanced

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

Re: [GNUnet-developers] using $TMPDIR instead of /tmp


From: Nils Gillmann
Subject: Re: [GNUnet-developers] using $TMPDIR instead of /tmp
Date: Sat, 5 May 2018 12:49:53 +0000

Christian Grothoff transcribed 3.3K bytes:
> Hi Nils,
> 
> You are aware of src/util/disk.c, where we do use $TMPDIR (with fallback
> to $TMP, $TEMP and finally /tmp) via GNUNET_DISK_mkdtemp() and
> GNUNET_DISK_mktemp() already?

The code in src/util/disk.c has a FIXME note, last touched almost
7 years ago. Before I use something similar in the mostly test-related
files, is there a quick way to resolve this fixme note?

> Naturally, there may be places in the code that don't use this, but they
> should ;-).
> 
> -Christian
> 
> On 05/05/2018 02:33 PM, Nils Gillmann wrote:
> > I would like to replace our use of /tmp in the source repository
> > with $TMPDIR.
> > 
> > Before I go ahead and try:
> > 
> > * Is that portable to at least POSIX compliant systems?
> > * (future issue) Will this affect the (so far just planned) work for better 
> > MS Windows integration?
> > * Is there a particular reasons why you picked /tmp instead of $TMPDIR?
> > 
> > For the first 2 questions I can search myself but would welcome replies.
> > The third question is what I'm really interested in.
> > 
> > Thanks
> > 
> > _______________________________________________
> > GNUnet-developers mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/gnunet-developers
> > 
> 




> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnunet-developers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]