now the generated "data" file matches the old one
strlen -> str_len
This commit is contained in:
@@ -8,8 +8,8 @@ int bstr_diff(const char* a,const char* b) {
|
||||
/* like str_diff, just for bstrs */
|
||||
if (*a && *b)
|
||||
return str_diff(a,b);
|
||||
if (*a) A=a+strlen(a); else { A=a+5+uint32_read(a+1); a+=5; }
|
||||
if (*b) B=b+strlen(b); else { B=b+5+uint32_read(b+1); b+=5; }
|
||||
if (*a) A=a+str_len(a); else { A=a+5+uint32_read(a+1); a+=5; }
|
||||
if (*b) B=b+str_len(b); else { B=b+5+uint32_read(b+1); b+=5; }
|
||||
for (;;) {
|
||||
if (a==A) {
|
||||
if (b==B)
|
||||
|
||||
Reference in New Issue
Block a user