Jon Smirl wrote:
That goes against this comment in nsIInputStream.h...
 * NOTE: returning NS_OK and (*aWriteCount = 0) has undefined behavior.

Well, return an error then. Just make sure not to set *aWriteCount to a nonzero value.

_______________________________________________
dev-tech-network mailing list
dev-tech-network@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to