Date: Thu, 19 Feb 2004 01:56:58 -0800 (PST) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs direntry.h msdosfs_conv.c Message-ID: <200402190956.i1J9uwQw004782@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402190956.i1J9uwQw004782>
