|
2 | 2 | * |
3 | 3 | * DO NOT EDIT THIS FILE (fixincl.x) |
4 | 4 | * |
5 | | - * It has been AutoGen-ed September 29, 2022 at 10:22:55 PM by AutoGen 5.18.16 |
| 5 | + * It has been AutoGen-ed January 18, 2023 at 07:54:50 PM by AutoGen 5.18.7 |
6 | 6 | * From the definitions inclhack.def |
7 | 7 | * and the template file fixincl |
8 | 8 | */ |
9 | | -/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Sep 29 22:22:55 CEST 2022 |
| 9 | +/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Jan 18 19:54:50 GMT 2023 |
10 | 10 | * |
11 | 11 | * You must regenerate it. Use the ./genfixes script. |
12 | 12 | * |
|
15 | 15 | * certain ANSI-incompatible system header files which are fixed to work |
16 | 16 | * correctly with ANSI C and placed in a directory that GNU C will search. |
17 | 17 | * |
18 | | - * This file contains 272 fixup descriptions. |
| 18 | + * This file contains 273 fixup descriptions. |
19 | 19 | * |
20 | 20 | * See README for more information. |
21 | 21 | * |
@@ -2608,6 +2608,46 @@ static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = { |
2608 | 2608 | int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");", |
2609 | 2609 | (char*)NULL }; |
2610 | 2610 |
|
| 2611 | +/* * * * * * * * * * * * * * * * * * * * * * * * * * |
| 2612 | + * |
| 2613 | + * Description of Apple_Local_Stdio_Fn_Deprecation fix |
| 2614 | + */ |
| 2615 | +tSCC zApple_Local_Stdio_Fn_DeprecationName[] = |
| 2616 | + "apple_local_stdio_fn_deprecation"; |
| 2617 | + |
| 2618 | +/* |
| 2619 | + * File name selection pattern |
| 2620 | + */ |
| 2621 | +tSCC zApple_Local_Stdio_Fn_DeprecationList[] = |
| 2622 | + "stdio.h\0"; |
| 2623 | +/* |
| 2624 | + * Machine/OS name selection pattern |
| 2625 | + */ |
| 2626 | +tSCC* apzApple_Local_Stdio_Fn_DeprecationMachs[] = { |
| 2627 | + "*-*-*darwin2*", |
| 2628 | + (const char*)NULL }; |
| 2629 | + |
| 2630 | +/* |
| 2631 | + * content selection pattern - do fix if pattern found |
| 2632 | + */ |
| 2633 | +tSCC zApple_Local_Stdio_Fn_DeprecationSelect0[] = |
| 2634 | + "__deprecated_msg([^\n\ |
| 2635 | +]*)$"; |
| 2636 | + |
| 2637 | +#define APPLE_LOCAL_STDIO_FN_DEPRECATION_TEST_CT 1 |
| 2638 | +static tTestDesc aApple_Local_Stdio_Fn_DeprecationTests[] = { |
| 2639 | + { TT_EGREP, zApple_Local_Stdio_Fn_DeprecationSelect0, (regex_t*)NULL }, }; |
| 2640 | + |
| 2641 | +/* |
| 2642 | + * Fix Command Arguments for Apple_Local_Stdio_Fn_Deprecation |
| 2643 | + */ |
| 2644 | +static const char* apzApple_Local_Stdio_Fn_DeprecationPatch[] = { |
| 2645 | + "format", |
| 2646 | + "#if defined(__APPLE_LOCAL_DEPRECATIONS)\n\ |
| 2647 | +%0\n\ |
| 2648 | +#endif", |
| 2649 | + (char*)NULL }; |
| 2650 | + |
2611 | 2651 | /* * * * * * * * * * * * * * * * * * * * * * * * * * |
2612 | 2652 | * |
2613 | 2653 | * Description of Ctrl_Quotes_Def fix |
@@ -11075,9 +11115,9 @@ static const char* apzX11_SprintfPatch[] = { |
11075 | 11115 | * |
11076 | 11116 | * List of all fixes |
11077 | 11117 | */ |
11078 | | -#define REGEX_COUNT 310 |
| 11118 | +#define REGEX_COUNT 311 |
11079 | 11119 | #define MACH_LIST_SIZE_LIMIT 187 |
11080 | | -#define FIX_COUNT 272 |
| 11120 | +#define FIX_COUNT 273 |
11081 | 11121 |
|
11082 | 11122 | /* |
11083 | 11123 | * Enumerate the fixes |
@@ -11144,6 +11184,7 @@ typedef enum { |
11144 | 11184 | BROKEN_CABS_FIXIDX, |
11145 | 11185 | BROKEN_NAN_FIXIDX, |
11146 | 11186 | BSD_STDIO_ATTRS_CONFLICT_FIXIDX, |
| 11187 | + APPLE_LOCAL_STDIO_FN_DEPRECATION_FIXIDX, |
11147 | 11188 | CTRL_QUOTES_DEF_FIXIDX, |
11148 | 11189 | CTRL_QUOTES_USE_FIXIDX, |
11149 | 11190 | CXX_UNREADY_FIXIDX, |
@@ -11663,6 +11704,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = { |
11663 | 11704 | BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |
11664 | 11705 | aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 }, |
11665 | 11706 |
|
| 11707 | + { zApple_Local_Stdio_Fn_DeprecationName, zApple_Local_Stdio_Fn_DeprecationList, |
| 11708 | + apzApple_Local_Stdio_Fn_DeprecationMachs, |
| 11709 | + APPLE_LOCAL_STDIO_FN_DEPRECATION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |
| 11710 | + aApple_Local_Stdio_Fn_DeprecationTests, apzApple_Local_Stdio_Fn_DeprecationPatch, 0 }, |
| 11711 | + |
11666 | 11712 | { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList, |
11667 | 11713 | apzCtrl_Quotes_DefMachs, |
11668 | 11714 | CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |
|
0 commit comments