<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I did cloned RTEM source, newlib and rtems-libbsd.</div><div>Kept them in same folder so as to get easy with 'grep' and 'find'.</div><div><br></div><div><span style="font-family:monospace,monospace">$ ls</span></div><div><span style="font-family:monospace,monospace">newlib-cygwin rtems rtems-libbsd</span></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">$ grep -r grantpt ./</span></div><div><span style="font-family:monospace,monospace">./newlib-cygwin/winsup/doc/posix.xml: grantpt<br>./newlib-cygwin/winsup/doc/posix.xml:return -1 and set errno to ENOSYS. <function>grantpt</function> and<br>./newlib-cygwin/winsup/cygwin/tty.cc:grantpt (int fd)<br>./newlib-cygwin/winsup/cygwin/libc/bsdlib.cc: grantpt (master);<br>./newlib-cygwin/winsup/cygwin/common.din:grantpt NOSIGFE<br>./newlib-cygwin/winsup/cygwin/include/cygwin/stdlib.h:int grantpt (int);<br>./newlib-cygwin/winsup/CVSChangeLogs.old/cygwin/ChangeLog-1997: * cygwin.din: srandom, ptsname, grantpt, unlockpt - new exports.<br>./newlib-cygwin/winsup/CVSChangeLogs.old/cygwin/ChangeLog-1997: (grantpt): new<br>./newlib-cygwin/winsup/CVSChangeLogs.old/cygwin/ChangeLog-2001: * tty.cc (grantpt): Fix definition.<br>./newlib-cygwin/winsup/CVSChangeLogs.old/cygwin/ChangeLog-2011: * tty.cc (grantpt): Check for valid fd.<br>./newlib-cygwin/newlib/ChangeLog-2015: * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin<br>./rtems/testsuites/psxtests/Makefile.am:## lib_a_SOURCES += psxhdrs/stdlib/grantpt.c See ticket #3645<br>./rtems/testsuites/psxtests/psxhdrs/stdlib/grantpt.c: * @brief grantpt() API Conformance Test<br>./rtems/testsuites/psxtests/psxhdrs/stdlib/grantpt.c: return_value = grantpt(fildes);</span><br></div><div>.<br></div><div>.<br></div><div>As I analyzed the output, I find no file that contains implementation of 'grantpt()', means ticket #3645(<a href="https://devel.rtems.org/ticket/3645">https://devel.rtems.org/ticket/3645</a>) still needs to be addressed.</div><div>But then how this method is used in rtems testsuites?. (refer last two lines of output for grep command).</div><div>.<br></div><div>Am I doing something wrong? or I am missing something.<br></div><div><br></div><div>Thanks <br></div><div>Vaibhav Gupta<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2019 at 5:31 AM Joel Sherrill <<a href="mailto:joel@rtems.org">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">I'm about to head home so not going to dig into each of those but I<div>will point out for GSoC, we need to get you where you can answer </div><div>these questions yourself.</div><div><br></div><div>1) clone the newlib (<a href="http://sourceware.org/newlib" target="_blank">sourceware.org/newlib</a>) source, RTEMS source, and </div><div> rtems-libbsd source. rtems-libbsd is the source for networking APIs.</div><div>2) use "grep -r" (recursive grep) and find (ex: find . -name "XXX") to help you</div><div> find implementations.</div><div><br></div><div>For #3676, RTEMS supports aio but aio.h is one of only a handful of POSIX</div><div>.h files in RTEMS and not in newlib. That's why the Google Code-In student</div><div>couldn't find it in newlib. Just scanning the cpukit/include, I see 3 POSIX .h</div><div>files which could be moved to newlib. This is worth discussing on devel@</div><div><br></div><div>For the rest, I think they are still open to be implemented. Now whether the</div><div>method makes sense or not on RTEMS or requires more infrastructure than</div><div>a simple method to be added is something to determine on a case by case </div><div>basis.</div><div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 5:51 PM Vaibhav Gupta <<a href="mailto:vaibhavgupta40@gmail.com" target="_blank">vaibhavgupta40@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="auto"><div dir="auto">It will be very helpful to know the current status of the following tickets, and if I can choose sub-tasks from them, for GSoC project.</div><div dir="auto"><br></div><div dir="auto">.</div><div dir="auto">#3676 - Add support for aio.h</div><div dir="auto">.</div><div dir="auto">#3642 - Add iswalnum(), iswalpha() ... (and 18 others) to <wchar.h> header</div><div dir="auto">.</div><div dir="auto">#3371 - Add dirfd() and fdopendir() methods in dirent.h</div><div dir="auto">.</div><div dir="auto">#3656 - Function prototypes for posix_fadvise() and posix_fallocate() missing in <fcntl.h> header file</div><div dir="auto">.</div><div dir="auto">#3652- Add support for sys/resource.h method - getpriority</div><div dir="auto">.</div><div dir="auto">#3653 - Add support for sys/resource.h method - getrlimit</div><div dir="auto">.</div><div dir="auto">#3654 - Add support for sys/resource.h method - setpriority</div><div dir="auto">.</div><div dir="auto">#3655 - Add support for sys/resource.h method - setrlimit</div><div dir="auto">.</div><div dir="auto">#3644 - Add support for stdlib.h method - getsubopt</div><div dir="auto">.</div><div dir="auto">#3645 - Add support for stdlib.h method - grantpt</div><div dir="auto">.</div><div dir="auto">#3646 - Add support for stdlib.h method - posix_openpt</div><div dir="auto">.</div><div dir="auto">#3647 - Add support for stdlib.h method - ptsname</div><div dir="auto">.</div><div dir="auto">#3648 - Add support for stdlib.h method - unlockpt</div><div dir="auto">.</div><div dir="auto">#3643 - Add support for uchar.h header</div><div dir="auto">.</div><div dir="auto">#3633 - add getdelim() and getline() to stdio.h</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Vaibhav Gupta</div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 7 Mar, 2019, 9:57 PM Vaibhav Gupta <<a href="mailto:vaibhavgupta40@gmail.com" target="_blank">vaibhavgupta40@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="auto"><div dir="auto">Hello,</div><div dir="auto">I was exploring open projects and got very much intrested in the following ticket: </div><div dir="auto"><br></div>#2966 - POSIX Compilance : <a href="https://devel.rtems.org/ticket/2966" rel="noreferrer" target="_blank">https://devel.rtems.org/ticket/2966</a><div dir="auto">.</div><div dir="auto">As on the page, the project is divided into multiple sub-tasks. For many of them I am not able to find their current status and if enough work is left on them to be included as a GSoC project.</div><div dir="auto">.</div><div dir="auto">I would like to know the good combinations of sub-tasks which can compile into a good GSoC project under the "POSIX" ticket. I am very much interested to take this project. It would be great if someone mentors this project, I want to discuss further on this.</div><div dir="auto">.</div><div dir="auto">Also if there are new any new projects which are not mentioned on open-projects page? That can be taken up as GSoC project, I would love to explore them as well.</div><div dir="auto"><br></div><div dir="auto">Thankyou</div><div dir="auto">Vaibhav Gupta</div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>