Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: basesrc
"Charles M. Hannum" wrote:
> Module Name: basesrc
> Committed By: mycroft
> Date: Sun Jan 23 19:59:33 UTC 2000
>
> Modified Files:
>
> basesrc/usr.sbin/pwd_mkdb: Makefile pwd_mkdb.8 pwd_mkdb.c
>
> Log Message:
>
> Add explicit endianness overrides.
Should we not use internal DB macros but use something else like
bswap32() for the endian conversions? Even just:
#include <machine/bswap.h>
#define M_32_SWAP(foo) (foo) = bswap32((foo))
which has the (extremely slight!) advantage of being optimised for
each architecture...
Simon.
Home |
Main Index |
Thread Index |
Old Index