Date: Sat, 20 Jul 2013 02:50:01 GMT From: <giffunip@tutopia.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/180662: sysutils/fusefs-libs: add birthtime support Message-ID: <201307200250.r6K2o1Zh099262@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/180662; it has been noted by GNATS. From: <giffunip@tutopia.com> To: Jan Beich <jbeich@tormail.org> Cc: <bug-followup@FreeBSD.org> Subject: Re: ports/180662: sysutils/fusefs-libs: add birthtime support Date: Fri, 19 Jul 2013 21:42:10 -0500 On Sat, 20 Jul 2013 00:38:06 +0000, Jan Beich <jbeich@tormail.org> wrote: > Pedro Giffuni <giffunip@tutopia.com> writes: > >> +--- include/fuse_kernel.h.orig 2013-07-19 12:31:33.000000000 -0500 >> ++++ include/fuse_kernel.h 2013-07-19 12:35:32.000000000 -0500 >> +@@ -134,16 +134,24 @@ >> + __u64 atime; >> + __u64 mtime; >> + __u64 ctime; >> ++#ifdef __FreeBSD__ >> ++ __u64 crtime; >> ++#endif >> + __u32 atimensec; >> + __u32 mtimensec; >> + __u32 ctimensec; >> ++#ifdef __FreeBSD__ >> ++ __u32 crtimensec; >> ++#endif >> + __u32 mode; >> + __u32 nlink; >> + __u32 uid; >> + __u32 gid; >> + __u32 rdev; >> + __u32 blksize; >> ++#ifndef __FreeBSD__ >> + __u32 padding; >> ++#endif >> + }; > > The padding seems wrong. Did you meen the following ? Ugh .. Hadnt noticed, thanks. However, you have to pad an even number to keep the 64bit boundary. 3 instead of 4. And this has to be adjusted in the kernel too.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307200250.r6K2o1Zh099262>