summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-05-07 15:55:56 +0000
committerJim Meyering <jim@meyering.net>1998-05-07 15:55:56 +0000
commit9db889c37204d9b3265b9a1822a7d1d6d85f2d96 (patch)
treea7a39b60bfa685c14e0749069a4f51d3ef8317be /src
parentcaace0543836ce613c2ed68532a85e313bab77ae (diff)
downloadcoreutils-9db889c37204d9b3265b9a1822a7d1d6d85f2d96.tar.xz
add some curly braces
Diffstat (limited to 'src')
-rw-r--r--src/tac.c26
1 files changed, 15 insertions, 11 deletions
diff --git a/src/tac.c b/src/tac.c
index f5cf8b4ed..06ef24d34 100644
--- a/src/tac.c
+++ b/src/tac.c
@@ -627,7 +627,9 @@ main (int argc, char **argv)
G_buffer += sentinel_length;
}
else
- ++G_buffer;
+ {
+ ++G_buffer;
+ }
if (optind == argc)
{
@@ -635,16 +637,18 @@ main (int argc, char **argv)
errors = tac_stdin_to_mem ();
}
else
- for (; optind < argc; ++optind)
- {
- if (STREQ (argv[optind], "-"))
- {
- have_read_stdin = 1;
- errors |= tac_stdin_to_mem ();
- }
- else
- errors |= tac_file (argv[optind]);
- }
+ {
+ for (; optind < argc; ++optind)
+ {
+ if (STREQ (argv[optind], "-"))
+ {
+ have_read_stdin = 1;
+ errors |= tac_stdin_to_mem ();
+ }
+ else
+ errors |= tac_file (argv[optind]);
+ }
+ }
/* Flush the output buffer. */
output ((char *) NULL, (char *) NULL);