In this chunk

    set result [catch init-files output]
    check-error $result $output
    if {$result} {
        # drat! Probably ought to display the newDiff dialog
        # or something.
        set ret 0

    } else {

        # do the diff
        do-diff

        move first 1 1

        set ret 1
    }

The init-files call is calling tmpfile.  Then do-diff calls it with the same
parameters, expecting to overwrite the temporary file(s).

The fix for #339777 breaks for the case where I use it to diff a file against
an RCS file (whose directory happens to be a symbolic link).

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to