Re: isatty fails on Windows 8

2013-01-03 Thread Eric Blake
On 01/02/2013 07:48 AM, Michael Goffioul wrote: > On Sun, Dec 23, 2012 at 3:51 PM, Michael Goffioul < > Someone has finally tested the suggestions under Windows 8. Paolo's > suggestion works OK, Eli's one does not. If so, can someone please turn this into an actual git commit, to make applying it

Re: isatty fails on Windows 8

2013-01-02 Thread Michael Goffioul
On Wed, Jan 2, 2013 at 9:48 AM, Michael Goffioul wrote: > On Sun, Dec 23, 2012 at 3:51 PM, Michael Goffioul < > michael.goffi...@gmail.com> wrote: > >> On Sun, Dec 23, 2012 at 3:25 PM, Eli Zaretskii wrote: >> >>> > Date: Thu, 20 Dec 2012 19:02:03 -0500 >>> > From: Michael Goffioul >>> > >>> > W

Re: isatty fails on Windows 8

2013-01-02 Thread Michael Goffioul
On Sun, Dec 23, 2012 at 3:51 PM, Michael Goffioul < michael.goffi...@gmail.com> wrote: > On Sun, Dec 23, 2012 at 3:25 PM, Eli Zaretskii wrote: > >> > Date: Thu, 20 Dec 2012 19:02:03 -0500 >> > From: Michael Goffioul >> > >> > We've got a bug report in octave [1] that seems to indicate that >> gn

Re: isatty fails on Windows 8

2012-12-23 Thread Michael Goffioul
On Sun, Dec 23, 2012 at 3:25 PM, Eli Zaretskii wrote: > > Date: Thu, 20 Dec 2012 19:02:03 -0500 > > From: Michael Goffioul > > > > We've got a bug report in octave [1] that seems to indicate that gnulib's > > replacement of isatty is incorrect on Windows 8 (it's fine up to Windows > > 7). Lookin

Re: isatty fails on Windows 8

2012-12-23 Thread Eli Zaretskii
> Date: Thu, 20 Dec 2012 19:02:03 -0500 > From: Michael Goffioul > > We've got a bug report in octave [1] that seems to indicate that gnulib's > replacement of isatty is incorrect on Windows 8 (it's fine up to Windows > 7). Looking at the implementation, it first calls the Windows _isatty > versi

Re: isatty fails on Windows 8

2012-12-23 Thread Paolo Bonzini
Il 21/12/2012 01:02, Michael Goffioul ha scritto: > Hi, > > We've got a bug report in octave [1] that seems to indicate that > gnulib's replacement of isatty is incorrect on Windows 8 (it's fine up > to Windows 7). Looking at the implementation, it first calls the Windows > _isatty version, then c

isatty fails on Windows 8

2012-12-20 Thread Michael Goffioul
Hi, We've got a bug report in octave [1] that seems to indicate that gnulib's replacement of isatty is incorrect on Windows 8 (it's fine up to Windows 7). Looking at the implementation, it first calls the Windows _isatty version, then checks the last 2 bits of the handle associated with the file d