[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Global-commit] global/gtags gtags.c
From: |
Shigio YAMAGUCHI |
Subject: |
[Global-commit] global/gtags gtags.c |
Date: |
Sat, 08 Oct 2005 08:49:50 -0400 |
CVSROOT: /cvsroot/global
Module name: global
Branch:
Changes by: Shigio YAMAGUCHI <address@hidden> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Global-commit] global/gtags gtags.c,
Shigio YAMAGUCHI <=