/[ascend]/trunk/base/generic/utilities/test/test_ascPanic.c
ViewVC logotype

Diff of /trunk/base/generic/utilities/test/test_ascPanic.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 60 by jds, Mon Oct 31 03:39:15 2005 UTC revision 100 by jds, Fri Dec 9 23:25:15 2005 UTC
# Line 22  Line 22 
22   */   */
23    
24  #include <stdio.h>  #include <stdio.h>
25    #include "utilities/ascConfig.h"
26  #ifdef __WIN32__  #ifdef __WIN32__
27  #include <io.h>  #include <io.h>
28  #endif  #endif
 #include "utilities/ascConfig.h"  
29  #include "utilities/ascMalloc.h"  #include "utilities/ascMalloc.h"
30  #include "utilities/ascPanic.h"  #include "utilities/ascPanic.h"
31  #include "compiler/redirectFile.h"  #include "compiler/redirectFile.h"
# Line 53  static int set_flag_and_return(int statu Line 53  static int set_flag_and_return(int statu
53   *    1. most of its action is text formatting & output   *    1. most of its action is text formatting & output
54   *    2. it normally exits the program   *    2. it normally exits the program
55   *   *
56   *  As a first pass, we will disable exiting and just test   *  As a first pass, we will disable exiting and just test
57   *  whether something is getting written to ASCERR and an   *  whether something is getting written to ASCERR and an
58   *  output file.   *  output file.
59   */   */
# Line 62  static void test_ascPanic(void) Line 62  static void test_ascPanic(void)
62    FILE *stdoutfile;    FILE *stdoutfile;
63    FILE* outfile;    FILE* outfile;
64    int i_enabled_printing = FALSE;    int i_enabled_printing = FALSE;
65    FILE *old_errfile;              FILE *old_errfile;
66    FILE *old_warnfile;    FILE *old_warnfile;
67    FILE *old_infofile;    FILE *old_infofile;
68    unsigned long prior_meminuse;    unsigned long prior_meminuse;

Legend:
Removed from v.60  
changed lines
  Added in v.100

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22