FreeBSD Bugzilla – Attachment 7561 Details for
Bug 16341
Fix for minicom detecting modem status lines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1010 bytes, created by
Andre Albsmeier
on 2000-01-25 06:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Andre Albsmeier
Created:
2000-01-25 06:50:01 UTC
Size:
1010 bytes
patch
obsolete
>--- sysdep1.c.orig Sun Jan 10 16:13:05 1999 >+++ sysdep1.c Tue Jan 25 07:20:42 2000 >@@ -64,12 +64,12 @@ > void m_setrts(fd) > int fd; > { >-#if defined(TIOCM_RTS) && defined(TIOCMODG) >+#if defined(TIOCM_RTS) && defined(TIOCMGET) > int mcs; > >- ioctl(fd, TIOCMODG, &mcs); >+ ioctl(fd, TIOCMGET, &mcs); > mcs |= TIOCM_RTS; >- ioctl(fd, TIOCMODS, &mcs); >+ ioctl(fd, TIOCMSET, &mcs); > #endif > #ifdef _COHERENT > ioctl(fd, TIOCSRTS, 0); >@@ -175,10 +175,10 @@ > int m_getdcd(fd) > int fd; > { >-#ifdef TIOCMODG >+#ifdef TIOCMGET > int mcs; > >- ioctl(fd, TIOCMODG, &mcs); >+ ioctl(fd, TIOCMGET, &mcs); > return(mcs & TIOCM_CAR ? 1 : 0); > #else > (void)fd; >@@ -216,8 +216,8 @@ > ioctl(fd, TIOCLGET, &lsw); > # endif > #endif >-#ifdef TIOCMODG >- ioctl(fd, TIOCMODG, &m_word); >+#ifdef TIOCMGET >+ ioctl(fd, TIOCMGET, &m_word); > #endif > } > >@@ -238,8 +238,8 @@ > ioctl(fd, TIOCLSET, &lsw); > # endif > #endif >-#ifdef TIOCMODS >- ioctl(fd, TIOCMODS, &m_word); >+#ifdef TIOCMSET >+ ioctl(fd, TIOCMSET, &m_word); > #endif > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16341
: 7561