Do not use stdout to report errors when stderr is dead - take the hint instead...

darcs-hash:20070121152242-ac50b-3e192328959cf65f03756b3bfbb794fb43dccead.gz
This commit is contained in:
axel 2007-01-22 01:22:42 +10:00
parent 4f67c38777
commit 8176a1253b

3
exec.c
View file

@ -763,9 +763,8 @@ static void do_builtin_io( wchar_t *out, wchar_t *err )
{
/*
Can't really show any error message here, since stderr is
dead. Complain a bit on stdout.
dead.
*/
fwprintf( stdout, L"fish: Error while writing to stderr\n" );
}
}