[BACK]Return to winmain.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot / win

Diff for /OpenXM_contrib/gnuplot/win/Attic/winmain.c between version 1.1 and 1.1.1.2

version 1.1, 2000/01/09 17:01:19 version 1.1.1.2, 2000/01/22 14:16:33
Line 146  WinExit(void)
Line 146  WinExit(void)
 int CALLBACK WINEXPORT  int CALLBACK WINEXPORT
 ShutDown(void)  ShutDown(void)
 {  {
   #if 0  /* HBB 19990505: try to avoid crash on clicking 'close' */
          /* Problem was that WinExit was called *twice*, once directly,
           * and again via 'atexit'. This caused problems by double-freeing
           * of GlobalAlloc-ed memory inside TextClose() */
          /* Caveat: relies on atexit() working properly */
         WinExit();          WinExit();
   #endif
         exit(0);          exit(0);
         return 0;          return 0;
 }  }
Line 448  size_t MyFRead(void *ptr, size_t size, size_t n, FILE 
Line 454  size_t MyFRead(void *ptr, size_t size, size_t n, FILE 
 #define MAX_PRT_LEN 256  #define MAX_PRT_LEN 256
 static char win_prntmp[MAX_PRT_LEN+1];  static char win_prntmp[MAX_PRT_LEN+1];
   
 extern GW graphwin;  
   
 FILE *  FILE *
 open_printer()  open_printer()
 {  {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>