Switch to unified view

a/src/utils/pathut.cpp b/src/utils/pathut.cpp
...
...
122
#else
122
#else
123
    mktemp(cp)
123
    mktemp(cp)
124
#endif // HAVE_MKDTEMP
124
#endif // HAVE_MKDTEMP
125
    ) {
125
    ) {
126
    free(cp);
126
    free(cp);
127
  reason = "maketmpdir: mktemp failed\n";
127
  reason = "maketmpdir: mktemp failed for [" + tdir + "] : " +
128
      strerror(errno);
128
    tdir.erase();
129
    tdir.erase();
129
    return false;
130
    return false;
130
    }   
131
    }   
131
    tdir = cp;
132
    tdir = cp;
132
    free(cp);
133
    free(cp);