csv: Close pipe files properly.
authorBen Pfaff <blp@gnu.org>
Thu, 4 Feb 2010 05:05:43 +0000 (21:05 -0800)
committerBen Pfaff <blp@gnu.org>
Sat, 6 Feb 2010 04:14:19 +0000 (20:14 -0800)
commit9726274d5f05f9c49a94180b649c1fbf692492e3
treef0a1b6fa83a18d87d0046b7f93dbc2ac676ac8ad
parent572fab1a5ed253a07a182e273c666315d0e696cd
csv: Close pipe files properly.

csv_create() opens the output file with fn_open() so csv_destroy() should
close it with fn_close() to ensure that pipes and the standard file
descriptors are closed properly.
src/output/csv.c