-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
inconsistencySomething is inconsistent with something elseSomething is inconsistent with something else
Description
When the standard refers to the input buffer length, it uses different wording, so it is unclear whether it means the same thing of different things.
- in 6.1.2216
SOURCE
- "number of characters in the input buffer"
- in 3.3.3.5 Input buffers
- "length in characters of the current input buffer"
- in 3.4.1 Parsing
- "length of the input buffer"
- "size of the input buffer"
- in 4.1.2 Ambiguous conditions
- "size of input buffer"
There are two conceptions:
- the actual size of the input buffer (in primitive characters, that are address units now), like in "size of the keyboard terminal input buffer".
- the number of characters in the input buffer that the program is allowed to parse, like in "number of characters in the input buffer".
We can assume that the input buffer length is formally the same as the the number of characters in the input buffer, and use the same wording in all the cases.
For the terminal input buffer, we can say "the maximum length of the terminal input buffer" (is implementation defined).
Metadata
Metadata
Assignees
Labels
inconsistencySomething is inconsistent with something elseSomething is inconsistent with something else