getc/putc_unlocked need to set orientation
The getc(3C) and putc(3C) routines are required to set the orientation of a stdio stream if it's not set. However, the way that we have coded things up, the _unlocked variants do not do this. Because the only difference is supposed to be related to stream locking, I believe we should correctly honor the orientation. This was discovered while working on stdio memory streams and is now checked by an imported orientation test suite.
Updated by Electric Monk 8 months ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit d726994754c938f91b6fd7e96b5cab3829615c58 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2020-03-26T07:42:53.000Z 12357 getc/putc_unlocked need to set orientation Reviewed by: John Levon <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>