hash_byte(h, 'B');
hash_int(h, bytes);
break;
+ default:
+ hash_byte(h, 'U');
+ continue;
+ break;
}
sha256_process(h, data, bytes);
}
/* hash package files */
sql = sqlite3_mprintf("select path, mode, username, groupname, configuration, "
- "filetype, target, devmajor, devminor, mtime, hash "
+ "filetype, target, device, mtime, hash "
"from packagefiles_pkgid where pkgid = %Q order by path",
pkgid);
hash_query(zpm, sql, &d);
sqlite3_free(sql);
return 1;
-
}