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

Collapse All | Expand All

(-)src/webdav.c.org (-1 / +1 lines)
Lines 1513-1519 Link Here
1513
1513
1514
    get_context *ctx = (get_context *) userdata;
1514
    get_context *ctx = (get_context *) userdata;
1515
    if (ctx->fd == 0)
1515
    if (ctx->fd == 0)
1516
        ctx->fd = open(ctx->file, O_WRONLY | O_CREAT | O_TRUNC);
1516
        ctx->fd = open(ctx->file, O_WRONLY | O_CREAT | O_TRUNC, 0666);
1517
    if (ctx->fd <= 0) {
1517
    if (ctx->fd <= 0) {
1518
        ne_set_error(session, _("%i can't open cache file"), 0);
1518
        ne_set_error(session, _("%i can't open cache file"), 0);
1519
        ctx->error = EIO;
1519
        ctx->error = EIO;

Return to bug 257823