70
71
#elif defined(HAVE_MKSTEMP)
79
79
if (!dir && ! (dir =getenv("TMPDIR")))
83
83
errno=my_errno= ENAMETOOLONG;
86
strcpy(convert_dirname(to,dir,NULL),prefix_buff);
86
strcpy(convert_dirname(to,dir,NULL),prefix_str.c_str());
88
88
/* TODO: This was old behavior, but really don't we want to
89
89
* unlink files immediately under all circumstances?