Re: RTEMS5 File Descriptors

2018-11-20 Thread Sebastian Huber
Hello Ian, the file descriptors use now reference counting. In case you use a closed file descriptor you get an error. The file descriptor list order was changed to keep closed file descriptors as long as possible in the closed state to improve the detection of a use after close. In case you

Re: RTEMS5 File Descriptors

2018-11-20 Thread Matthew J Fletcher
Hi, We had a similar issue, I believe FD_SETSIZE is only defined to 64 if it's not already defined by the application, see (select.h), you would probably have to pass -DFD_SETSIZE=500 from the complier command line though as you would need to set the definition really early before most includes.

RTEMS5 File Descriptors

2018-11-20 Thread Ian Caddy
Hi All, We are in the process of porting an existing application from RTEMS4.10 to RTEMS5, and have an issue with "select". We have previously known of the issue which also exists in RTEMS 4.10, but the problem is exacerbated in RTEMS5 due to the change in the way the libio descriptors are a

Re: shell script problem

2018-11-20 Thread Chris Johns
On 21/11/2018 02:51, Joel Sherrill wrote: > On Mon, Nov 19, 2018 at 7:45 PM Chris Johns > wrote: > > On 20/11/2018 12:25, bin.w...@qkmtech.com > wrote: > > where can i change the line buffer limit? or do i need change my command >

Re: shell script problem

2018-11-20 Thread Joel Sherrill
On Mon, Nov 19, 2018 at 7:45 PM Chris Johns wrote: > On 20/11/2018 12:25, bin.w...@qkmtech.com wrote: > > where can i change the line buffer limit? or do i need change my command > to fit > > this line buffer limit? > > https://git.rtems.org/rtems/tree/cpukit/libmisc/shell/shell.c#n705 Would it