apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r821959 - /apr/apr-util/branches/1.4.x/test/nw_misc.c
Date Mon, 05 Oct 2009 18:42:52 GMT
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();
   }
 }



Mime
View raw message