wok-6.x diff linld/stuff/src/TAZBOOT.CPP @ rev 20477
Rebuild perl in 32 bits
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 17 20:44:06 2018 +0200 (2018-10-17) |
parents | 77cbb661144f |
children | 049ced0bd387 |
line diff
1.1 --- a/linld/stuff/src/TAZBOOT.CPP Wed Oct 10 10:43:41 2018 +0200 1.2 +++ b/linld/stuff/src/TAZBOOT.CPP Wed Oct 17 20:44:06 2018 +0200 1.3 @@ -76,7 +76,7 @@ 1.4 if (!*iso || isoreset(*iso) < 0) return; 1.5 skip_alloc++; 1.6 base_himem = memtop() /2; 1.7 - //if (base_himem > _64m) base_himem = _64m; 1.8 + //if (base_himem >= _64m) base_himem = _64m; 1.9 if (* ((char *) &base_himem +3) >= 4) base_himem = _64m; 1.10 isoopen("boot") >= 0 || 1.11 isoopen("live") >= 0 || // debian 1.12 @@ -132,8 +132,7 @@ 1.13 if (*init && isolseek(&initrddesc) != -1) { 1.14 read(x->fd, &x->filemod, 10); // + x->fileofs & x->filesize 1.15 magic = x->filemod; 1.16 - //x->fileofs &= 0xFFFFL; 1.17 - * ((short *) &x->fileofs + 1) = 0; 1.18 + x->fileofs &= 0xFFFFL; 1.19 //x->fileofs -= 0xC0L + (x->filesize &= 0xFFFF); 1.20 * ((short *) &x->filesize + 1) = 0; 1.21 x->fileofs -= 0xC0L + x->filesize;