This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Yet another SunOS4 fixincludes diff, termios.h, ioctl_fix_ctrl


 > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]