зеркало из https://github.com/mozilla/gecko-dev.git
Adapt to new stream interfaces some more.
This commit is contained in:
Родитель
333741e682
Коммит
5c9516e394
|
@ -443,7 +443,7 @@ public:
|
|||
NS_IMETHOD Close(void) {return NS_OK;}
|
||||
NS_IMETHOD Write(const char *str, PRUint32 len, PRUint32 *wcnt)
|
||||
{
|
||||
*wcnt = fwrite(&str[offset], 1, len, stdout);
|
||||
*wcnt = fwrite(str, 1, len, stdout);
|
||||
fflush(stdout);
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче