From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 9 08:03:28 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC13C1065676; Tue, 9 Sep 2008 08:03:28 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 933DF8FC08; Tue, 9 Sep 2008 08:03:28 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 9037665BD52; Tue, 9 Sep 2008 10:03:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LsjppctfZIj9; Tue, 9 Sep 2008 10:03:39 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 62B3F65BD4C; Tue, 9 Sep 2008 10:03:39 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m8983dJm013790; Tue, 9 Sep 2008 10:03:39 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 9 Sep 2008 10:03:39 +0200 From: Roman Divacky To: FreeBSD bugmaster , freebsd-emulation@freebsd.org Message-ID: <20080909080339.GA13747@freebsd.org> References: <200809080222.m882MIdL006640@freefall.freebsd.org> <20080908200524.GA74912@freebsd.org> <20080909071335.GA1522@dchagin.dialup.corbina.ru> <20080909072509.GA10750@freebsd.org> <20080909073108.GA1665@dchagin.dialup.corbina.ru> <20080909073443.GA11721@freebsd.org> <20080909075636.GA1763@dchagin.dialup.corbina.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080909075636.GA1763@dchagin.dialup.corbina.ru> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2008 08:03:28 -0000 > very often uses isatty(), it from fbsd: > > 19750 csh 0.000010 CALL fcntl(0x6,F_SETFD,FD_CLOEXEC) > 19750 csh 0.000010 RET fcntl 0 > 19750 csh 0.000023 CALL ioctl(0x6,TIOCGETA,0x7fffffffc740) > 19750 csh 0.000011 RET ioctl -1 errno 25 Inappropriate ioctl for device > 19750 csh 0.000011 CALL sigprocmask(SIG_BLOCK,0,0x57b1c8) exactly the same happens on Linux ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff02f1db00) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff02f1de10) = -1 ENOTTY (Inappropriate ioctl for device) ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff02f1dae0) = -1 ENOTTY (Inappropriate ioctl for device) this is an app bug, anyone against me closing the PR? roman