cfmakeraw() on FreeBSD doesn't set CLOCAL (Matteo Pillon)

This commit is contained in:
marschap
2006-09-09 13:31:49 +00:00
parent 8e63d5ef4f
commit e234c49db9
+1
View File
@@ -198,6 +198,7 @@ hd_init_serial (Driver *drvthis)
#ifdef HAVE_CFMAKERAW
/* The easy way */
cfmakeraw( &portset );
portset.c_cflag |= CLOCAL;
#else
/* The hard way */
portset.c_iflag &= ~( IGNBRK | BRKINT | PARMRK | ISTRIP