rfg@ICS.UCI.EDU (01/07/90)
/* When the gnu C preprocessor (v 1.36) is used with g++ (1.36.1) and
when the -M option is used, the filename suffixes .c and .cc are
properly handled, but the .C suffix (also valid for c++ source files
is not properly recognized. This results in invalid target names being
printed. */
diff -rc2 1.36.1-/cccp.c 1.36.1+/cccp.c
*** 1.36.1-/cccp.c Mon Sep 11 20:43:13 1989
--- 1.36.1+/cccp.c Thu Jan 4 23:39:02 1990
***************
*** 936,940 ****
/* Output P, but remove known suffixes. */
len = strlen (p);
! if (p[len - 2] == '.' && p[len - 1] == 'c')
deps_output (p, len - 2);
else if (p[len - 3] == '.'
--- 935,939 ----
/* Output P, but remove known suffixes. */
len = strlen (p);
! if (p[len - 2] == '.' && ((p[len - 1] == 'c') || (p[len - 1] == 'C')))
deps_output (p, len - 2);
else if (p[len - 3] == '.'