X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=common-src%2Fdebug.c;fp=common-src%2Fdebug.c;h=cb3bdd558a8c9a8527578ea33defa06e8d02544f;hb=691567b16c13087b31ee4c2b6d038e57872fae82;hp=82a5664855b18322a22d664f8356d45100f8bc17;hpb=cc7d7b45afc706099acf7ff2490ec5667d370651;p=debian%2Famanda diff --git a/common-src/debug.c b/common-src/debug.c index 82a5664..cb3bdd5 100644 --- a/common-src/debug.c +++ b/common-src/debug.c @@ -1,6 +1,7 @@ /* * Amanda, The Advanced Maryland Automatic Network Disk Archiver * Copyright (c) 1991-1998 University of Maryland at College Park + * Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved. * All Rights Reserved. * * Permission to use, copy, modify, distribute, and sell this software and its @@ -536,6 +537,9 @@ debug_open(char *subdir) char *s = NULL; mode_t mask; + /* create AMANDA_TMPDIR */ + make_amanda_tmpdir(); + /* set up logging while we're here */ debug_setup_logging();