Update of /cvsroot/cscope/cscope/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5309/src
Modified Files:
display.c
Log Message:
Fix type in fallback definition of sigjmp_buf.
Index: display.c
===================================================================
RCS file: /cvsroot/cscope/cscope/src/display.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** display.c 12 Feb 2004 18:13:14 -0000 1.24
--- display.c 30 Apr 2004 15:29:04 -0000 1.25
***************
*** 58,62 ****
# define sigsetjmp(a,b) setjmp(a)
# define siglongjmp(a,b) longjmp(a,b)
! # typedef jmp_buf sigjmp_buf;
#endif
--- 58,62 ----
# define sigsetjmp(a,b) setjmp(a)
# define siglongjmp(a,b) longjmp(a,b)
! typedef jmp_buf sigjmp_buf;
#endif
***************
*** 176,183 ****
/* display the pattern */
if (changing == YES) {
! printw("Change \"%s\" to \"%s\"", pattern, newpat);
} else {
printw("%c%s: %s", toupper((unsigned char)fields[field].text2[0]),
! fields[field].text2 + 1, pattern);
}
/* display the column headings */
--- 176,183 ----
/* display the pattern */
if (changing == YES) {
! printw("Change \"%s\" to \"%s\"", Pattern, newpat);
} else {
printw("%c%s: %s", toupper((unsigned char)fields[field].text2[0]),
! fields[field].text2 + 1, Pattern);
}
/* display the column headings */
***************
*** 437,441 ****
f = fields[field].findfcn;
if (f == findregexp || f == findstring) {
! findresult = (*f)(pattern);
} else {
if ((nonglobalrefs = myfopen(temp2, "wb")) == NULL) {
--- 437,441 ----
f = fields[field].findfcn;
if (f == findregexp || f == findstring) {
! findresult = (*f)(Pattern);
} else {
if ((nonglobalrefs = myfopen(temp2, "wb")) == NULL) {
***************
*** 443,449 ****
return(NO);
}
! if ((rc = findinit(pattern)) == NOERROR) {
(void) dbseek(0L); /* read the first block */
! findresult = (*f)(pattern);
if (f == findcalledby)
funcexist = (*findresult == 'y');
--- 443,449 ----
return(NO);
}
! if ((rc = findinit(Pattern)) == NOERROR) {
(void) dbseek(0L); /* read the first block */
! findresult = (*f)(Pattern);
if (f == findcalledby)
funcexist = (*findresult == 'y');
***************
*** 483,500 ****
if (findresult != NULL) {
(void) sprintf(lastmsg, "Egrep %s in this pattern: %s",
! findresult, pattern);
} else if (rc == NOTSYMBOL) {
(void) sprintf(lastmsg, "This is not a C symbol: %s",
! pattern);
} else if (rc == REGCMPERROR) {
(void) sprintf(lastmsg, "Error in this regcomp(3) regular expression: %s",
! pattern);
} else if (funcexist == NO) {
(void) sprintf(lastmsg, "Function definition does not exist: %s",
! pattern);
} else {
(void) sprintf(lastmsg, "Could not find the %s: %s",
! fields[field].text2, pattern);
}
return(NO);
--- 483,500 ----
if (findresult != NULL) {
(void) sprintf(lastmsg, "Egrep %s in this pattern: %s",
! findresult, Pattern);
} else if (rc == NOTSYMBOL) {
(void) sprintf(lastmsg, "This is not a C symbol: %s",
! Pattern);
} else if (rc == REGCMPERROR) {
(void) sprintf(lastmsg, "Error in this regcomp(3) regular expression: %s",
! Pattern);
} else if (funcexist == NO) {
(void) sprintf(lastmsg, "Function definition does not exist: %s",
! Pattern);
} else {
(void) sprintf(lastmsg, "Could not find the %s: %s",
! fields[field].text2, Pattern);
}
return(NO);
|