cvs commit: src/sys/fs/msdosfs direntry.h msdosfs_conv.c

Tim J. Robbins tjr at FreeBSD.org
Thu Feb 19 01:56:59 PST 2004


tjr         2004/02/19 01:56:58 PST

  FreeBSD src repository

  Modified files:
    sys/fs/msdosfs       direntry.h msdosfs_conv.c 
  Log:
  Use size_t or ssize_t wherever appropriate instead of casting from int *
  to size_t *, which is incorrect because they may have different widths.
  This caused some subtle forms of corruption, the mostly frequently
  reported one being that the last character of a filename was sometimes
  duplicated on amd64.
  
  Revision  Changes    Path
  1.20      +5 -5      src/sys/fs/msdosfs/direntry.h
  1.37      +22 -21    src/sys/fs/msdosfs/msdosfs_conv.c


More information about the cvs-src mailing list