# HG changeset patch # User Pascal Bellard # Date 1538831840 -7200 # Node ID 7b15fbf27388e27bc42e4cc733c0424176970fc4 # Parent 46b511e941a720c1f31b6920d7418cacb171c90a Up zstd (1.3.6) diff -r 46b511e941a7 -r 7b15fbf27388 linld/stuff/src/ISO9660.CPP --- a/linld/stuff/src/ISO9660.CPP Fri Oct 05 23:02:32 2018 +0200 +++ b/linld/stuff/src/ISO9660.CPP Sat Oct 06 15:17:20 2018 +0200 @@ -103,7 +103,9 @@ } //#define IS_DIR(x)( ((x) & ~0777) == 040000) -#define IS_DIR(x)( (char)((x) >> 9) == (char)040) +//#define IS_DIR(x)( (char)((x) >> 9) == (char)040) +//#define IS_DIR(x)( (*((char*) &x + 1) & (char)0776) == (char)0100) +#define IS_DIR(x)( (*((char*) &x + 1) & (char)0676) == (char)0) int isoopen(const char *filename) { int restart; diff -r 46b511e941a7 -r 7b15fbf27388 linld/stuff/src/LOAD.CPP --- a/linld/stuff/src/LOAD.CPP Fri Oct 05 23:02:32 2018 +0200 +++ b/linld/stuff/src/LOAD.CPP Sat Oct 06 15:17:20 2018 +0200 @@ -163,7 +163,7 @@ } if((kernelparams->setup_sects)>=(_32k/512) || // 0th sector not counted kernelparams->boot_flag != 0xAA55) - die("It's not a kernel"); + die("Not a kernel"); heap_top = rm_buf+(rm_size=0x200*(kernelparams->setup_sects+1)); // <*> // Read remaining rm loader diff -r 46b511e941a7 -r 7b15fbf27388 linld/stuff/src/TAZBOOT.CPP --- a/linld/stuff/src/TAZBOOT.CPP Fri Oct 05 23:02:32 2018 +0200 +++ b/linld/stuff/src/TAZBOOT.CPP Sat Oct 06 15:17:20 2018 +0200 @@ -132,8 +132,11 @@ if (*init && isolseek(&initrddesc) != -1) { read(x->fd, &x->filemod, 10); // + x->fileofs & x->filesize magic = x->filemod; - x->fileofs &= 0xFFFFL; - x->fileofs -= 0xC0L + (x->filesize &= 0xFFFF); + //x->fileofs &= 0xFFFFL; + * ((short *) &x->fileofs + 1) &= 0; + //x->fileofs -= 0xC0L + (x->filesize &= 0xFFFF); + * ((short *) &x->filesize + 1) &= 0; + x->fileofs -= 0xC0L + x->filesize; if (((short *) &x->fileofs)[1] == 0) addinitrd(); else init=""; } diff -r 46b511e941a7 -r 7b15fbf27388 zstd-dev/receipt --- a/zstd-dev/receipt Fri Oct 05 23:02:32 2018 +0200 +++ b/zstd-dev/receipt Sat Oct 06 15:17:20 2018 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="zstd-dev" -VERSION="1.3.5" +VERSION="1.3.6" CATEGORY="development" SHORT_DESC="Zstandard - Fast and efficient compression algorithm, development files." MAINTAINER="pascal.bellard@slitaz.org" diff -r 46b511e941a7 -r 7b15fbf27388 zstd/receipt --- a/zstd/receipt Fri Oct 05 23:02:32 2018 +0200 +++ b/zstd/receipt Sat Oct 06 15:17:20 2018 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="zstd" -VERSION="1.3.5" +VERSION="1.3.6" CATEGORY="base-system" SHORT_DESC="Zstandard - Fast and efficient compression algorithm." MAINTAINER="pascal.bellard@slitaz.org"