Re: [PATCH] Add build time guard to detect off_t mismatch

Jan Kiszka <[email protected]>
Newsgroups dev.linux.lists.xenomai
Message-ID <[email protected]>
On 07.05.26 14:55, Richard Weinberger wrote:
> ----- Ursprüngliche Mail -----
>> Von: "Jan Kiszka" <[email protected]>
>>> In my case it was just mmap(). But wouldn't it hurt at any function
>>> or data structure exposed by Xenomai which uses off_t?
>>>
>>> So, I suggest applying my change as safeguard mechanism.
>>>
>>
>> mmap is supposed to be fine by now. So we need to understand why it is
>> not and resolve the issue - or my other patch would be pointless.
> 
> Ah, sorry for not being clear.
> Your fix is in next and not part of a release, and the application in
> question uses Xenomai 3.2.6...

But 3.2.x is not affected by the mmap off_t issue?! Still confused.

Yes, I decided against backport my fix to 3.3.x, so your change could be
an alternative for that branch.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.