diff options
author | axel <axel@liljencrantz.se> | 2009-02-23 06:28:52 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2009-02-23 06:28:52 +1000 |
commit | 14c84ffbcbbe0368e61b7bc59d44a1d7bc906d33 (patch) | |
tree | a0fbafe2d63e86d5adcd615a7bc70fade00f0803 /builtin.c | |
parent | f71c6f3f0e34c034c3dec54289527a68a136749f (diff) |
Check return value of a few write calls and retry on EINTR, and fix a few other warnings, mostly by printing error messages before giving up.
darcs-hash:20090222202852-ac50b-b0e79142af5b7a99e55271d4001fa252d9684a1d.gz
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2849,7 +2849,7 @@ static int builtin_source( wchar_t ** argv ) sb_printf( sb_err, _( L"%ls: Error while reading file '%ls'\n" ), argv[0], - fn_intern == L"-" ? L"<stdin>" : fn_intern ); + fn_intern == intern_static(L"-") ? L"<stdin>" : fn_intern ); } else { |