Commit b70c831a authored by Nils Goroll's avatar Nils Goroll

finally? get the struct stat right

parent 58c520bd
......@@ -979,7 +979,11 @@ _mkxtempl(char *template, int slen, int flags, enum temp_kind kind) {
int ifd, fd;
char *rest;
char *save, *r, *spos;
#ifdef _LP64
struct stat tstat;
#else
struct stat64 tstat;
#endif
if (slen < 0 || template == NULL || *template == '\0') {
errno = EINVAL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment