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 13:03:33 +0000

Christian Grothoff transcribed 3.0K bytes:
> On 05/05/2018 02:41 PM, Nils Gillmann wrote:
> >> I grepped for "/tmp" in "src" and a not so small number of files was 
> >> returned,
> >> which is why I asked.
> >> I didn't check the context in the files so far, but it is correct that I
> > I checked the file name context, and 99% are tests. Even then we should not
> > use /tmp, so I'll check that soon'ish.
> > 
> 
> Agreed, it would be great if you could change the tests to use the
> disk.c functionality.

actually some of them do.

test_plugin_namecache.c:

GNUNET_DISK_directory_remove ("/tmp/gnunet-test-plugin-namecache-sqlite");

or did I look at the wrong code?

> As often, libgnunetutil has many, many helpful
> functions, but we do not use them as much as we should ;-)
> 




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

Attachment: signature.asc
Description: PGP signature


reply via email to

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