+2003-02-13 John David Anglin <dave.anglin@nrc-crnc.gc.ca>
+
+ * inclhack.def (hpux_long_double): Tighten select and add bypass
+ regexp.
+ * fixincl.x: Rebuilt.
+
2003-02-13 Josef Zlomek <zlomekj@suse.cz>
* cfgcleanup.c (outgoing_edges_match): When there is single outgoing
* content selection pattern - do fix if pattern found
*/
tSCC zHpux_Long_DoubleSelect0[] =
- "long_double";
+ "extern[ \t]long_double[ \t]strtold";
-#define HPUX_LONG_DOUBLE_TEST_CT 1
+/*
+ * content bypass pattern - skip fix if pattern found
+ */
+tSCC zHpux_Long_DoubleBypass0[] =
+ "long_double_t";
+
+#define HPUX_LONG_DOUBLE_TEST_CT 2
static tTestDesc aHpux_Long_DoubleTests[] = {
+ { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
{ TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
/*
*
* List of all fixes
*/
-#define REGEX_COUNT 153
+#define REGEX_COUNT 154
#define MACH_LIST_SIZE_LIMIT 261
#define FIX_COUNT 142
fix = {
hackname = hpux_long_double;
files = stdlib.h;
- select = "long_double";
+ select = "extern[ \t]long_double[ \t]strtold";
+ bypass = "long_double_t";
sed = "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D";
sed = "s/long_double/long double/g";