From: Jim Meyering <[email protected]>
* src/strip.c (closeout): As above, per guidelines in HACKING.
---
src/split.c | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/split.c b/src/split.c
index 4aa7d79..bd63fcf 100644
--- a/src/split.c
+++ b/src/split.c
@@ -354,9 +354,12 @@ closeout (FILE *fp, int fd, pid_t pid, char const *name)
error (EXIT_FAILURE, errno, "%s", name);
int j;
for (j = 0; j < n_open_pipes; ++j)
- if (open_pipes[j] == fd) {
- open_pipes[j] = open_pipes[--n_open_pipes];
- break;
+ {
+ if (open_pipes[j] == fd)
+ {
+ open_pipes[j] = open_pipes[--n_open_pipes];
+ break;
+ }
}
}
if (pid > 0)
@@ -385,9 +388,11 @@ closeout (FILE *fp, int fd, pid_t pid, char const *name)
name, ex, filter_command);
}
else
- /* shouldn't happen. */
- error (EXIT_FAILURE, 0,
- _("unknown status from command (0x%X)"), wstatus);
+ {
+ /* shouldn't happen. */
+ error (EXIT_FAILURE, 0,
+ _("unknown status from command (0x%X)"), wstatus);
+ }
}
}
--
1.7.5.134.g1c08b