format of fortune.dat files
crossd at gmail.com
Thu Nov 13 15:03:52 PST 2014
On Thu, Nov 13, 2014 at 6:01 PM, Dan Cross <crossd at gmail.com> 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:
vs strfile.h from
- 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 <phma at leaf.dragonflybsd.org>
>> 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,
>> > 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
>> the man file says that the version is 1.
>> The Black Garden on the Mountain is not on the Black Mountain.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users