[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] xgettext crash on MSYS2
From: |
Daiki Ueno |
Subject: |
Re: [bug-gettext] xgettext crash on MSYS2 |
Date: |
Thu, 23 Apr 2015 06:09:38 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Daiki Ueno <address@hidden> writes:
> I heard that xgettext crashes on MSYS2 when processing a certain Glade
> file[1] as follows:
>
> xgettext -L Glade --output=- gtkfontchooserwidget.ui >& /dev/null
>
> However, I can't reproduce that on my environment (on both MSYS2 x86_64
> and i686, on 64-bit Windows 8). Could anyone who runs MSYS2 and
> encounters the same problem, please try to collect the backtrace?
It turned out to be a problem in MSYS2, where isatty is not working
correctly when an FD is redirected to /dev/null. I've opened a ticket:
https://sourceforge.net/p/msys2/tickets/157/
The problem can be reproduced even with a C file when stdout is
redirected to /dev/null. A minimal workaround would be to use
--color=no and bypass the check.
Regards,
--
Daiki Ueno