<table><tr><td style="">sitter created this revision.<br />sitter added reviewers: ngraham, asn.<br />Herald added projects: Dolphin, Frameworks.<br />Herald added subscribers: kfm-devel, kde-frameworks-devel.<br />sitter requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27520">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>unlike the dirent itering we do not need a separate stat call with this<br />
new api by instead itering on what are effectively stat-like objects.</p>

<p>this simply runs before the regular itering which we still use to list<br />
shares and workgroups. browse_stat_path has been split into stat and<br />
udsentry-construction-from-stat so it can be used across both code<br />
paths.</p>

<p>fun fact on the side: if there actually was a stat() api that returned<br />
libsmb_file_info, we could use that as well and forget about the stats<br />
structs in general :S</p>

<p>BUG: 402988<br />
FIXED-IN: 20.04.0</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">build samba 4.12 rc</li>
<li class="remarkup-list-item">list server</li>
<li class="remarkup-list-item">list share</li>
<li class="remarkup-list-item">list dir in share</li>
</ul>

<ul class="remarkup-list">
<li class="remarkup-list-item">on 4.7</li>
<li class="remarkup-list-item">all of the above</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R320 KIO Extras</div></div></div><br /><div><strong>BRANCH</strong><div><div>readdirplus2</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27520">https://phabricator.kde.org/D27520</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>smb/CMakeLists.txt<br />
smb/config-smb.h.cmake<br />
smb/kio_smb.h<br />
smb/kio_smb_browse.cpp</div></div></div><br /><div><strong>To: </strong>sitter, ngraham, asn<br /><strong>Cc: </strong>kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, cblack, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov<br /></div>