Date: Sat, 07 Feb 2009 22:23:01 +0100 From: Christoph Mallon <christoph.mallon@gmx.de> To: John Baldwin <jhb@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r188251 - head/sys/fs/udf Message-ID: <498DFBB5.9080309@gmx.de> In-Reply-To: <200902062224.n16MO3gm072994@svn.freebsd.org> References: <200902062224.n16MO3gm072994@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin schrieb:
> Modified: head/sys/fs/udf/ecma167-udf.h
> ==============================================================================
> --- head/sys/fs/udf/ecma167-udf.h Fri Feb 6 22:22:08 2009 (r188250)
> +++ head/sys/fs/udf/ecma167-udf.h Fri Feb 6 22:24:03 2009 (r188251)
> @@ -354,6 +354,18 @@ struct file_entry {
> #define UDF_FENTRY_PERM_GRP_MASK 0xE0
> #define UDF_FENTRY_PERM_OWNER_MASK 0x1C00
>
> +/* Path Component [4/14.16.1] */
> +struct path_component {
> + uint8_t type;
> + uint8_t length;
> + uint16_t version;
> + uint8_t identifier[0];
> +} __packed;
[0] is a GCCism. The standard way to declare a flexible array member is
[] (cf. ISO/IEC 9899:1999 (E) ยง6.7.2.1:16).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?498DFBB5.9080309>
