Closed
Bug 209431
Opened 22 years ago
Closed 22 years ago
LineInputStream comments could be improved
Categories
(Core :: XPCOM, defect)
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())
Reporter | ||
Updated•22 years ago
|
Reporter | ||
Comment 1•22 years ago
|
||
oh, and it also does not mention what counts as a line terminator
Comment 2•22 years ago
|
||
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.
Description
•