# HG changeset patch # User Pascal Bellard # Date 1418937564 -3600 # Node ID 9a40226bee2e313976fc34ec161d54ba408dc483 # Parent 188b825993013be90e8f7efcbdf5afaacc8ab900 syslinux/iso2exe: tiny fix diff -r 188b82599301 -r 9a40226bee2e syslinux/stuff/iso2exe/bootiso.S --- a/syslinux/stuff/iso2exe/bootiso.S Thu Dec 18 20:41:03 2014 +0100 +++ b/syslinux/stuff/iso2exe/bootiso.S Thu Dec 18 22:19:24 2014 +0100 @@ -127,10 +127,10 @@ exestart: cld movw $0x100, %si - movw -126(%si), %ax + movw -127(%si), %ax cwd // clear dx pushw %dx // dos exit() - cmpb $0x2F, %al + cmpw $0x2F20, %ax movw $0x3000+EXESTR(help), %ax je abort int $0x21 // get DOS version diff -r 188b82599301 -r 9a40226bee2e syslinux/stuff/iso2exe/iso2exe.sh --- a/syslinux/stuff/iso2exe/iso2exe.sh Thu Dec 18 20:41:03 2014 +0100 +++ b/syslinux/stuff/iso2exe/iso2exe.sh Thu Dec 18 22:19:24 2014 +0100 @@ -22,7 +22,7 @@ { TMP=/tmp/iso2exe$$ mkdir -p $TMP/bin $TMP/dev - cp -a /dev/?d?* $TMP/dev + cp -a /dev/?d?* /dev/tty $TMP/dev $0 --get init > $TMP/init.exe grep -q mount.posixovl.iso2exe $TMP/init.exe && cp /usr/sbin/mount.posixovl $TMP/bin/mount.posixovl.iso2exe \