Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 21:05:31 +0000 (UTC)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/pwd_mkdb pwd_mkdb.8 pwd_mkdb.c
Message-ID:  <200502282105.j1SL5VSr066067@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502282105.j1SL5VSr066067>