(fixed an error message in Init())
This commit is contained in:
Родитель
28ea7c3978
Коммит
083bc00c79
|
@ -98,7 +98,7 @@ void File::Init(const wchar_t* filename, int fileOptions)
|
|||
if (m_filename == L"-") // stdin/stdout
|
||||
{
|
||||
if (writing && reading)
|
||||
RuntimeError("File: path '-' fileOptionsRead and fileOptionsWrite at once");
|
||||
RuntimeError("File: cannot specify fileOptionsRead and fileOptionsWrite at once with path '-'");
|
||||
m_file = writing ? stdout : stdin;
|
||||
}
|
||||
else if (outputPipe || inputPipe) // pipe syntax
|
||||
|
|
Загрузка…
Ссылка в новой задаче