From:  bugzilla-request-daemon@mozilla.org
Date:  15 Jan 2006 08:57:19 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.reviewers
Subject:  

superreview requested: [Bug 323471] Remove nsTString::ToCString : [Attachment 208522] patch

NNTP-Posting-Host:  207.126.111.202

Brian Ryner  has asked Darin Fisher  for
superreview:
Bug 323471: Remove nsTString::ToCString
https://bugzilla.mozilla.org/show_bug.cgi?id=323471

Attachment 208522: patch
https://bugzilla.mozilla.org/attachment.cgi?id=208522&action=edit

------- Additional Comments from Brian Ryner 
In order to cover some of the use cases for ToCString, I added versions of
Lossy[Convert|Append]UTF16toASCII that write into a raw char buffer.  The
caller must pass in the length of the buffer, and the method fails if the
buffer turns out not to be large enough.