diff options
author | Jim Meyering <jim@meyering.net> | 1995-02-28 12:50:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-02-28 12:50:35 +0000 |
commit | 40f6e920679bdadd5f391d8043347489d89993d1 (patch) | |
tree | a7e513fc1cecc1a3a4ac468d687bce98aa419412 /src | |
parent | b53cae84920f6acb8f71eb1e65fbbfd06745adc7 (diff) | |
download | coreutils-40f6e920679bdadd5f391d8043347489d89993d1.tar.xz |
(wc): oops. Add missing dcl of stats.
Diffstat (limited to 'src')
-rw-r--r-- | src/wc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -217,6 +217,7 @@ wc (fd, file) if (print_chars && !print_words && !print_lines) { off_t current_pos, end_pos; + struct stat stats; if (fstat (fd, &stats) == 0 && S_ISREG (stats.st_mode) && (current_pos = lseek (fd, (off_t) 0, SEEK_CUR)) != -1 |