<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 26, 2020 at 9:06 AM Eshan Dhawan <<a href="mailto:eshandhawan51@gmail.com">eshandhawan51@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>so the subtasks would consist of adding missing functions to stat.h , types.h mainly I suppose <br></div></div></blockquote><div><br></div><div>What do you think is missing in those? My reading of the POSIX standard has is implying that</div><div><ftw.h> includes <sys/stat.h> to get st_mode and the stat structure.</div><div><br></div><div><a href="https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/ftw.h.html">https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/ftw.h.html</a>  <br></div><div><br></div><div>The subtasks I referred to as the same for every time a new C Library or POSIX method</div><div>is added to RTEMS or Newlib:</div><div><br></div><div>+ the code itself<br></div><div>+ test code<br></div><div>+ addition to documentation as needed<br></div><div>+ update to compliance tracking spreadsheet (usually I will do this)</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>- Eshan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 26, 2020 at 7:30 PM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 26, 2020 at 7:03 AM Eshan Dhawan <<a href="mailto:eshandhawan51@gmail.com" target="_blank">eshandhawan51@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I wanted to know the status of implementation of ftw.h in newlib <br></div><div>and the dependencies it requires?</div></div></blockquote><div><br></div><div>FIrst hint is that the ticket is still open. :)</div><div><br></div><div>The next is a way to check if it is part of the installed C Library. Wherever</div><div>you installed the tools (TOOLS_PREFIX) for CPU-rtems5</div><div><br></div><div>find TOOLS_PREFIX -name ftw.h</div><div>CPU-rtems5-nm TOOLS_PREFIX/CPU-rtems5/lib/libc.a | grep ftw</div><div><br></div><div>In this case, you will see it isn't there.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>As it could be ported from FreeBSD since it lies under favourable licence </div></div></blockquote><div><br></div><div>Yep. And this would almost certainly need to be merged into the newlib C library</div><div>with tests added to RTEMS.</div><div><br></div><div>Documentation added to the POSIX Users Guide and the tracking spreadsheet</div><div>updated.</div><div><br></div><div>Just to list all the subtasks. :)</div><div><br></div><div>--joel </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div></div></div>
</blockquote></div>
</blockquote></div></div>