Commit 021c1f34 by Bruce Korb Committed by Bruce Korb

Use c_fix = format instead of sed

From-SVN: r53721
parent 4c526be3
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";
sed = "s/pthread_t __thread\\([^a-z0-9_]\\)/pthread_t __thr\\1/";
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';
test_text = "extern int pthread_kill (pthread_t __thread, int __signo);";
test_text = "extern int pthread_kill (pthread_t __thread, int __signo);";
};
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment