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



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.



Home | Main Index | Thread Index | Old Index