[Top][All Lists]

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

[Axiom-developer] [#46 termio vs ptermio] (new)

From: anonymous
Subject: [Axiom-developer] [#46 termio vs ptermio] (new)
Date: Sat, 22 Jan 2005 03:53:38 -0600

On Tue, 4 Jan 2005, root wrote:

| > Is this a known issue?
| it is now :-)
| i'll have to check what versions of the compiler i'm using.
| i'll also check whether ptermio is used.

Well, I think my brain is now somewhere in the middle of the atlantic
ocean, so I'm getting  better :-)  I looked into edible.c.
The code at issue is:

#ifdef logterm
      struct termio ptermio;
      char pbuff[1024];
      tcgetattr(contNum, &ptermio);
      sprintf(pbuff, "child's settings: Lflag = %d, Oflag = %d, Iflag = %d\n",
              ptermio.c_lflag, ptermio.c_oflag, ptermio.c_iflag);
      write(logfd, pbuff, strlen(pbuff));

line 276 is
      struct termio ptermio;

  (1) it looks to me that the error is a mispelling:
      'struct termios' should 'struct termio'.

  (2) ptermio is indeed used.

Correcting (1) as indicated led to a successful compilation.
The whole axiom build is still underway.

forwarded from

reply via email to

[Prev in Thread] Current Thread [Next in Thread]