Source-Changes-HG archive

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

[src/trunk]: src/sys/msdosfs fix msdosfs export problems which occur on LP64 ...



details:   https://anonhg.NetBSD.org/src/rev/84754ab2ace0
branches:  trunk
changeset: 474947:84754ab2ace0
user:      cgd <cgd%NetBSD.org@localhost>
date:      Tue Jul 27 05:39:10 1999 +0000

description:
fix msdosfs export problems which occur on LP64 systems, which were
discovered while investigating PR#8037.

diffstat:

 sys/msdosfs/denode.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r b8cba0c057f6 -r 84754ab2ace0 sys/msdosfs/denode.h
--- a/sys/msdosfs/denode.h      Tue Jul 27 05:38:02 1999 +0000
+++ b/sys/msdosfs/denode.h      Tue Jul 27 05:39:10 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: denode.h,v 1.30 1999/07/08 01:06:02 wrstuden Exp $     */
+/*     $NetBSD: denode.h,v 1.31 1999/07/27 05:39:10 cgd Exp $  */
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -239,13 +239,13 @@
  * This overlays the fid structure (see mount.h)
  */
 struct defid {
-       u_short defid_len;      /* length of structure */
-       u_short defid_pad;      /* force long alignment */
+       u_int16_t defid_len;    /* length of structure */
+       u_int16_t defid_pad;    /* force 4-byte alignment */
 
-       u_long defid_dirclust;  /* cluster this dir entry came from */
-       u_long defid_dirofs;    /* offset of entry within the cluster */
+       u_int32_t defid_dirclust; /* cluster this dir entry came from */
+       u_int32_t defid_dirofs; /* offset of entry within the cluster */
 #if 0
-       u_long  defid_gen;      /* generation number */
+       u_int32_t defid_gen;    /* generation number */
 #endif
 };
 



Home | Main Index | Thread Index | Old Index