This is the mail archive of the
mailing list for the newlib project.
Re: libc/sys/rdos has DOS format files
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: Leif Ekblad <leif at rdos dot net>, "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Thu, 21 Nov 2013 13:29:19 -0600
- Subject: Re: libc/sys/rdos has DOS format files
- Authentication-results: sourceware.org; auth=none
- References: <528E1599 dot 3020700 at oarcorp dot com> <6BA2EB71A32E462EA6E190628229D1E9 at AMDP6>
On 11/21/2013 11:30 AM, Leif Ekblad wrote:
> You can run dos2unix on them.
I am going to take this as permission to do this. :)
The changelog entry doesn't really wrap but it is committed now.
2013-11-21 Joel Sherrill <email@example.com>
* libc/sys/rdos/chown.c, libc/sys/rdos/close.c,
libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c, libc/sys/rdos/getpid.c,
libc/sys/rdos/link.c, libc/sys/rdos/lseek.c, libc/sys/rdos/open.c,
libc/sys/rdos/sbrk.c, libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c,
libc/sys/rdos/times.c, libc/sys/rdos/unlink.c, libc/sys/rdos/wait.c,
libc/sys/rdos/write.c: Convert from DOS to UNIX CRLF.
> A general problem with the rdos target in newlib is that it is out-of-date
> and no longer functional in newer releases of rdos.
> I was about to update the rdos files half a year ago, but then run into a
> few problems and lack of time. I did get most of the
> changes in GCC done and commited.
It is hard to keep up. I know on RTEMS we have worked hard to
put a process and structure in place to encourage us to push
upstream in small, incremental patches.
> A problem was with the multitasking interface, which was not well-done in
> newlib for supporting targets with a native thread interface not compatible
> with Posix threads. Has this been modified so it is possible to provide a
> thread-safe library without special names for reentrant functions using
I will leave this to someone else. You may want to start a new thread
with a better subject.
> Leif Ekblad
> ----- Original Message -----
> From: "Joel Sherrill" <firstname.lastname@example.org>
> To: <email@example.com>
> Sent: Thursday, November 21, 2013 3:15 PM
> Subject: libc/sys/rdos has DOS format files
>> A lot of files in this directory have CR/LF line terminators.
>> Is this intentional or can I run dos2unix on them and commit
>> the result?
>> Joel Sherrill, Ph.D. Director of Research & Development
>> joel.sherrill@OARcorp.com On-Line Applications Research
>> Ask me about RTEMS: a free RTOS Huntsville AL 35805
>> Support Available (256) 722-9985
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985