BigDisk project: du(1) 64bit clean.

Pawel Jakub Dawidek pjd at
Tue Jan 4 23:05:26 PST 2005

On Tue, Jan 04, 2005 at 07:46:06PM -0800, Doug White wrote:
+> Now there is a question if gcc will do something odd to that embedded
+> struct for alignment purposes. I haven't checked the original code for
+> __packed, however...

I checked where fields are placed after and before this change on all our
archs and ABI is preserved. I wrote a small tool for this purpose if you
want to play:

	% tar -jvxf ftstest.tbz
	% cd ftstest
	% make
	% old/oldfts
	% new/newfts

It shows addresses of few fields in the structure.

Pawel Jakub Dawidek             
pjd at                 
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-arch mailing list