Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 275200 | Differences between
and this patch

Collapse All | Expand All

(-)jhead.c.orig (-1 / +1 lines)
Lines 351-357 Link Here
351
    while(a > 0 && FileName[a-1] != SLASH) a--;
351
    while(a > 0 && FileName[a-1] != SLASH) a--;
352
    memcpy(TempName, FileName, a);
352
    memcpy(TempName, FileName, a);
353
    strcpy(TempName+a, "XXXXXX");
353
    strcpy(TempName+a, "XXXXXX");
354
    mktemp(TempName);
354
    mkstemp(TempName);
355
    if(!TempName[0]) {
355
    if(!TempName[0]) {
356
        ErrFatal("Cannot find available temporary file name");
356
        ErrFatal("Cannot find available temporary file name");
357
    }
357
    }

Return to bug 275200