wok-6.x rev 20454

Up zstd (1.3.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 06 15:17:20 2018 +0200 (2018-10-06)
parents 46b511e941a7
children 45d416bfc91e
files linld/stuff/src/ISO9660.CPP linld/stuff/src/LOAD.CPP linld/stuff/src/TAZBOOT.CPP zstd-dev/receipt zstd/receipt
line diff
     1.1 --- a/linld/stuff/src/ISO9660.CPP	Fri Oct 05 23:02:32 2018 +0200
     1.2 +++ b/linld/stuff/src/ISO9660.CPP	Sat Oct 06 15:17:20 2018 +0200
     1.3 @@ -103,7 +103,9 @@
     1.4  }
     1.5  
     1.6  //#define IS_DIR(x)( ((x) & ~0777) == 040000)
     1.7 -#define IS_DIR(x)( (char)((x) >> 9) == (char)040)
     1.8 +//#define IS_DIR(x)( (char)((x) >> 9) == (char)040)
     1.9 +//#define IS_DIR(x)( (*((char*) &x + 1) & (char)0776) == (char)0100)
    1.10 +#define IS_DIR(x)( (*((char*) &x + 1) & (char)0676) == (char)0)
    1.11  int isoopen(const char *filename)
    1.12  {
    1.13  	int restart;
     2.1 --- a/linld/stuff/src/LOAD.CPP	Fri Oct 05 23:02:32 2018 +0200
     2.2 +++ b/linld/stuff/src/LOAD.CPP	Sat Oct 06 15:17:20 2018 +0200
     2.3 @@ -163,7 +163,7 @@
     2.4      }
     2.5      if((kernelparams->setup_sects)>=(_32k/512) || // 0th sector not counted
     2.6  	 kernelparams->boot_flag != 0xAA55)
     2.7 -        die("It's not a kernel");
     2.8 +        die("Not a kernel");
     2.9      heap_top = rm_buf+(rm_size=0x200*(kernelparams->setup_sects+1));  // <*>
    2.10  
    2.11      // Read remaining rm loader
     3.1 --- a/linld/stuff/src/TAZBOOT.CPP	Fri Oct 05 23:02:32 2018 +0200
     3.2 +++ b/linld/stuff/src/TAZBOOT.CPP	Sat Oct 06 15:17:20 2018 +0200
     3.3 @@ -132,8 +132,11 @@
     3.4  		if (*init && isolseek(&initrddesc) != -1) {
     3.5  			read(x->fd, &x->filemod, 10); // + x->fileofs & x->filesize
     3.6  			magic = x->filemod;
     3.7 -			x->fileofs &= 0xFFFFL;
     3.8 -			x->fileofs -= 0xC0L + (x->filesize &= 0xFFFF);
     3.9 +			//x->fileofs &= 0xFFFFL;
    3.10 +			* ((short *) &x->fileofs + 1) &= 0;
    3.11 +			//x->fileofs -= 0xC0L + (x->filesize &= 0xFFFF);
    3.12 +			* ((short *) &x->filesize + 1) &= 0;
    3.13 +			x->fileofs -= 0xC0L + x->filesize;
    3.14  			if (((short *) &x->fileofs)[1] == 0) addinitrd();
    3.15  			else init="";
    3.16  		}
     4.1 --- a/zstd-dev/receipt	Fri Oct 05 23:02:32 2018 +0200
     4.2 +++ b/zstd-dev/receipt	Sat Oct 06 15:17:20 2018 +0200
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="zstd-dev"
     4.7 -VERSION="1.3.5"
     4.8 +VERSION="1.3.6"
     4.9  CATEGORY="development"
    4.10  SHORT_DESC="Zstandard - Fast and efficient compression algorithm, development files."
    4.11  MAINTAINER="pascal.bellard@slitaz.org"
     5.1 --- a/zstd/receipt	Fri Oct 05 23:02:32 2018 +0200
     5.2 +++ b/zstd/receipt	Sat Oct 06 15:17:20 2018 +0200
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="zstd"
     5.7 -VERSION="1.3.5"
     5.8 +VERSION="1.3.6"
     5.9  CATEGORY="base-system"
    5.10  SHORT_DESC="Zstandard - Fast and efficient compression algorithm."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"