Ruslan Ermilov e2db8d3732 Add endianness support.
While version 4 entries are architecture-independent, we
also store old (version 3) entries in native byte order.
Also, the hash itself is created in a native byte order.

With this change, pwd_mkdb(8) can be used to cross-build
*pwd.db files for another architecture.

Tested on:	i386, amd64, alpha, sparc64
2005-02-28 21:05:30 +00:00
..
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-09 10:35:28 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 12:17:52 +00:00
2005-02-13 23:23:30 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2004-01-04 15:51:32 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-11 11:47:22 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-01-21 10:35:40 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-02-22 02:56:42 +00:00
2005-02-13 23:45:54 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2004-12-21 09:59:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-02-15 09:27:00 +00:00
2005-02-13 22:25:33 +00:00
2005-02-09 18:07:17 +00:00
2005-02-24 06:03:31 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 23:45:54 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 23:45:54 +00:00
2005-02-27 15:49:07 +00:00
2005-02-13 22:25:33 +00:00
2004-12-21 10:16:04 +00:00
2005-01-18 20:02:45 +00:00
2005-02-28 21:05:30 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 23:45:54 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-15 09:27:00 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 23:45:54 +00:00
2005-02-13 23:45:54 +00:00
2004-12-21 10:49:29 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 23:45:54 +00:00
2005-02-13 23:45:54 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 10:49:29 +00:00
2005-01-18 20:02:45 +00:00
2004-12-21 12:44:20 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 23:45:54 +00:00
2005-02-13 23:45:54 +00:00
2005-02-26 21:18:20 +00:00