View | Details | Raw Unified | Return to bug 20038 | Differences between
and this patch

Collapse All | Expand All

(-)src/gp_unifs.c (-3 / +3 lines)
Lines 71-74 Link Here
71
    strcat(fname, "XXXXXX");
71
    strcat(fname, "XXXXXX");
72
    mktemp(fname);
72
    len = mkstemp(fname); /* reuse the no longer needed variable */
73
    return fopen(fname, mode);
73
    if (len == -1) return NULL;
74
    return fdopen(len, mode);
74
}
75
}
75
------- end of patches/patch-ad

Return to bug 20038