• Bug#266973: svn diff doesn't handle ctrl-c

    From Adam Heath@1:229/2 to All on Fri Aug 20 01:30:15 2004
    From: [email protected]

    package: subversion
    version: 1.0.6-1.1
    severity: important

    From terminal one: strace -f svn.log svn diff > /dev/null
    From terminal two: for a in $(seq 1 10); do kill -TERM $(pidof svn); done

    Then, grep svn.log for TERM.

    You see it catching the TERM signal, but it keeps on processing. Other svn commands *do* quit.

    If you search for svn_cl__check_cancel in build-tree/subversion-1.0.6/subversion/clients/cmdline/, you see that function called by most of the commands. However, diff-cmd.c does *not* call it.

    svn diff takes 20-30s on my machine. Not having a working ctrl-c is just not acceptable.



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)