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

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- davfs2-1.3.0/src/webdav.c   2009-02-06 03:31:40.000000000 -0600
0
++ davfs2-1.3.0.old/src/webdav.c       2009-02-06 03:25:54.000000000 -0600
Lines 1498-1504 Link Here
1498
    get_context *ctx = (get_context *) userdata;
1498
    get_context *ctx = (get_context *) userdata;
1499
    if (ctx->fd == 0)
1499
    if (ctx->fd == 0)
1500
        ctx->fd = open(ctx->file, O_WRONLY | O_CREAT,0666 | O_TRUNC);
1500
        ctx->fd = open(ctx->file, O_WRONLY | O_CREAT | O_TRUNC);
1501
    if (ctx->fd <= 0) {
1501
    if (ctx->fd <= 0) {
1502
        ne_set_error(session, _("%i can't open cache file"), 0);
1502
        ne_set_error(session, _("%i can't open cache file"), 0);
1503
        ctx->error = EIO;
1503
        ctx->error = EIO;

Return to bug 257823