Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
According to the documentation they save the original result oftermios.tcgetattr() and return it. But while making a copy of the attribute list before modifying it they do not take in account that it contains a reference to originalcc list and modify it. So these functions return a list which contains original values and modifiedcc list.
These functions started returning the attribute list in#85984 (486bc8e).
The question: who should make a copy of the internal list:setraw() before passing it tocfmakeraw(), orcfmakeraw() itself?
cc@gpshead