Changeset 824

Show
Ignore:
Timestamp:
05/07/2007 11:02:11 AM (20 months ago)
Author:
shawnw
Message:

attr tree fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 1.8.3/branches/devel/src/attrib.c

    r817 r824  
    404404      AL_FLAGS(atr) = AL_FLAGS(std); \ 
    405405    } else { \ 
    406         AL_FLAGS(atr) |= flags; \ 
     406        AL_FLAGS(atr) = flags; \ 
    407407    } \ 
    408408  } while (0) 
     
    502502  AL_NAME(ptr) = name; 
    503503  ptr->data = NULL_CHUNK_REFERENCE; 
     504  AL_FLAGS(ptr) = 0; 
    504505 
    505506  /* link it in */ 
     
    564565    free(t); 
    565566      } 
    566     } 
     567    } else { 
     568      if (!AF_FLAGS(root) & AF_ROOT)    /* Upgrading old database */ 
     569    AF_FLAGS(root) |= AF_ROOT;  
    567570  } 
    568571