(just catching up with this list) > I saw a note in the changelog for clamd/session.c that said poll() had > been changed to select(). Can anyone explain why ?
Yes. Some systems don't have poll(), such as MacOSX > > I thought that poll() was what people should be moving towards as a > replacement for select() because it didn't suffer from the intrinsic limit > of select()'s fd_set structure. > > FD_SETSIZE is set to 1024 so as soon as you open the 1025th file, you > overwrite memory. The recommended (by Sun) workaround is to change > select() > calls to poll(). Thats irrelevant in this case, as we only ever select on one FD. -trog
signature.asc
Description: This is a digitally signed message part
