axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build


From: Gabriel Dos Reis
Subject: Re: [Axiom-developer] current CVS tree (axiom 3 beta) fails to build
Date: 05 Jan 2005 04:35:41 +0100

Gabriel Dos Reis <address@hidden> writes:

| 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.

No, not better ;-/

| 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));
|     }
| #endif
| 
| line 276 is
|       struct termio ptermio;
| 
| so:
|   (1) it looks to me that the error is a mispelling:
|       'struct termios' should 'struct termio'.

That is inverted:  it is 'struct termio' (current code) that should be
'struct termios'. 

-- Gaby




reply via email to

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