[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #40223] save translate type=csv ignores crlf settings
From: |
Ben Pfaff |
Subject: |
PSPP-BUG: [bug #40223] save translate type=csv ignores crlf settings |
Date: |
Wed, 2 Sep 2020 00:44:35 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Update of bug #40223 (project pspp):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
It's hard to understand how this could be happening. The stream used to write
to CSV files is opened via fdopen(), which should interpret the mode string
properly to make the stream a text or binary stream. However, the code in
question wasn't passing O_BINARY or O_TEXT properly to the preceding open()
call. I don't think that's *supposed* to matter, but maybe it does in
practice. Anyhow, if that's the problem, I've now fixed it, via commit
4f36eb1c4b91 ("make-file: Pass O_BINARY or O_TEXT to open() call in
replace_file_start().").
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?40223>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- PSPP-BUG: [bug #40223] save translate type=csv ignores crlf settings,
Ben Pfaff <=