Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/msdosfs pull up rev 1.13 from trunk. (cgd)



details:   https://anonhg.NetBSD.org/src/rev/888a9127802e
branches:  netbsd-1-4
changeset: 469245:888a9127802e
user:      cgd <cgd%NetBSD.org@localhost>
date:      Fri Aug 20 05:39:26 1999 +0000

description:
pull up rev 1.13 from trunk. (cgd)

diffstat:

 sys/msdosfs/fat.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 285677146189 -r 888a9127802e sys/msdosfs/fat.h
--- a/sys/msdosfs/fat.h Fri Aug 20 05:39:22 1999 +0000
+++ b/sys/msdosfs/fat.h Fri Aug 20 05:39:26 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fat.h,v 1.12 1997/11/17 15:36:36 ws Exp $      */
+/*     $NetBSD: fat.h,v 1.12.8.1 1999/08/20 05:39:26 cgd Exp $ */
 
 /*-
  * Copyright (C) 1994, 1997 Wolfgang Solfrank.
@@ -80,7 +80,7 @@
 #define        FAT16(pmp)      (pmp->pm_fatmask == FAT16_MASK)
 #define        FAT32(pmp)      (pmp->pm_fatmask == FAT32_MASK)
 
-#define        MSDOSFSEOF(pmp, cn)     ((((cn) | ~(pmp)->pm_fatmask) & CLUST_EOFS) == CLUST_EOFS)
+#define        MSDOSFSEOF(pmp, cn)     ((cn) == (CLUST_EOFS & (pmp)->pm_fatmask))
 
 #ifdef _KERNEL
 /*



Home | Main Index | Thread Index | Old Index