CVSROOT:        /cvsroot/global
Module name:    global
Branch:         
Changes by:     Shigio YAMAGUCHI <[EMAIL PROTECTED]>    05/10/08 12:49:50

Modified files:
        gtags          : gtags.c 

Log message:
        Signal handling code was deleted.
        
        Previously, in gtags, we catch signals and terminate the command safely.
        
        [gtags/gtags.c]
        /* Signal handler */
        void
        onintr(int signo)
        {
        exitflag = 1;
        }
        
        ...
        /* Termination in suitable timing. */
        if (exitflag)
        exit(1);
        ...
        
        If you push the interrupt key while executing gtags(1), the exitflag 
will
        be set by onintr() first, and the flag will be checked afterwards to
        terminate itself. But it seems to be meaningless, because the tags files
        are left halfway though are not destroyed. On the other hand, gtags 
sometimes
        does not end at once even if the interrupt key is pushed.
        
        Thinking about the above, I have decided to remove the signal handling 
code.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/gtags/gtags.c.diff?tr1=1.144&tr2=1.145&r1=text&r2=text



_______________________________________________
Global-commit mailing list
Global-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/global-commit

Reply via email to