wok diff runcom/stuff/runcom.c @ rev 15806

Up: sudoku to 2.3. Fixed WEB_SITE and WGET_URL so we get the app and not a error page.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 24 01:35:01 2014 +0000 (2014-01-24)
parents 289a2f495cd6
children fd625ee963af
line diff
     1.1 --- a/runcom/stuff/runcom.c	Sat Feb 18 09:00:05 2012 +0100
     1.2 +++ b/runcom/stuff/runcom.c	Fri Jan 24 01:35:01 2014 +0000
     1.3 @@ -489,7 +489,7 @@
     1.4                  goto failed;
     1.5              }
     1.6      	}
     1.7 -        if (lseek(fd, first_sector, SEEK_CUR) >= 0 &&
     1.8 +        if (lseek(fd, first_sector, SEEK_SET) >= 0 &&
     1.9              read(fd, buffer, sector_count) == sector_count) {
    1.10              r->eax &= ~0xff00;
    1.11              r->eflags &= ~CF_MASK;