On Tue, Nov 07, 2023 at 10:00:05PM +0800, Qian Yun wrote:
>
>
> On 11/7/23 21:48, Waldek Hebisch wrote:
> > > > Old standard says that select should be defined in "unistd.h" and
> > > > releated types in "sys/types.h" and "sys/time.h". It probably
> > > > makes sense to switch to new standard and use "sys/select.h"
> > > > (as you propose).
> > > >
> > > > Related thing is that select and related types seem to be used
> > > > only in 'sockio.c', so it would make sense to move all related
> > > > declarations to 'sockio.c'.
> > >
> > > "select" is used by "sselect", which is used in various places.
> > >
> > > So commit the original patch?
> >
> > Hmm, AFAICS 'sselect' is used only in 'sockio-c.c'.
> >
>
> sman.c also uses 'sselect', 'FD_SETSIZE' is from sys/select.h.
>
> Also I tried to move parts from 'com.h' to 'sockio.c', but failed:
> some other stuff depends on these headers, for example 'Sock'.
Yes, I see. So please commit original patch. And thanks for
Android port!
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/ZUpVdZGfmPqn0NqP%40fricas.org.