This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Yet another SunOS4 fixincludes diff, termios.h, ioctl_fix_ctrl
- To: ddsinc09 at ix dot netcom dot com
- Subject: Re: Yet another SunOS4 fixincludes diff, termios.h, ioctl_fix_ctrl
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 10 Jun 1999 09:55:49 -0400 (EDT)
- Cc: egcs-bugs at egcs dot cygnus dot com
> From: Bruce Korb <korb@datadesign.com>
>
> "Kaveh R. Ghazi" wrote:
> > The third problem is that even if I force the ioctl_fix_ctrl fix
> > to run, I still get a one line diff of this:
> >
> > > @@ -48,7 +48,7 @@
> > > #define VTIME VEOL
> > >
> > > #ifndef _POSIX_SOURCE
> > > -#define _CTRL(c) (c&037)
> > > +#define _CTRL('c') ('c'&037)
> > >
> > > /*
> > > * default control chars.
> >
> > So I'm not sure what the right patch for this is...
>
> Are you sure that during your cut-and-past operation
> to create the script that you did not replace tabs
> with spaces? That would blow it, most likely.
Er, yes you're right. So ignore that last part about the one line diff.
However we still have the problem that the ioctl_fix_ctrl fix is not
run because of the select pattern "CTRL[ \t]" not matching "CTRL(" in
SunOS4's termios.h. Any ideas on what the correct regexp would be?
How about select = "CTRL[ \t]*\\(" ?
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions