diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 12:22:24 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-07-16 12:22:24 +0300 |
commit | 56815f21bd9f396e53386969c7a00dd801f232fd (patch) | |
tree | 1dcf01c7109d6c91f8c789a9e81510e179e826f2 /builtin.c | |
parent | e1ef22d366abd1f9ec95eb495c727d55181c8584 (diff) | |
download | egawk-56815f21bd9f396e53386969c7a00dd801f232fd.tar.gz egawk-56815f21bd9f396e53386969c7a00dd801f232fd.tar.bz2 egawk-56815f21bd9f396e53386969c7a00dd801f232fd.zip |
Move to gawk-2.15.1.
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -76,13 +76,14 @@ int flush; if (fwrite(ptr, size, count, fp) != count) goto wrerror; if (flush - && ((fp == stdout && output_is_tty) - || (rp && (rp->flag & RED_NOBUF)))) { + && ((fp == stdout && output_is_tty) + || (rp && (rp->flag & RED_NOBUF)))) { fflush(fp); if (ferror(fp)) goto wrerror; } return; + wrerror: fatal("%s to \"%s\" failed (%s)", from, rp ? rp->value : "standard output", |