You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2009/10/05 20:42:52 UTC

svn commit: r821959 - /apr/apr-util/branches/1.4.x/test/nw_misc.c

Author: fuankg
Date: Mon Oct  5 18:42:51 2009
New Revision: 821959

URL: http://svn.apache.org/viewvc?rev=821959&view=rev
Log:
fixed nw_misc.c to not overwrite output at line 24 anymore.

Modified:
    apr/apr-util/branches/1.4.x/test/nw_misc.c

Modified: apr/apr-util/branches/1.4.x/test/nw_misc.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/test/nw_misc.c?rev=821959&r1=821958&r2=821959&view=diff
==============================================================================
--- apr/apr-util/branches/1.4.x/test/nw_misc.c (original)
+++ apr/apr-util/branches/1.4.x/test/nw_misc.c Mon Oct  5 18:42:51 2009
@@ -1,6 +1,4 @@
 #include <stdlib.h>
-#include <netware.h>
-#include <screen.h>
 /*
 #include "testutil.h"
 */
@@ -8,12 +6,7 @@
 /* function to keep the screen open if not launched from bash */
 void _NonAppStop( void )
 {
-  if (getenv("_IN_NETWARE_BASH_") == NULL) {
-    uint16_t row, col;
-
-    GetScreenSize(&row, &col);
-    gotorowcol(row-1, 0);
-    printf("<Press any key to close screen> ");
+    printf("\r\n<Press any key to close screen> ");
     getcharacter();
   }
 }