Use c_fix = format instead of sed
From-SVN: r53721
This commit is contained in:
parent
4c526be3eb
commit
021c1f34a9
@ -1,6 +1,8 @@
|
||||
2002-05-21 Bruce Korb <bkorb@gnu.org>
|
||||
|
||||
* fixinc/tests/base/pthread.h(THREAD_KEYWORD_CHECK): add fix check
|
||||
* fixinc/inclhack.def(thread_keyword): use c_fix = format.
|
||||
* fixinc/fixincl.x: regen.
|
||||
|
||||
2002-05-21 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
|
@ -2889,14 +2889,14 @@ fix = {
|
||||
* __thread is now a keyword.
|
||||
*/
|
||||
fix = {
|
||||
hackname = thread_keyword;
|
||||
files = "pthread.h";
|
||||
files = "bits/sigthread.h";
|
||||
select = "pthread_t __thread";
|
||||
hackname = thread_keyword;
|
||||
files = "pthread.h";
|
||||
files = "bits/sigthread.h";
|
||||
select = "pthread_t __thread([^a-z0-9_])";
|
||||
c_fix = format;
|
||||
c_fix_arg = 'pthread_t __thr%1';
|
||||
|
||||
sed = "s/pthread_t __thread\\([^a-z0-9_]\\)/pthread_t __thr\\1/";
|
||||
|
||||
test_text = "extern int pthread_kill (pthread_t __thread, int __signo);";
|
||||
test_text = "extern int pthread_kill (pthread_t __thread, int __signo);";
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user