fssync-debug: fix strict-aliasing problems
authorAndrew Deason <adeason@sinenomine.net>
Thu, 1 Apr 2010 18:18:41 +0000 (13:18 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 1 Apr 2010 21:38:05 +0000 (14:38 -0700)
commit8844c339608d92c6a69364f84fcd14366cea9f13
treedc6591a91cbf8b4a1f69456eb118ba733abaa60b
parenta83e7ea4d86352d89f270be93db77a0774aaea3f
fssync-debug: fix strict-aliasing problems

We cannot type-pun pointers like that. Instead, declare a new struct
on the stack, and copy the memory into it. Remove the CFLAGS_NOSTRICT
suppression on fssync-debug.o.

Change-Id: I25b48399417e009dc94bfebd513c0ee6feea282a
Reviewed-on: http://gerrit.openafs.org/1678
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/tsalvaged/Makefile.in
src/vol/Makefile.in
src/vol/fssync-debug.c