Re: bug in texi2dvi, on Windows/Msys2 it cannot find tex

2022-04-08 Thread Tomas Kalibera
On 4/8/22 18:30, Gavin Smith wrote: On Fri, Apr 08, 2022 at 06:07:01PM +0200, Tomas Kalibera wrote: Works for me on all those 3 systems (just needed to add \ at the end of the line after "/dev/null "). And checking OSTYPE against "msys" is a common pattern in Msys2 patche

Re: bug in texi2dvi, on Windows/Msys2 it cannot find tex

2022-04-08 Thread Tomas Kalibera
On 4/8/22 17:25, Gavin Smith wrote: On Fri, Apr 08, 2022 at 04:30:12PM +0200, Tomas Kalibera wrote: I am not sure what is the correct name of it. I executed C:\MinGW\msys\1.0\msys.bat to get the shell. It uses : as path separator. Have you found that running texi2dvi fails in such an

Re: bug in texi2dvi, on Windows/Msys2 it cannot find tex

2022-04-08 Thread Tomas Kalibera
On 4/8/22 16:12, Gavin Smith wrote: On Fri, Apr 08, 2022 at 03:53:31PM +0200, Tomas Kalibera wrote: On 4/8/22 15:31, Gavin Smith wrote: On Fri, Apr 08, 2022 at 03:15:01PM +0200, Tomas Kalibera wrote: What happens if we don't set MSYSTEM at all? diff --git a/util/texi2dvi b/util/tex

Re: bug in texi2dvi, on Windows/Msys2 it cannot find tex

2022-04-08 Thread Tomas Kalibera
On 4/8/22 15:31, Gavin Smith wrote: On Fri, Apr 08, 2022 at 03:15:01PM +0200, Tomas Kalibera wrote: What happens if we don't set MSYSTEM at all? diff --git a/util/texi2dvi b/util/texi2dvi index 1f42b41907..c506bbad37 100755 --- a/util/texi2dvi +++ b/util/texi2dvi @@ -85,7 +85,7 @

Re: bug in texi2dvi, on Windows/Msys2 it cannot find tex

2022-04-08 Thread Tomas Kalibera
On 4/8/22 14:56, Gavin Smith wrote: On Wed, Apr 06, 2022 at 05:24:01PM +0300, Eli Zaretskii wrote: Date: Wed, 6 Apr 2022 14:39:30 +0200 From: Tomas Kalibera texi2dvi on Msys2 doesn't find tex, because it incorrectly detects ";" as path separator (it is ":"). The pr

bug in texi2dvi, on Windows/Msys2 it cannot find tex

2022-04-06 Thread Tomas Kalibera
Hello, texi2dvi on Msys2 doesn't find tex, because it incorrectly detects ";" as path separator (it is ":"). The problem is in the following code. With Msys2, OSTYPE is "msys", but MSYSTEM is upper-case "MSYS" and uname needs it that way: # In the case of Msys, uname returns a value derived