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 about 2 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit d726994754c938f91b6fd7e96b5cab3829615c58 Author: Robert Mustacchi <email@example.com> Date: 2020-03-26T07:42:53.000Z 12357 getc/putc_unlocked need to set orientation Reviewed by: John Levon <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>