Re: Bug in luac.exe on win32, lua 5.1.4
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Bug in luac.exe on win32, lua 5.1.4
- From: Rob Kendrick <rjek@...>
- Date: 2010年9月22日 21:15:28 +0100
On Wed, Sep 22, 2010 at 08:54:24PM +0200, Fabien wrote:
> On Wed, Sep 22, 2010 at 8:41 PM, Thomas Harning Jr. <harningt@gmail.com>wrote:
>
> > This isn't so much a bug in Lua as it is a problem in Windows. You
> > could work around this by forcing stdout to be binary _setmode... but
> > that's pretty ugly and platform specific.
> >
>
> My point is, today "-o -" is not usable on win32. That the questionable
> design decision was taken by MS and not Lua is true but irrelevant: the
> option should either be usable on win32, or disabled for that platform.
It would be a shame if we bloated Lua's sources with #ifdefs to disable
functionality on every badly designed and implemented system.
B.