Subject: standards/2741: TIOCMODG and TIOCMODS
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg Lindahl <Greg-Lindahl@deshaw.com>
List: netbsd-bugs
Date: 09/09/1996 19:06:10
>Number: 2741
>Category: standards
>Synopsis: TIOCMODG defined but obselete
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 9 16:20:00 1996
>Last-Modified:
>Originator: lindahl
>Organization:
D. E. Shaw & Co.
>Release: 1.2_BETA
>Environment:
System: NetBSD ramoth.nyc.deshaw.com 1.2_BETA NetBSD 1.2_BETA (ZEOS_AIC) #17: Thu Sep 5 16:30:37 EDT 1996 christos@ramoth.nyc.deshaw.com:/usr/src/sys/arch/i386/compile/ZEOS_AIC i386
>Description:
TIOCMODG and TIOCMODS are defined in /usr/include/sys/ttycom.h. However,
they are superceded by TIOCMGET and TIOCMSET. In addition, fgrepping
through all of NetBSD-current reveals no reference to the old names.
A program which uses the old names (minicom) fails, so the back-compatibility
seems to be gone. So the macros ought to be deleted.
>How-To-Repeat:
>Fix:
remove TIOCMOD{G,S} from /usr/include/sys/ttycom.h
>Audit-Trail:
>Unformatted: