cvs commit: src/sys/fs/msdosfs bpb.h

Craig Rodrigues rodrigc at
Thu Jan 4 21:50:37 PST 2007

rodrigc     2007-01-05 05:50:36 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/fs/msdosfs       bpb.h 
  MFC 1.14, 1.15:
  marcel      2006-12-21 05:40:46 UTC
    Unbreak 64-bit little-endian systems that do require alignment.
    The fix involves using le16dec(), le32dec(), le16enc() and
    le32enc(). This eliminates invalid casts and duplicated logic.
  PR:             106703
  Tested by:      Axel Gonzalez <loox e-shell net>
  Revision  Changes    Path  +5 -26     src/sys/fs/msdosfs/bpb.h

More information about the cvs-src mailing list