Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sbin/ttyflags

Module Name:    src
Committed By:   mrg
Date:           Sun May  4 20:43:30 UTC 2014

Modified Files:
        src/sbin/ttyflags: ttyflags.c

Log Message:
open the tty with O_RDWR|O_NONBLOCK.  it seems valid to ask for
write permission when we're setting flags, and ucom(4) has an
existing workaround for a bug when O_RDWR is not used, and thus
ttyflags would not work for ucom devices.

To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/ttyflags/ttyflags.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index