Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Explicitly open() input files so we can exit with a failure code if open() fails * Input loop is converted into a function; line buffer remains global * Ignore directories as done by GNU fmt * Read stdin if no file arguments are given * Tested patch against previous version and I get the same output
- Loading branch information
Showing
1 changed file
with
39 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters