On Thu, Nov 13, 2014 at 6:01 PM, Dan Cross <[email protected]> wrote: > Don't go by the man page. The Linux version specifies explicit type widths for the files in strfile.h (specifically, it uses u_int32_t), while Dragonfly uses "unsigned long."
I should mention my sources: http://gitweb.dragonflybsd.org/dragonfly.git/blob/c36bd8130d0f62a8100ba285df15fa44fc0c7e86:/games/fortune/strfile/strfile.h vs strfile.h from http://ftp.de.debian.org/debian/pool/main/f/fortune-mod/fortune-mod_1.99.1.orig.tar.gz - Dan C. (PS: The Linux version is definitely descended from the BSD version; I was wrong about that.) On Thu, Nov 13, 2014 at 5:45 PM, Pierre Abbat <[email protected]> > wrote: > >> On Thursday, November 13, 2014 17:11:01 Dan Cross wrote: >> > Almost certainly a different header structure. I don't think that the >> > Berkeley and Linux versions of fortune share much in the way of code, >> let >> > alone structure. But I don't know. >> >> The header structure, as described in "man strfile", is the same. The only >> difference is the extra zeros and that the Linux file begins with 2, even >> though >> the man file says that the version is 1. >> >> Pierre >> -- >> The Black Garden on the Mountain is not on the Black Mountain. >> >> >
