: Re: : Re: [MPlayer-dev-eng] Small changes to subreader.c file

Diego Biurrun diego at biurrun.de
Sun Oct 9 22:13:26 CEST 2005


On Sun, Oct 09, 2005 at 08:22:22PM +0100, Martin Simmons wrote:
> On Sun, 9 Oct 2005 14:04:01 +0200, Diego Biurrun <diego at biurrun.de> said:
> > On Sun, Oct 09, 2005 at 01:41:41PM +0200, Adam Tla??ka wrote:
> > > Again - .bat file is a DOS/Windows batch commands file which needs cr/lf  
> > > line endings.
> 
> > Just tried on a Windows XP SP2 system and cmd.exe handles unix-style
> > line endings just fine.
> 
> Cool, now you can extend this technique to solve the halting problem for all
> inputs :-)

I did however prove the statement

  .bat file is a DOS/Windows batch commands file which needs cr/lf  
  line endings.

wrong.

> I never said that *all* scripts with unix-style line endings will fail.  The
> problem was with a GOTO command that failed to find its label.  If I remember
> correctly, it failed only when the distance from the GOTO to the label was
> 4096 bytes minus the length of the label.  It worked on some versions of
> Windows.  YMMV.

MS-DOS 6.22 is not Windows.  Neither is - nowadays - Windows 98.

But this is unimportant.  I was just taking issue with the fact that
everybody was parrotting an obviously false statement.

Diego




More information about the MPlayer-dev-eng mailing list