[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-patches
Subject: fixheader patch
From: Kean Johnston <jkj () sco ! com>
Date: 2005-11-30 18:51:40
Message-ID: 438DF4BC.702 () sco ! com
[Download RAW message or body]
All,
Attached is a patch that fixes fixheader. The code was inserting
the directory "X11/" by way of example, but that example needs to
go, becuase if any target defines FIXPROTO_IGNORE_LIST, they
get that example directory as well, which is certainly not the
intention. Also, make it such that the list defined by
FIXPROTO_IGNORE_LIST does not need to be comma-terminated in the
header file, which is a less-than-obvious usage of such macros.
Kean
["fixheader.patch" (text/plain)]
2005-11-30 Kean Johnston <jkj@sco.com>
* fix-header.c (files_to_ignore): Dont include X11 if host defines
an ignore list, and make it such that the host list does not need
to be terminated with a comma in teh header file, which is non-
intuitive.
Index: fix-header.c
===================================================================
--- fix-header.c (revision 107723)
+++ fix-header.c (working copy)
@@ -120,9 +120,8 @@
earlier in fixproto, but this is simpler and easier to customize.) */
static const char *const files_to_ignore[] = {
- "X11/",
FIXPROTO_IGNORE_LIST
- 0
+ , 0
};
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic