Problem: Using pointer before it is set.
Solution: Search in whole buffer instead of next token.
* Accept "\S*cscope: X lines", also matches "mlcscope".
* Bail out for the "Unable to search" error.
*/
- if (strstr((const char *)stok, "Unable to search database") != NULL)
+ if (strstr((const char *)buf, "Unable to search database") != NULL)
break;
if ((stok = strtok(buf, (const char *)" ")) == NULL)
continue;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1442,
/**/
1441,
/**/