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=d28952249e392eb31bc8eecc53f6c477f30c617b;hp=82a5664855b18322a22d664f8356d45100f8bc17;hpb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;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();