diff options
author | Steven Schubiger <stsc@refcnt.org> | 2015-11-07 22:33:14 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2015-11-07 22:33:14 +0100 |
commit | 0bb0226c45a302f5c06676818dd94ae7604d6c1b (patch) | |
tree | 32c06f8b74adcb468b75c0c1260d3bbc05ff47b1 /colorize.c | |
parent | d333dd13bcc968fb82db68bc1481c1e37754d71e (diff) | |
download | colorize-0bb0226c45a302f5c06676818dd94ae7604d6c1b.tar.gz colorize-0bb0226c45a302f5c06676818dd94ae7604d6c1b.tar.bz2 |
Circumvent cleanup function for testing output
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -795,8 +795,8 @@ merge_print_line (bool bold, const struct color **colors, const char *line, cons #ifdef TEST_MERGE_PART_LINE printf ("%s", part_line); - free (merged_part_line); - exit (EXIT_SUCCESS); + fflush (stdout); + _exit (EXIT_SUCCESS); #else print_line (bold, colors, part_line, 0); free (merged_part_line); |