wok diff linld/stuff/src/ISO9660.CPP @ rev 22171
pcmanfm-legacy, spacefm: link with libxcb-util
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 12:05:48 2019 +0100 (2019-11-08) |
parents | c19368210c2b |
children | 53c1379e13fa |
line diff
1.1 --- a/linld/stuff/src/ISO9660.CPP Sat Jun 15 16:18:19 2019 +0200 1.2 +++ b/linld/stuff/src/ISO9660.CPP Fri Nov 08 12:05:48 2019 +0100 1.3 @@ -110,8 +110,8 @@ 1.4 // char _64bits = cpuhaslm(); 1.5 struct isostate *x=&isostate; 1.6 #define name (x->filename2open) 1.7 -#define c (((char *)&x->entrysize)[0]) 1.8 -#define _64bits (((char *)&x->entrysize)[1]) 1.9 +#define c (x->c) 1.10 +#define _64bits (x->_64bits) 1.11 char *s; 1.12 1.13 _64bits = cpuhaslm(); 1.14 @@ -121,7 +121,7 @@ 1.15 } 1.16 next: 1.17 name = s; 1.18 - do s++; while (*s != '/' && *s); 1.19 + do s++; while (*s && *s != '/'); 1.20 c = *s; *s = 0; 1.21 for (x->curdirsize = 0xFFFF; isoreaddir() != -1;) { 1.22 const char *n = name;