guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: always O_BINARY?


From: Mike Gran
Subject: Re: always O_BINARY?
Date: Sun, 24 Feb 2013 08:55:48 -0800 (PST)

> From: Andy Wingo <address@hidden>
> So, what do you think about always adding O_BINARY to files that Guile
> opens?

Lilypond, Gnucash, Denemo, Autogen and Emacs all run on Windows
to varying degrees.  As does Gnome Games.  If it doesn't break
any of them, then it might be okay.  In an ideal world, there would
be a cross-platform build bot that runs 'make check' on each of
these things so that one could know if a change was going to 
break something.
 
But, for what it is worth, I think it is a bad idea.
 
If you imagine a program that uses autoconf... One way to deal with
the rapid churn of API in Guile is to check for the presence or
absence of a function.  Most of our API changes could be detected
in a configure script by checking to see if a procedure is present
or absent.
 
This would be something else entirely.  To deal with this in an
autoconf sense, one would have to write a test that actually reads
and writes a file.
 
-Mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]