Am 07.05.19 um 10:38 schrieb Sven Schreiber:
Am 11.04.2019 um 19:40 schrieb Allin Cottrell:
> On Wed, 10 Apr 2019, Allin Cottrell wrote:
>
> [Re. Sven's discovery that a Stata .dta file written by gretl on
> Windows, via "/File/Export data", was corrupted]
>
>> OK. The problem seems to be independent of the Stata version, and
>> amounts to the fact that gretl's stata exporter is broken on Windows.
>> If I produce a dta of the penngrow data on Linux, it's fine; if I do
>> so on Windows it's broken from observation 50 onward.
>
> This is now fixed in git and snapshots. We were using the POSIX
> open/write API for producing the binary dta file. I thought this would
> be OK on Windows via mingw but apparently it is not. We've now switched
> to use of the standard C fopen/fwrite API.
Thanks Allin. I have some anecdotal evidence that it works better now.
(@Artur:) Since Stata is important for many people or for collaboration
perhaps this would be worth a tweet ?
Good idea, I've just sent a tweet.
Best,
Artur