On Thu, Jul 11, 2002 at 05:14:40AM -0700, Mathew Earle Reuther wrote: >I definately have SOME kind of an issue going on that I'm confused about, >that's for sure. I dropped a ton of flags on an item and saved it, then >rebooted and edited it again, it's got a ton of "UNDEFINED" flags on it >after all the ones I set. Eesh. Odds are you're not reading them back in right, that is, if you're sure you're writing %lld or %llu (depending on bitvector_t being typedef'ed as (long long int) or (unsigned long long int). As was discussed maybe a year ago, strtoull() is your friend. See man 3 strtol as a reference or check the archives. If all else fails, I'd suggest you go through constants.c and add a lot of "UNUSED_BIT_##" to the arrays, where ## is from highest defined bit up to maximum # of bits (63 for ull). Handy for general debugging anyway. -me -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT