This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: last changes and problems


> You're setting a read only variable (const struct termios *termios_p)
> here:
> 
>   termios_p->c_iflag &= ~IBAUD0;
> 
> The following patch should achieve the same but doesn't manipulate
> *termios_p.  Or do you really want to change the parameter?
> 
> Andreas
> 
> 1998-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
> 
> 	* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
> 	read-only struct termios_p* but change k_termios member directly.
> 

Now it looks more like my original patch :-).


H.J.


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