Check-in [acb4d8bdc9]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:improve tcl-fuse w.r.t. [de97313b0b]
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: acb4d8bdc95b7e8a317326e2d47fed8f62da9542
User & Date: chw 2019-05-30 15:10:25.866
Context
2019-05-31
15:11
fix for ticket [0e6bcf5d2a] check-in: f0d89b0c83 user: chw tags: trunk
2019-05-30
15:11
merge with trunk check-in: 5198b4c951 user: chw tags: wtf-8-experiment
15:10
improve tcl-fuse w.r.t. [de97313b0b] check-in: acb4d8bdc9 user: chw tags: trunk
09:29
add tcl upstream changes check-in: 1af92e6c04 user: chw tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
jni/tcl/library/msgs/ja.msg became executable.
Changes to undroid/tcl-fuse/unix/tclfuse.c.
383
384
385
386
387
388
389


390
391
392
393
394
395
396
    if (!buf) {
        Tcl_SetResult(mp->fsdata->interp, "fuse: failed to allocate read buffer", TCL_STATIC);
        Tcl_BackgroundError(mp->fsdata->interp);
        // NOTE: We don't teardown in this case, we just don't process the request.
        return;
    }



    while (!(exited = fuse_session_exited(se))) {
        struct fuse_chan *tmpch = ch;
        res = fuse_chan_recv(&tmpch, buf, bufsize);
        if (res == -EINTR)
            continue;
        if (res == 0)
            exited = fuse_session_exited(se);







>
>







383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
    if (!buf) {
        Tcl_SetResult(mp->fsdata->interp, "fuse: failed to allocate read buffer", TCL_STATIC);
        Tcl_BackgroundError(mp->fsdata->interp);
        // NOTE: We don't teardown in this case, we just don't process the request.
        return;
    }

    Tcl_DeleteChannelHandler(mp->chan, ChannelEventHandler, (void *) mp);

    while (!(exited = fuse_session_exited(se))) {
        struct fuse_chan *tmpch = ch;
        res = fuse_chan_recv(&tmpch, buf, bufsize);
        if (res == -EINTR)
            continue;
        if (res == 0)
            exited = fuse_session_exited(se);
423
424
425
426
427
428
429


430
431
432
433
434
435
436
                Tcl_BackgroundError(mp->fsdata->interp);
                return;
            }
            ckfree((char *) mp);
        }
        return;
    }


}

static struct fuse *tclfuse_setup(int argc, const char *argv[],
                      const struct fuse_operations *op,
                      size_t op_size,
                      char **mountpoint,
                      int *multithreaded,







>
>







425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
                Tcl_BackgroundError(mp->fsdata->interp);
                return;
            }
            ckfree((char *) mp);
        }
        return;
    }

    Tcl_CreateChannelHandler(mp->chan, TCL_READABLE, ChannelEventHandler, (void *) mp);
}

static struct fuse *tclfuse_setup(int argc, const char *argv[],
                      const struct fuse_operations *op,
                      size_t op_size,
                      char **mountpoint,
                      int *multithreaded,