From 5458582593fe80311b1589fa2a1d3eca4cee39a6 Mon Sep 17 00:00:00 2001 From: Bruce Korb Date: Tue, 18 May 1999 20:15:03 -0600 Subject: [PATCH] fixincl.tpl: Avoid depending on ANSI C features for filename lists. p * fixinc/fixincl.tpl: Avoid depending on ANSI C features for filename lists. * fixinc/fixincl.x: Rebuilt. From-SVN: r27017 --- gcc/fixinc/fixincl.tpl | 6 ++---- gcc/fixinc/fixincl.x | 7 +++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/gcc/fixinc/fixincl.tpl b/gcc/fixinc/fixincl.tpl index d5d6b6448a7..b5d31701101 100644 --- a/gcc/fixinc/fixincl.tpl +++ b/gcc/fixinc/fixincl.tpl @@ -28,10 +28,8 @@ tSCC z[=hackname _cap=]Name[] = */[= _IF files _exist=] -tSCC z[=hackname _cap=]List[] =[= - _FOR files=] - "|" [=files _str=][= - /files=] "|";[= +tSCC z[=hackname _cap=]List[] = + "[=_FOR files =]|[=files=][=/files=]|";[= _ELSE =] #define z[=hackname _cap=]List (char*)NULL[= diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index 736943bbd1b..e54a5fd4d20 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -37,7 +37,7 @@ tSCC zAix_SyswaitName[] = * File name selection pattern */ tSCC zAix_SyswaitList[] = - "|" "sys/wait.h" "|"; + "|sys/wait.h|"; /* * Machine/OS name selection pattern */ @@ -72,7 +72,7 @@ tSCC zAix_VolatileName[] = * File name selection pattern */ tSCC zAix_VolatileList[] = - "|" "sys/signal.h" "|"; + "|sys/signal.h|"; /* * Machine/OS name selection pattern */ @@ -106,8 +106,7 @@ tSCC zAlpha_GetoptName[] = * File name selection pattern */ tSCC zAlpha_GetoptList[] = - "|" "stdio.h" - "|" "stdlib.h" "|"; + "|stdio.h|stdlib.h|"; /* * Machine/OS name selection pattern */