On 4/2/2024 9:50 AM, Christian Franke via Cygwin wrote:
Christian Franke via Cygwin wrote:
,,,
BTW, according to the Linux kernel sources, BLKPBSZGET etc return
'unsigned int' and not 'unsigned long' since first appearance in
2.6.32-rc3 (2009?):
https://elixir.bootlin.com/linux/v2.6.32-rc3/source/block/ioctl.c#L276
https://elixir.bootlin.com/linux/v2.6.32-rc3/source/block/compat_ioctl.c#L743
https://elixir.bootlin.com/linux/v6.8.2/source/block/ioctl.c#L533
So I don't understand why the mentioned code would be correct for Linux.
It is likely an upstream regression from an 1+ year old commit. I filed
a GH issue:
https://github.com/util-linux/util-linux/issues/2904
Thank you Christian for reporting the issue upstream. I won't be able
to try out the proposed fix in that issue 2904 as I'm about to be AFK
for two weeks plus. I will check in upon my return to keyboard.
Cheers & Regards,
..mark
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple