<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:23:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-9137] readdir_r is deprecated now</title>
                <link>https://jira.whamcloud.com/browse/LU-9137</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Trying to build Lustre on Fedora 25 I got hit by this:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;lhsmtool_posix.c: In function &#1041;ct_import_recurse&#1041;:
lhsmtool_posix.c:1499:3: error: &#1041;readdir_r&#1041; is deprecated [-Werror=deprecated-de
clarations]
   rc = readdir_r(dir, &amp;amp;ent, &amp;amp;cookie);
   ^~
In file included from /usr/include/features.h:368:0,
                 from /usr/include/stdio.h:27,
                 from lhsmtool_posix.c:40:
/usr/include/dirent.h:189:12: note: declared here
 extern int __REDIRECT (readdir_r,
            ^
lhsmtool_posix.c: In function &#1041;ct_dir_level_max&#1041;:
lhsmtool_posix.c:1710:2: error: &#1041;readdir_r&#1041; is deprecated [-Werror=deprecated-declarations]
  while ((rc = readdir_r(dir, &amp;amp;ent, &amp;amp;cookie)) == 0) {
  ^~~~~
In file included from /usr/include/features.h:368:0,
                 from /usr/include/stdio.h:27,
                 from lhsmtool_posix.c:40:
/usr/include/dirent.h:189:12: note: declared here
 extern int __REDIRECT (readdir_r,
            ^
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;man readdir_r on my Fedora25 system says that modern posix does not guarantee thread-safedness of readdir, bug glibc and other modern implementation versions of readdir are safe as long as you give it different input streams.&lt;/p&gt;</description>
                <environment></environment>
        <key id="43980">LU-9137</key>
            <summary>readdir_r is deprecated now</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="simmonsja">James A Simmons</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 19 Feb 2017 21:05:05 +0000</created>
                <updated>Sat, 3 Jun 2017 04:32:16 +0000</updated>
                            <resolved>Sat, 3 Jun 2017 04:32:16 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="192127" author="bogl" created="Fri, 14 Apr 2017 18:45:56 +0000"  >&lt;p&gt;The same problem happens in builds on Ubuntu 17.&lt;/p&gt;</comment>
                            <comment id="196958" author="gerrit" created="Wed, 24 May 2017 20:26:28 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27276&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27276&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9137&quot; title=&quot;readdir_r is deprecated now&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9137&quot;&gt;&lt;del&gt;LU-9137&lt;/del&gt;&lt;/a&gt; utils: replace readdir_r with readdir&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: bcba6161f4eb8bdb739f363d1a6bc90d19fe649d&lt;/p&gt;</comment>
                            <comment id="198012" author="gerrit" created="Sat, 3 Jun 2017 03:57:36 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27276/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27276/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9137&quot; title=&quot;readdir_r is deprecated now&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9137&quot;&gt;&lt;del&gt;LU-9137&lt;/del&gt;&lt;/a&gt; utils: replace readdir_r with readdir&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 76b1fd6596e62cfb6a2543240db8d0823c1a1465&lt;/p&gt;</comment>
                            <comment id="198043" author="pjones" created="Sat, 3 Jun 2017 04:32:16 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzz4dz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>