diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2019-01-05 19:55:08 -0800 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-01-05 20:02:02 -0800 |
| commit | 601eceb57cfb87ded594701acc401277c53ff837 (patch) | |
| tree | fb53ec3ea17a41f24fb1c4bc06e61c25e8a20603 /src/diff.c | |
| parent | 2c9d956aacdfddbb87334c985cd995d75102f789 (diff) | |
| download | diffutils-601eceb57cfb87ded594701acc401277c53ff837.tar.gz | |
diff: fix cmp, diff3, sdiff with stdin closed
* NEWS: Mention this.
* src/cmp.c, src/diff3.c, src/sdiff.c: Include stdopen.h.
(main): Call stdopen early.
* src/cmp.c (main): Simplify now that we need not worry about
stdin being closed.
* src/diff.c (main): Translate stdopen diagnostic.
Diffstat (limited to 'src/diff.c')
| -rw-r--r-- | src/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -300,7 +300,7 @@ main (int argc, char **argv) presume_output_tty = false; int stdopen_errno = stdopen (); if (stdopen_errno != 0) - error (EXIT_TROUBLE, stdopen_errno, "standard file descriptors"); + error (EXIT_TROUBLE, stdopen_errno, _("standard file descriptors")); /* Decode the options. */ |
