[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IOS: modes for opening files
From: |
Egeyar Bagcioglu |
Subject: |
Re: IOS: modes for opening files |
Date: |
Sun, 14 Mar 2021 03:00:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
Hi Jose
I thought about this problem. In short, two new things came out of it:
1) As Bruno hinted, I believe as strongly as possible that I need to
abandon fopen and move to open. The limited fopen flags do not provide
the variety that we are looking for. You can see that in the spreadsheet
that I attach.
2) I have considered some alternative sets of flags too, but came back
to what we currently have. The only exception is that I have strong
doubts about supporting IOS_F_TRUNCATE flag. As far as I can see it only
makes sense for files and I do not know what to make of it in other
interfaces. It is not a very useful poke-y functionality, it just clears
a file. Can we simply drop it? If not, I intend to reject it on other
interfaces. Let me know what you think about this.
I will start the implementation early afternoon.
Cheers,
Ege
why we need to switch to open.ods
Description: application/vnd.oasis.opendocument.spreadsheet