From: Bruce Korb Date: Wed, 22 May 2002 02:59:19 +0000 (+0000) Subject: Use c_fix = format instead of sed X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=021c1f34a93af4fd6567864e39135745c4ab4749;p=platform%2Fupstream%2Fgcc.git Use c_fix = format instead of sed From-SVN: r53721 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f797d19..e743447 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,8 @@ 2002-05-21 Bruce Korb * 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 diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 322a79d..bebdd53 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -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);"; }; /*