rain.c

Todd Goodman tsg at bonedaddy.net
Tue Dec 2 15:27:37 CST 2014


* Jacob Ritorto <jacob.ritorto at gmail.com> [141202 15:29]:
> On Tue, Dec 2, 2014 at 1:22 PM, Holm Tiffe <holm at freibergnet.de> wrote:
> >
> >
> > Tell us what you see when you use the C-preprocessor only on that file:
> >
> > gcc -E rain.c |less
> >
> > and then search in the output for setbuf:
> >
> >
> > float cols, lines;
> >
> >     setbuf(__stdoutp,malloc(1024));
> >     if (!(term=getenv("TERM"))) {
> >
> 
> ok, Holm, on OpenSolaris, gcc -E rain.c |less gives:
> 
> 
>     float cols, cur_term-> _c3;
> 
>     setbuf((&__iob[1]),malloc(1024));
>     if (!(term=getenv("TERM"))) {
> 
> 
> I think that means it worked, right?
> 
> --jake

This means that you there's an active

#define lines cur_term-> _c3

preprocessor directive around (or some preprocessor directives that
reduce to that.)

Todd


More information about the cctech mailing list