D28478: [FileProtocol] change statx stat_dev() to return makedev(major, minor)
Ahmad Samir
noreply at phabricator.kde.org
Wed Apr 1 18:32:14 BST 2020
ahmadsamir marked 3 inline comments as done.
ahmadsamir added inline comments.
INLINE COMMENTS
> ahmadsamir wrote in file_unix.cpp:304
> This buf.st_dev is the decimal part in:
> $ stat /usr/bin/file | grep Device
> Device: 804h/2052d Inode: 9168 Links: 1
> that would be "2052"
>
> whereas with statx it returns buf.stx_dev_major which is an uint32_t.
With makedev() now I get the same numbers.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D28478
To: ahmadsamir, #frameworks, dfaure, meven, bruns
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200401/46c61e77/attachment.html>
More information about the Kde-frameworks-devel
mailing list