summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorsf <sf@openbsd.org>2017-08-14 22:45:12 +0000
committersf <sf@openbsd.org>2017-08-14 22:45:12 +0000
commitd7df32c5d9ed41f2834fca1a0822e76fea088197 (patch)
treea5646c3b4901e66a62a73d08406a885cce2a18ec /lib/libc
parentmsdofs: Add new CLUST_END constant (diff)
downloadwireguard-openbsd-d7df32c5d9ed41f2834fca1a0822e76fea088197.tar.xz
wireguard-openbsd-d7df32c5d9ed41f2834fca1a0822e76fea088197.zip
msdofs: Add new CLUST_END constant
(forgot to commit fat.h) Add new CLUST_END and use it as parameter to pcbmap() when searching for end cluster, instead of explicitly passing 0xffff. This fixes potential problem for FAT32, where cluster number may be legally bigger than 0xffff. Also change clusteralloc() so that fillwith is not explicitly passed by caller anymore (there is no need to use anything other than CLUST_EOFE). From NetBSD commit by jdolecek@NetBSD.org ok tb@ mpi@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions