From cb3fc6416d3a5fa1a991b476e6e8b3bc9d6040ad Mon Sep 17 00:00:00 2001 From: elad Date: Sat, 7 Oct 2006 17:27:57 +0000 Subject: [PATCH] PR/18906: roskens at elfin dot net: misc. select() to poll() updates. Adapted to -current by myself, thanks for the patch! --- common/loop-bsd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/loop-bsd.c b/common/loop-bsd.c index 6443e93..788f733 100644 --- a/common/loop-bsd.c +++ b/common/loop-bsd.c @@ -1,4 +1,4 @@ -/* $NetBSD: loop-bsd.c,v 1.8 2006/05/25 00:27:56 christos Exp $ */ +/* $NetBSD: loop-bsd.c,v 1.9 2006/10/07 17:27:57 elad Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -31,7 +31,7 @@ #include #ifndef lint -__RCSID("$NetBSD: loop-bsd.c,v 1.8 2006/05/25 00:27:56 christos Exp $"); +__RCSID("$NetBSD: loop-bsd.c,v 1.9 2006/10/07 17:27:57 elad Exp $"); #endif #include @@ -94,7 +94,7 @@ mopReadDL() /* * The list of all interfaces that are being listened to. loop() - * "selects" on the descriptors in this list. + * "polls" on the descriptors in this list. */ struct if_info *iflist; @@ -124,7 +124,7 @@ Loop() if (buf == 0) mopLogErr("malloc"); /* - * Find the highest numbered file descriptor for select(). + * Find the highest numbered file descriptor for poll(). * Initialize the set of descriptors to listen to. */ for (ii = iflist, n = 0; ii; ii = ii->next, n++)