Eric Blake
fd66ea669c
bitmap: fix problems in previous commit
...
Commit ee3d3893 missed the fact that (unsigned char)<<(int)
is truncated to int, and therefore failed for any bitmap data
longer than four bytes.
Also, I failed to run 'make syntax-check' on my commit 4bba6579;
for whatever odd reason, ffs lives in a different header than ffsl.
* src/util/bitmap.c (virBitmapNewData): Use correct shift type.
(includes): Glibc (and therefore gnulib) decided ffs is in
<strings.h>, but ffsl is in <string.h>.
* tests/virbitmaptest.c (test5): Test it.
2012-09-18 17:47:06 -06:00
..
2012-08-02 14:36:23 -06:00
2012-08-31 08:10:58 -07:00
2012-09-13 21:19:58 +08:00
2012-05-08 16:57:37 -06:00
2012-09-06 10:59:33 -06:00
2012-08-17 15:43:26 -04:00
2012-08-17 15:43:26 -04:00
2012-08-02 14:36:23 -06:00
2012-07-20 15:36:11 -06:00
2012-05-21 06:26:34 -04:00
2012-05-21 06:26:34 -04:00
2012-09-18 15:43:28 +08:00
2012-09-18 15:00:01 +08:00
2012-05-15 17:07:34 +01:00
2012-05-08 16:57:37 -06:00
2012-08-02 14:36:23 -06:00
2012-08-02 14:36:23 -06:00
2012-08-02 17:14:17 -06:00
2012-07-18 20:08:27 +01:00
2012-07-21 20:15:02 +02:00
2012-05-08 16:57:37 -06:00
2012-07-21 19:45:02 +02:00
2012-07-23 10:50:50 +08:00
2012-08-31 08:10:58 -07:00
2012-09-17 14:59:37 -04:00
2012-07-23 10:50:50 +08:00
2012-05-08 16:57:37 -06:00
2012-07-23 10:50:50 +08:00
2012-09-05 15:02:01 -06:00
2012-09-17 14:59:36 -04:00
2012-08-17 15:43:26 -04:00
2012-07-20 15:36:11 -06:00
2012-05-21 06:26:34 -04:00
2012-07-27 07:42:34 -06:00
2012-07-30 13:09:57 +01:00
2012-05-08 16:57:37 -06:00
2012-09-03 09:32:45 +02:00
2012-09-18 11:47:12 +02:00
2012-09-07 13:18:09 +01:00
2012-09-13 11:44:05 +01:00
2012-09-07 13:18:04 +01:00
2012-09-18 15:00:01 +08:00
2012-09-14 08:32:56 +02:00
2012-09-13 12:24:12 +01:00
2012-07-27 07:42:34 -06:00
2012-07-27 07:42:34 -06:00
2012-08-06 08:15:13 -06:00
2012-08-21 11:37:57 +01:00
2012-08-21 11:37:57 +01:00
2012-08-07 11:47:41 +01:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-07-27 07:42:34 -06:00
2012-08-09 15:40:42 -06:00
2012-07-18 20:08:27 +01:00
2012-07-18 20:08:27 +01:00
2012-08-06 08:15:13 -06:00
2012-08-21 11:37:57 +01:00
2012-07-11 11:19:05 +02:00
2012-07-27 07:42:34 -06:00
2012-09-04 11:16:55 +01:00
2012-07-23 10:50:50 +08:00
2012-09-18 17:47:06 -06:00
2012-06-11 09:21:27 -06:00
2012-07-24 15:45:20 -06:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-08-07 11:47:41 +01:00
2012-08-07 11:47:41 +01:00
2012-08-07 11:59:08 +01:00
2012-07-27 07:42:34 -06:00
2012-07-27 07:42:34 -06:00
2012-07-27 07:42:34 -06:00
2012-09-12 11:27:22 -06:00
2012-05-01 14:58:14 -06:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-07-21 20:15:02 +02:00
2012-08-07 11:47:41 +01:00
2012-07-21 19:45:02 +02:00