[Bug 2185] Enhance rtems_termios_puts to write more than one char at once

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Aug 7 15:11:02 UTC 2014


https://www.rtems.org/bugzilla/show_bug.cgi?id=2185

--- Comment #3 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2014-08-07 10:11:02 CDT ---
Yes, please send patches to the list.  We can then later update this bug with
the commit reference.

The modulo operation is all right, but not in a loop if it can be avoided.

Is it not possible to simplify the copy loop with something like n = min(len,
sequential buffer space), copy n bytes, then update the pointers once?

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list