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

Collapse All | Expand All

(-)/tmp/fuse.c.2.4.1 (+3 lines)
Lines 1647-1652 Link Here
1647
void fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd)
1647
void fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd)
1648
{
1648
{
1649
    fuse_session_process(f->se, cmd->buf, cmd->buflen, cmd->ch);
1649
    fuse_session_process(f->se, cmd->buf, cmd->buflen, cmd->ch);
1650
    free(cmd);
1650
}
1651
}
1651
1652
1652
int fuse_exited(struct fuse *f)
1653
int fuse_exited(struct fuse *f)
Lines 1684-1689 Link Here
1684
        int res = fuse_chan_receive(ch, cmd->buf, bufsize);
1685
        int res = fuse_chan_receive(ch, cmd->buf, bufsize);
1685
        if (res <= 0) {
1686
        if (res <= 0) {
1686
            free_cmd(cmd);
1687
            free_cmd(cmd);
1688
	    if (res == -1)
1689
		fuse_exit(f);
1687
            return NULL;
1690
            return NULL;
1688
        }
1691
        }
1689
        cmd->buflen = res;
1692
        cmd->buflen = res;

Return to bug 113747