Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-03-05 | idmap: use UL for bitshift literals | Tony Espy | 1 | -4/+4 | |
The current bitshift logic in idmap incorrectly uses the literal 1 for the value to shift in idmap_alloc(), idmap_take(), and idmap_alloc_next(). This causes the resulting value to be an int instead of a long, which results in the wrong bit being set once the number of bits to shift operand exceeds sizeof(int). Also on some platforms, the behavior of the left bitshift operator is undefined when this overflow occurs. | |||||
2011-10-15 | core: Some more copyright fixes | Marcel Holtmann | 1 | -1/+1 | |
2011-10-10 | core: Update copyright information | Marcel Holtmann | 1 | -1/+1 | |
2010-01-11 | Remove trailing/leading whitespace | Aki Niemi | 1 | -2/+2 | |
2010-01-07 | Fix: Be paranoid and check that last is in range | Denis Kenzior | 1 | -0/+3 | |
2010-01-07 | Add idmap_take utility | Denis Kenzior | 1 | -0/+12 | |
2010-01-07 | Change the semantics to return id > max on failure | Denis Kenzior | 1 | -1/+1 | |
2010-01-07 | Add idmap_from_range constructor | Denis Kenzior | 1 | -11/+34 | |
2010-01-07 | Add initial implementation of idmap utilities | Denis Kenzior | 1 | -0/+164 | |