Closed Bug 209431 Opened 22 years ago Closed 22 years ago

LineInputStream comments could be improved

Categories

(Core :: XPCOM, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 197166

People

(Reporter: Biesinger, Assigned: dougt)

References

()

Details

The interface does not answer these questions: o) If the function returns true, does it also return a line? o) Which charset is assumed on the source file before converting to an AString o) Will it always return a complete line (contrary to e.g. fgets())
oh, and it also does not mention what counts as a line terminator
biesi, bug 197166 already discussed this, but nobody actually did anything about it: nsILineInputStream is for any single-byte character set, /n and /r are line terminators (and their combination). There should really not be any AString parameters in this interface at all. *** This bug has been marked as a duplicate of 197166 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.