From commits-return-10632-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Wed Jul 15 18:56:54 2009 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 69261 invoked from network); 15 Jul 2009 18:56:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 18:56:54 -0000 Received: (qmail 98548 invoked by uid 500); 15 Jul 2009 18:57:03 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 98482 invoked by uid 500); 15 Jul 2009 18:57:03 -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 98473 invoked by uid 99); 15 Jul 2009 18:57:03 -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:57:03 +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:56:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 021D723889E1; Wed, 15 Jul 2009 18:56:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r794365 - /apr/apr/branches/1.4.x/test/nw_misc.c Date: Wed, 15 Jul 2009 18:56:38 -0000 To: commits@apr.apache.org From: fuankg@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090715185639.021D723889E1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: fuankg Date: Wed Jul 15 18:56:38 2009 New Revision: 794365 URL: http://svn.apache.org/viewvc?rev=794365&view=rev Log: replaced pressanykey() since it blocks the NetWare loader when called inside _NonAppStop(). Modified: apr/apr/branches/1.4.x/test/nw_misc.c Modified: apr/apr/branches/1.4.x/test/nw_misc.c URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/test/nw_misc.c?rev=794365&r1=794364&r2=794365&view=diff ============================================================================== --- apr/apr/branches/1.4.x/test/nw_misc.c (original) +++ apr/apr/branches/1.4.x/test/nw_misc.c Wed Jul 15 18:56:38 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(); + } } /*