cvs commit: src/usr.sbin/pwd_mkdb pwd_mkdb.8 pwd_mkdb.c

Ruslan Ermilov ru at FreeBSD.org
Mon Feb 28 21:05:31 GMT 2005


ru          2005-02-28 21:05:30 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/pwd_mkdb    pwd_mkdb.8 pwd_mkdb.c 
  Log:
  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
  
  Revision  Changes    Path
  1.26      +6 -5      src/usr.sbin/pwd_mkdb/pwd_mkdb.8
  1.49      +41 -36    src/usr.sbin/pwd_mkdb/pwd_mkdb.c


More information about the cvs-src mailing list