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'.
- Qian
--
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/aff5f818-1872-4d24-aeb5-7b66ea624b93%40gmail.com.