Date: Sat, 15 Dec 2001 21:09:07 -0800 From: Marcel Moolenaar <marcel@xcllnt.net> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: Willem van Engen <wvengen@stack.nl>, freebsd-emulation@FreeBSD.ORG Subject: Re: flexlm: works with linux_base-6, fails with linux_base-7 Message-ID: <20011215210907.A5211@dhcp01.pn.xcllnt.net> In-Reply-To: <15383.25291.595785.323779@grasshopper.cs.duke.edu> References: <20011210115204.6ddde325.wvengen@stack.nl> <15382.5752.295875.987980@grasshopper.cs.duke.edu> <20011211184131.0425b1fd.wvengen@stack.nl> <15382.23861.710621.118157@grasshopper.cs.duke.edu> <20011212142154.2fcf4740.wvengen@stack.nl> <15383.25291.595785.323779@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 12, 2001 at 08:59:39AM -0500, Andrew Gallatin wrote: > > Willem van Engen writes: [snip] > > > > linux_base-7: > > > bsd.l_len = bfbff15000000000, lin.l_len = bfbff15000000000 > > > bsd.l_pid= 280cbc80, lin.l_pid = 280cbc80 > > linux_base-6: > > > bsd.l_len = 0, lin.l_len = 0 > > > bsd.l_pid= 0, lin.l_pid = 0 > > Hopefully, Marcel will have some idea of what the "right" thing to do > here is. The l_pid field can savely be set to 0 in linux_to_bsd_flock*. It's only used for F_GETLK and hence needs to be copied in the other direction. I'm wondering if the l_len field is valid. I expect a value of 0 to be used to lock to EOF. Willem, I have to ask: is the printf you added valid? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011215210907.A5211>