🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Marc Horowitz Sun, 10 Jan 1993 00:02
["Mark W. Eichin": gcc diff]
#1621
Author: Marc Horowitz
Date: Sun, 10 Jan 1993 00:02
41 lines
1739 bytes
Here is a patch to make "gcc -E -e" work.  It's off of a version of
gcc.c provided to me by eichin@cygnus.com.  I think he said it was
from the 930101 snapshot.  Anyway, it's pretty straightforward.

Thanks.

		Marc


*** gcc.c.fsf	Sat Jan  2 20:26:13 1993
- --- gcc.c	Sat Jan  2 20:47:03 1993
***************
*** 3632,3643 ****
    /* Look for a suffix.  */
    for (cp = compilers + n_compilers - 1; cp >= compilers; cp--)
      {
!       if (strlen (cp->suffix) < length
  	       /* See if the suffix matches the end of NAME.  */
  	       && !strcmp (cp->suffix,
! 			   name + length - strlen (cp->suffix))
! 	       /* The suffix `-' matches only the file name `-'.  */
! 	       && !(!strcmp (cp->suffix, "-") && length != 1))
  	{
  	  if (cp->spec[0][0] == '@')
  	    {
- --- 3632,3643 ----
    /* Look for a suffix.  */
    for (cp = compilers + n_compilers - 1; cp >= compilers; cp--)
      {
!       if ((strlen (cp->suffix) < length
  	       /* See if the suffix matches the end of NAME.  */
  	       && !strcmp (cp->suffix,
! 			   name + length - strlen (cp->suffix)))
! 	  /* The suffix `-' matches only the file name `-'.  */
! 	  || (!strcmp (cp->suffix, "-") && !strcmp (name, "-")))
  	{
  	  if (cp->spec[0][0] == '@')
  	    {


------- End of Forwarded Message
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads