last changes and problems

H.J. Lu hjl@lucon.org
Wed Dec 16 07:30:00 GMT 1998


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



More information about the Libc-hacker mailing list