vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Tue, Jul 31, 2007 at 03:03:23PM +0200, Pierre-Yves Ritschard wrote: > > Well, besides that I find it cleaner than poll, I thought that the > > kevent interface was prefered over select()/poll(). I did not think > > that portability of the interface was an issue since ftpd is part of > > the base system and already makes use of bsd specific API (bsd_auth) > > outside of any ifdef. > > > > Gilles > > > An alternative would be to use libevent for this since it will use > kqueue and is more portable. It would introduce more invasive changes > though... > I don't think ftpd needs to go through this really. I made the change assuming that this code was specific to bsd (backed by the use of the bsd_auth api) and that kevent was cleaner than poll, but if it needs to be portable then poll is probably better than adding a layer of complexity on top of ftpd. Gilles -- sysadmin & coder @ http://www.evilkittens.org/ coder @ http://www.exalead.com/ [demime 1.01d removed an attachment of type application/pgp-signature] |