Allow $TMPDIR to override most temporary directory uses.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 24 Sep 2010 17:54:37 +0000 (18:54 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 24 Sep 2010 18:25:06 +0000 (19:25 +0100)
commitc9c0ac7d362fd19214c2c5e5bb7dcd9059950887
tree6e5b1b2888baaf0bdb3b65d91d5f6f5bbef22f9c
parent840536ea5a0568296dfd3e483442c76b93c5a949
Allow $TMPDIR to override most temporary directory uses.

Be more consistent in allowing the user to override use of the
temporary directory by specifying $TMPDIR.  Also prefer P_tmpdir
macro (defined in <stdio.h>) if that is defined, rather than
hard-coding "/tmp" for the fallback location.
12 files changed:
fish/edit.c
fish/fish.c
fish/fish.h
fish/hexedit.c
fish/more.c
generator/generator_c.ml
src/appliance.c
src/guestfs-internal.h
src/guestfs.h
src/inspect.c
src/launch.c
test-tool/test-tool.c