This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
RE: [PATCH] tcgetattr() doesn't support 50 baud
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Cygwin patches'" <cygwin-patches at cygwin dot com>
- Date: Fri, 23 Jun 2006 14:20:36 +0100
- Subject: RE: [PATCH] tcgetattr() doesn't support 50 baud
On 23 June 2006 12:26, Lapo Luchini wrote:
[ Thread TITTPL'd! ]
> Lapo Luchini wrote:
>> I'll try and add the support for B50 in in and send a patch ASAP.
>>
> Modified, patched, and tested:
>
> --- fhandler_serial.cc.orig 2006-01-16 18:14:36.000000000 +0100
> +++ fhandler_serial.cc 2006-06-23 11:49:26.000000000 +0200
> @@ -608,6 +608,9 @@
> 0 is an invalid bitrate in Win32 */
> dropDTR = true;
> break;
> + case B50:
> + state.BaudRate = 50;
> + break;
I suggest adding a comment here, as with the 230,400 baud case below,
explaining that there isn't a CBR_ symbol to use here.
cheers,
DaveK
--
Can't think of a witty .sigline today....