From owner-p4-projects@FreeBSD.ORG Sun Jun 11 08:13:38 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6835416A420; Sun, 11 Jun 2006 08:13:38 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2949916A418 for ; Sun, 11 Jun 2006 08:13:38 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D386043D4C for ; Sun, 11 Jun 2006 08:13:37 +0000 (GMT) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5B8BSFA046861 for ; Sun, 11 Jun 2006 08:11:28 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5B8BS1D046858 for perforce@freebsd.org; Sun, 11 Jun 2006 08:11:28 GMT (envelope-from hselasky@FreeBSD.org) Date: Sun, 11 Jun 2006 08:11:28 GMT Message-Id: <200606110811.k5B8BS1D046858@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Cc: Subject: PERFORCE change 98972 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2006 08:13:38 -0000 http://perforce.freebsd.org/chv.cgi?CH=98972 Change 98972 by hselasky@hselasky_mini_itx on 2006/06/11 08:10:48 Bugfix: Make sure that the "ucom_open()" function does not return when "ttysleep()" times out. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/ucom.c#5 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/ucom.c#5 (text+ko) ==== @@ -262,7 +262,7 @@ */ error = ttysleep(tp, tp, PCATCH | TTIPRI, "ucomsd", hz); - if (error) { + if (error && (error != EWOULDBLOCK)) { return error; }