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-09-18 17:47:06 -06:00
2012-09-17 14:59:36 -04:00
2012-07-27 18:27:21 +08:00
2012-07-27 18:27:21 +08:00
2012-08-31 16:31:30 +08:00
2012-09-07 13:30:20 +01:00
2012-08-31 08:10:58 -07:00
2012-08-01 11:44:32 +08:00
2012-07-27 18:27:21 +08:00
2012-07-27 18:27:21 +08:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-08-22 22:44:17 -04:00
2012-07-23 10:50:50 +08:00
2012-08-08 15:50:58 -06: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-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-08-06 08:15:13 -06:00
2012-08-22 22:44:17 -04:00
2012-07-23 10:50:50 +08:00
2012-08-15 15:51:46 +01:00
2012-08-15 10:55:51 +01:00
2012-01-12 20:44:55 +00:00
2012-09-06 10:08:47 -06:00
2012-08-02 11:50:46 +01:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-08-31 21:48:26 +08:00
2012-07-23 10:50:50 +08:00
2012-09-17 14:59:37 -04:00
2012-09-17 14:59:37 -04:00
2012-07-18 16:31:35 +01:00
2012-08-09 15:40:42 -06:00
2012-07-27 18:27:21 +08:00
2012-07-27 18:27:21 +08:00
2012-08-09 16:12:01 +01:00
2012-08-09 16:12:01 +01:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-08-15 10:55:51 +01:00
2012-08-15 10:55:51 +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-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-09-18 14:42:33 +08:00
2012-09-18 14:42:33 +08:00
2012-08-14 15:47:02 -04:00
2012-08-14 15:47:02 -04:00
2012-08-02 11:50:59 +01:00
2012-08-21 14:27:32 -06:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-07-25 10:37:51 +02: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-23 10:50:50 +08:00
2012-08-21 12:07:00 -06:00
2012-07-23 10:50:50 +08:00
2012-08-22 15:34:07 -06:00
2012-04-19 10:21:43 -04:00
2012-07-23 10:50:50 +08:00
2012-08-09 15:40:42 -06:00
2011-08-26 14:18:57 +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-08-31 11:41:23 +08:00
2012-08-31 11:41:23 +08:00
2012-09-06 10:08:47 -06:00
2012-08-17 15:43:26 -04:00
2012-09-18 16:41:13 +02:00
2012-09-18 16:41:13 +02:00
2012-09-06 10:08:47 -06:00
2012-07-23 10:50:50 +08:00
2012-08-22 18:23:58 +08:00
2012-07-23 10:50:50 +08:00
2012-09-05 14:35:04 -04:00
2012-08-17 11:12:29 -04:00
2012-09-06 10:08:47 -06:00
2012-08-17 11:12:29 -04:00
2012-07-23 10:50:50 +08:00
2012-07-23 10:50:50 +08:00
2012-08-15 13:10:57 -04:00
2012-08-15 13:10:57 -04:00
2012-08-30 15:27:27 -04:00
2012-08-14 15:47:20 -04:00
2012-08-22 16:10:09 +01:00
2012-08-28 12:09:43 +02:00
2012-08-02 11:50:46 +01:00
2012-08-02 11:50:46 +01:00
2012-08-07 11:47:41 +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-08-14 15:33:10 -06:00
2012-08-14 15:31:25 +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-08-27 18:00:10 +02:00
2012-09-04 10:57:25 -06:00
2012-07-23 10:50:50 +08:00
2012-09-07 08:08:16 +02:00
2012-09-07 08:08:16 +02:00
2012-07-27 18:27:21 +08:00
2012-07-27 18:27:21 +08:00
2012-07-27 18:27:21 +08:00
2011-12-08 11:37:24 +08:00