Updating Newlib was Fwd: [PATCH] FTW Port for Newlib

Joel Sherrill joel at rtems.org
Wed Mar 3 23:27:22 UTC 2021


This patch has been merged into newlib as of Feb 10 but the RSB for the
newlib for rtems6 tools is from Jan 22.

Any issues with updating newlib to pick this up so I can begin to merge
Eshan's ftw tests?

commit bebb25961c1ed29d217b1a40fc69c77ebdc18bcd
Author: Corinna Vinschen <corinna at vinschen.de>
Date:   Sun Feb 10 15:19:08 2008 +0000

            * libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility.
            * libc/nftw.c (nftw): Ditto.

Current RSB newlib:

commit cb41c375a6e2c70e5146c1af68549c1a367320da
Author: Ben Wijen <ben at wijen.net>
Date:   Fri Jan 22 16:47:11 2021 +0100

---------- Forwarded message ---------
From: Corinna Vinschen via Newlib <newlib at sourceware.org>
Date: Tue, Feb 9, 2021 at 4:35 AM
Subject: Re: [PATCH] FTW Port for Newlib
To: <newlib at sourceware.org>
Cc: Corinna Vinschen <vinschen at redhat.com>


On Feb  8 22:03, Eshan Dhawan via Newlib wrote:
> Ping !!

Sorry, I misinterpreted the subject line and thought this is is
one for Jeff.

>
> On Thu, Jan 21, 2021 at 3:44 AM Eshan Dhawan <eshandhawan51 at gmail.com>
> wrote:
>
> > From: Eshan dhawan <eshandhawan51 at gmail.com>
> >
> > Signed-off-by: Eshan Dhawan <eshandhawan51 at gmail.com>
> > ---
> >  newlib/libc/include/ftw.h     |  66 +++++++++++++++
> >  newlib/libc/posix/Makefile.am |   2 +-
> >  newlib/libc/posix/ftw.c       |  33 ++++++++
> >  newlib/libc/posix/nftw.c      | 154 ++++++++++++++++++++++++++++++++++
> >  4 files changed, 254 insertions(+), 1 deletion(-)
> >  create mode 100644 newlib/libc/include/ftw.h
> >  create mode 100644 newlib/libc/posix/ftw.c
> >  create mode 100644 newlib/libc/posix/nftw.c

I pushed this now, together with a patch removing Cygwin's ftw.h.


Thanks,
Corinna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210303/a6e7ed86/attachment.html>


More information about the devel mailing list