Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/udf Sync with UDFclient



details:   https://anonhg.NetBSD.org/src/rev/1af1d9f963aa
branches:  trunk
changeset: 365254:1af1d9f963aa
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Thu Aug 09 13:49:30 2018 +0000

description:
Sync with UDFclient

diffstat:

 sys/fs/udf/ecma167-udf.h |  16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 7a2a680ecc95 -r 1af1d9f963aa sys/fs/udf/ecma167-udf.h
--- a/sys/fs/udf/ecma167-udf.h  Thu Aug 09 12:45:15 2018 +0000
+++ b/sys/fs/udf/ecma167-udf.h  Thu Aug 09 13:49:30 2018 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: ecma167-udf.h,v 1.15 2018/07/25 19:56:56 kamil Exp $ */
+/* $NetBSD: ecma167-udf.h,v 1.16 2018/08/09 13:49:30 reinoud Exp $ */
 
 /*-
- * Copyright (c) 2003, 2004, 2005, 2006, 2008, 2009
- *     Reinoud Zandijk * <reinoud%NetBSD.org@localhost>
+ * Copyright (c) 2003, 2004, 2005, 2006, 2008, 2009, 2017, 2018
+ *     Reinoud Zandijk <reinoud%NetBSD.org@localhost>
  * Copyright (c) 2001, 2002 Scott Long <scottl%freebsd.org@localhost>
  * All rights reserved.
  *
@@ -264,7 +264,10 @@
 struct icb_tag {
        uint32_t        prev_num_dirs;
        uint16_t        strat_type;
-       uint8_t         strat_param[2];
+       union {
+               uint8_t  strat_param[2];
+               uint16_t strat_param16;
+       };
        uint16_t        max_num_entries;
        uint8_t         reserved;
        uint8_t         file_type;
@@ -682,7 +685,10 @@
        struct extattr_entry    hdr;
        uint32_t                iu_l;
        struct regid            imp_id;
-       uint8_t                 data[1];
+       union {
+               uint8_t  data[1];
+               uint16_t data16;
+       };
 } __packed;
 
 



Home | Main Index | Thread Index | Old Index