Permalink
Browse files

output-quoting bugfix

1 parent 74b695e commit 0a387c31054b592731616210d47d5790fe8474e9 @johnkerl committed Oct 12, 2016
Showing with 8 additions and 4 deletions.
  1. +4 −0 c/output/lrec_writer_csv.c
  2. +1 −1 doc/manpage.html
  3. +1 −1 doc/manpage.txt
  4. +2 −2 doc/mlr.1
View
4 c/output/lrec_writer_csv.c
@@ -134,6 +134,10 @@ static void quote_minimal_output_func(FILE* fp, char* string, char* ors, char* o
output_quotes = TRUE;
break;
}
+ if (*p == '"') {
+ output_quotes = TRUE;
+ break;
+ }
}
if (output_quotes) {
quote_string(fp, string);
View
2 doc/manpage.html
@@ -1871,7 +1871,7 @@
- 2016-10-07 MILLER(1)
+ 2016-10-12 MILLER(1)
</pre>
</div>
<p/>
View
2 doc/manpage.txt
@@ -1724,4 +1724,4 @@ SEE ALSO
- 2016-10-07 MILLER(1)
+ 2016-10-12 MILLER(1)
View
4 doc/mlr.1
@@ -2,12 +2,12 @@
.\" Title: mlr
.\" Author: [see the "AUTHOR" section]
.\" Generator: ./mkman.rb
-.\" Date: 2016-10-07
+.\" Date: 2016-10-12
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
-.TH "MILLER" "1" "2016-10-07" "\ \&" "\ \&"
+.TH "MILLER" "1" "2016-10-12" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Portability definitions
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 comments on commit 0a387c3

Please sign in to comment.