[netatalk-admins] Re: megatron patch


Subject: [netatalk-admins] Re: megatron patch
From: Frank Morton (fmorton@mail.base2inc.com)
Date: Thu Aug 27 1998 - 18:08:35 EDT


Woops...regarding my earlier megatron patch...I already have a
patch to it. I forgot about big/little endian issues. The original
patch works fine on SPARC, but not on Intel format.

Here is a patch to the previous patch that fixes that. I have "lightly"
tested this under Solaris and Linux.

Sorry for jumping the gun...

If anyone would like to send them the doubly patched source, just
let me know where you want it ftp'd (or whatever).

>start megatron.c------------------------------------
113,115c113,115
< printf("create_date: %u\n",htonl(fh.create_date));
< printf("mod_date: %u\n",htonl(fh.mod_date));
< printf("backup_date: %u\n",htonl(fh.backup_date));

---
>         printf("create_date: %u\n",fh.create_date);
>         printf("mod_date: %u\n",fh.mod_date);
>         printf("backup_date: %u\n",fh.backup_date);
118c118
<         printf("flags: %x\n",htons(fh.finder_info.fdFlags));
---
>         printf("flags: %x\n",fh.finder_info.fdFlags);

>end megatron.c------------------------------------- > > >



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:33:12 EST