|
From: Hans-Bernhard B. <br...@us...> - 2002-03-13 18:54:43
|
Update of /cvsroot/cscope/cscope/src
In directory usw-pr-cvs1:/tmp/cvs-serv12428/src
Modified Files:
find.c help.c display.c
Log Message:
Correct references to 'regcmp(3X)' manpage to point to 'regcomp(3)' instead
Index: find.c
===================================================================
RCS file: /cvsroot/cscope/cscope/src/find.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** find.c 9 Jul 2001 14:00:25 -0000 1.13
--- find.c 13 Mar 2002 18:54:40 -0000 1.14
***************
*** 659,663 ****
}
/* must be an exact match */
! /* note: regcmp doesn't recognize ^*keypad$ as a syntax error
unless it is given as a single arg */
(void) sprintf(buf, "^%s$", s);
--- 659,663 ----
}
/* must be an exact match */
! /* note: regcomp doesn't recognize ^*keypad$ as a syntax error
unless it is given as a single arg */
(void) sprintf(buf, "^%s$", s);
Index: help.c
===================================================================
RCS file: /cvsroot/cscope/cscope/src/help.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** help.c 15 Jun 2001 11:01:14 -0000 1.4
--- help.c 13 Mar 2002 18:54:40 -0000 1.5
***************
*** 62,66 ****
*tp++ = "Point with the mouse and click button 1 to move to the desired input field,\n";
*tp++ = "type the pattern to search for, and then press the RETURN key. For the first 4\n";
! *tp++ = "and last 2 input fields, the pattern can be a regcmp(3X) regular expression.\n";
*tp++ = "If the search is successful, you can edit the file containing a displayed line\n";
*tp++ = "by pointing with the mouse and clicking button 1.\n";
--- 62,66 ----
*tp++ = "Point with the mouse and click button 1 to move to the desired input field,\n";
*tp++ = "type the pattern to search for, and then press the RETURN key. For the first 4\n";
! *tp++ = "and last 2 input fields, the pattern can be a regcomp(3) regular expression.\n";
*tp++ = "If the search is successful, you can edit the file containing a displayed line\n";
*tp++ = "by pointing with the mouse and clicking button 1.\n";
***************
*** 70,74 ****
*tp++ = "Press the RETURN key repeatedly to move to the desired input field, type the\n";
*tp++ = "pattern to search for, and then press the RETURN key. For the first 4 and\n";
! *tp++ = "last 2 input fields, the pattern can be a regcmp(3X) regular expression.\n";
*tp++ = "If the search is successful, you can use these single-character commands:\n\n";
*tp++ = "0-9a-zA-Z\tEdit the file containing the displayed line.\n";
--- 70,74 ----
*tp++ = "Press the RETURN key repeatedly to move to the desired input field, type the\n";
*tp++ = "pattern to search for, and then press the RETURN key. For the first 4 and\n";
! *tp++ = "last 2 input fields, the pattern can be a regcomp(3) regular expression.\n";
*tp++ = "If the search is successful, you can use these single-character commands:\n\n";
*tp++ = "0-9a-zA-Z\tEdit the file containing the displayed line.\n";
Index: display.c
===================================================================
RCS file: /cvsroot/cscope/cscope/src/display.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** display.c 19 Oct 2001 15:32:27 -0000 1.19
--- display.c 13 Mar 2002 18:54:40 -0000 1.20
***************
*** 483,487 ****
}
else if (rc == REGCMPERROR) {
! (void) sprintf(lastmsg, "Error in this regcmp(3X) regular expression: %s",
pattern);
--- 483,487 ----
}
else if (rc == REGCMPERROR) {
! (void) sprintf(lastmsg, "Error in this regcomp(3) regular expression: %s",
pattern);
|