fixincl.tpl patch

Jeffrey A Law law@upchuck.cygnus.com
Wed May 19 02:16:00 GMT 1999


I've installed this patch from Bruce (mainline and release branch).

------- Forwarded Message

From:     Bruce Korb <ddsinc09@ix.netcom.com>
To:       "'law@cygnus.com'" <law@cygnus.com>
Date:     Tue, 18 May 1999 10:43:01 -0700
Subject:  Patch for file name list in fixincl.tpl


The following patch will K&R-ify the file name lists.
However, there are still other invocations of the "_str" function
in fixincl.tpl.  AutoGen has three such functions:

_shstr	emits a double quoted string, suitable for use in a shell script
_rshstr	emits a single quoted string for a shell script
_str	emits an _ANSI_C_ style string for compiling into an
	ANSI C program.

We need a fourth. :(
It is easy to do, however, :)
Coming to your mailbox today!

Please apply this and post to patches.
Otherwise, I'll do it when I return to the office tomorrow.
(No access from home.)

Regards,
	Bruce

*** fixincl.tpl~	Mon Apr 12 00:11:18 1999
- --- fixincl.tpl	Tue May 18 08:23:44 1999
***************
*** 28,37 ****
   */[=
  
    _IF files _exist=]
! tSCC z[=hackname _cap=]List[] =[=
!     _FOR files=]
!         "|" [=files _str=][=
!     /files=] "|";[=
  
    _ELSE =]
  #define z[=hackname _cap=]List (char*)NULL[=
- --- 28,35 ----
   */[=
  
    _IF files _exist=]
! tSCC z[=hackname _cap=]List[] =
!   "[=_FOR files =]|[=files=][=/files=]|";[=
  
    _ELSE =]
  #define z[=hackname _cap=]List (char*)NULL[=


*** fixincl.x.old	Sun May  9 10:38:01 1999
- --- fixincl.x	Tue May 18 08:23:45 1999
***************
*** 37,43 ****
   *  File name selection pattern
   */
  tSCC zAix_SyswaitList[] =
!         "|" "sys/wait.h" "|";
  /*
   *  Machine/OS name selection pattern
   */
- --- 37,43 ----
   *  File name selection pattern
   */
  tSCC zAix_SyswaitList[] =
!   "|sys/wait.h|";
  /*
   *  Machine/OS name selection pattern
   */
***************
*** 72,78 ****
   *  File name selection pattern
   */
  tSCC zAix_VolatileList[] =
!         "|" "sys/signal.h" "|";
  /*
   *  Machine/OS name selection pattern
   */
- --- 72,78 ----
   *  File name selection pattern
   */
  tSCC zAix_VolatileList[] =
!   "|sys/signal.h|";
  /*
   *  Machine/OS name selection pattern
   */
***************
*** 106,113 ****
   *  File name selection pattern
   */
  tSCC zAlpha_GetoptList[] =
!         "|" "stdio.h"
!         "|" "stdlib.h" "|";
  /*
   *  Machine/OS name selection pattern
   */
- --- 106,112 ----
   *  File name selection pattern
   */
  tSCC zAlpha_GetoptList[] =
!   "|stdio.h|stdlib.h|";
  /*
   *  Machine/OS name selection pattern
   */

------- End of Forwarded Message



More information about the Gcc-patches mailing list