On Fri, 06 Aug 1999 23:42:50 +0100, Arnd Hanses wrote: >On Fri, 06 Aug 1999 22:11:37 +0100, Arnd Hanses wrote: > >>+/* non portable EMX C Library fn, should handle DBCS[*] too */ >>+ LString sh = _getname( getenv("EMXSHELL") ); >>+ > >Looking closer at the patch, I found line 612 of lyx_cb.C lacks a cast: > >+/* non portable EMX C Library fn, should handle DBCS[*] too */ >+ LString sh = LString (_getname( >getenv("EMXSHELL") )); >+ dito some lines lower; it should read: + if (sh.empty()) + { + sh = LString(_getname( getenv("COMSPEC") )); + /* dito */ + if (sh.empty()) /* shouldnt' happen */ + sh = "cmd.exe"; + } Greets, Arnd
- New file patch (was: Re: Just a Matter of Style (was... Arnd Hanses
- Re: New file patch (was: Re: Just a Matter of St... Arnd Hanses
- Re: New file patch (was: Re: Just a Matter of St... Arnd Hanses
- Re: New file patch (was: Re: Just a Matter of St... Arnd Hanses
- Re: New file patch (was: Re: Just a Matter of St... Arnd Hanses
- Re: New file patch (was: Re: Just a Matter of St... Shigeru Miyata
- Re: New file patch (was: Re: Just a Matter of St... Shigeru Miyata
- Re: New file patch (was: Re: Just a Matter of St... Arnd Hanses
- Re: New file patch (was: Re: Just a Matter of St... Arnd Hanses
- Re: New file patch (was: Re: Just a Matter of St... Lars Gullik Bjønnes
- Re: New file patch (was: Re: Just a Matter of St... miyata
- Re: New file patch (was: Re: Just a Matter of St... Arnd Hanses
- Re: New file patch (was: Re: Just a Matter of St... miyata