((rar_br_has(br, (n)) || rar_br_fillup(a, br)) || rar_br_has(br, (n)))
/* Notify how many bits we consumed. */
#define rar_br_consume(br, n) ((br)->cache_avail -= (n))
-#define rar_br_consume_unalined_bits(br) ((br)->cache_avail &= ~7)
+#define rar_br_consume_unaligned_bits(br) ((br)->cache_avail &= ~7)
static const uint32_t cache_masks[] = {
0x00000000, 0x00000001, 0x00000003, 0x00000007,
free_codes(a);
/* Skip to the next byte */
- rar_br_consume_unalined_bits(br);
+ rar_br_consume_unaligned_bits(br);
/* PPMd block flag */
if (!rar_br_read_ahead(a, br, 1))
static int iso9660_close(struct archive_write *);
static int iso9660_free(struct archive_write *);
-static void get_system_identitier(char *, size_t);
+static void get_system_identifier(char *, size_t);
static void set_str(unsigned char *, const char *, size_t, char,
const char *);
static inline int joliet_allowed_char(unsigned char, unsigned char);
* Get the System Identifier
*/
static void
-get_system_identitier(char *system_id, size_t size)
+get_system_identifier(char *system_id, size_t size)
{
#if defined(HAVE_SYS_UTSNAME_H)
struct utsname u;
/* Unused Field */
set_unused_field_bp(bp, 8, 8);
/* System Identifier */
- get_system_identitier(identifier, sizeof(identifier));
+ get_system_identifier(identifier, sizeof(identifier));
r = set_str_a_characters_bp(a, bp, 9, 40, identifier, vdc);
if (r != ARCHIVE_OK)
return (r);
int count;
};
-struct att_counter_set {
+struct attr_counter_set {
struct attr_counter *uid_list;
struct attr_counter *gid_list;
struct attr_counter *mode_list;
unsigned long fflags_set;
unsigned long fflags_clear;
} set;
- struct att_counter_set acs;
+ struct attr_counter_set acs;
int classic;
int depth;
{
struct archive_string setstr;
struct archive_string unsetstr;
- struct att_counter_set *acs;
+ struct attr_counter_set *acs;
int keys, oldkeys, effkeys;
archive_string_init(&setstr);
attr_counter_set_collect(struct mtree_writer *mtree, struct mtree_entry *me)
{
struct attr_counter *ac, *last;
- struct att_counter_set *acs = &mtree->acs;
+ struct attr_counter_set *acs = &mtree->acs;
int keys = mtree->keys;
if (keys & (F_UNAME | F_UID)) {
static void
attr_counter_set_free(struct mtree_writer *mtree)
{
- struct att_counter_set *acs = &mtree->acs;
+ struct attr_counter_set *acs = &mtree->acs;
attr_counter_free(&acs->uid_list);
attr_counter_free(&acs->gid_list);