pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/58816: sysutils/xfm: fix startup issue caused by incomplete tradcpp macro expansion



The following reply was made to PR pkg/58816; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/58816: sysutils/xfm: fix startup issue caused by incomplete
 tradcpp macro expansion
Date: Fri, 8 Nov 2024 17:05:23 +0000

 On Fri, Nov 08, 2024 at 06:21:26AM -0000, Michael van Elst wrote:
  > gnats-admin%NetBSD.org@localhost ("David Holland via gnats") writes:
  > 
  > > gcc -traditional does what tradcpp does but that doesn't prove
  > > anything.
  > 
  > sys3 cpp does:
  > 
  >         case '\\': for (;;) {
  >                 if (*p++=='\n') {++lineno[ifno]; break;}
  >                 if (eob(--p)) p=refill(p);
  >                 else {++p; break;}
  >         } break;
  > 
  > So the sequence of a backslash followed by linefeed is just skipped.
 
 Thanks for checking -- I will not change tradcpp then.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index