Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 67979 invoked from network); 15 Jul 2009 18:54:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 18:54:26 -0000 Received: (qmail 92211 invoked by uid 500); 15 Jul 2009 18:54:35 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 92153 invoked by uid 500); 15 Jul 2009 18:54:35 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 92144 invoked by uid 99); 15 Jul 2009 18:54:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 18:54:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 18:54:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 91F9923889E3; Wed, 15 Jul 2009 18:54:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r794363 - /apr/apr-util/branches/1.3.x/test/nw_misc.c Date: Wed, 15 Jul 2009 18:54:11 -0000 To: commits@apr.apache.org From: fuankg@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090715185411.91F9923889E3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: fuankg Date: Wed Jul 15 18:54:11 2009 New Revision: 794363 URL: http://svn.apache.org/viewvc?rev=794363&view=rev Log: replaced pressanykey() since it blocks the NetWare loader when called inside _NonAppStop(). Modified: apr/apr-util/branches/1.3.x/test/nw_misc.c Modified: apr/apr-util/branches/1.3.x/test/nw_misc.c URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/test/nw_misc.c?rev=794363&r1=794362&r2=794363&view=diff ============================================================================== --- apr/apr-util/branches/1.3.x/test/nw_misc.c (original) +++ apr/apr-util/branches/1.3.x/test/nw_misc.c Wed Jul 15 18:54:11 2009 @@ -1,11 +1,21 @@ +#include #include #include +/* #include "testutil.h" +*/ +/* function to keep the screen open if not launched from bash */ void _NonAppStop( void ) { - if (getenv("_IN_NETWARE_BASH_") == NULL) - pressanykey(); + if (getenv("_IN_NETWARE_BASH_") == NULL) { + uint16_t row, col; + + GetScreenSize(&row, &col); + gotorowcol(row-1, 0); + printf(" "); + getcharacter(); + } } /*