Diff for /freem/src/frmgbl.c between versions 1.15 and 1.18

version 1.15, 2025/04/30 14:41:03 version 1.18, 2025/05/16 04:42:02
Line 24 Line 24
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.18  2025/05/16 04:42:02  snw
    *   Fix macOS port
    *
    *   Revision 1.17  2025/05/05 04:46:35  snw
    *   Documentation fixes; make FreeM more standards compliant
    *
    *   Revision 1.16  2025/04/30 17:19:16  snw
    *   Improve backtraces in debugger
    *
  *   Revision 1.15  2025/04/30 14:41:03  snw   *   Revision 1.15  2025/04/30 14:41:03  snw
  *   Further debugger work   *   Further debugger work
  *   *
Line 552  char    curdir[256] = ".";      /* curre Line 561  char    curdir[256] = ".";      /* curre
 char    startuprou[PATHLEN] = "\201";   /* start up routine from cmdline*/  char    startuprou[PATHLEN] = "\201";   /* start up routine from cmdline*/
   
 char    zcommds[256] =  char    zcommds[256] =
 " za zas zb zd zg zh zi zj zl zn zp zq zr zs zt zwr zbreak \  " za zb zc zd zg zh zi zj zl zm zn zp zq zr zs zth ztr zwa zwi zwr zassert zbreak \
 zgo zhalt zinsert zjob zload znamespace zprint zquit zremove zsave ztrap zwrite \201";  /* intrinsic z-commands */  zconst zgo zhalt zinsert zjob zload zmap znamespace zprint zquit zremove zsave zthrow ztrap zunmap zwatch zwith zwrite \201";  /* intrinsic z-commands */
 char    zfunctions[256] =       /* intrinsic z-functions */  char    zfunctions[256] =       /* intrinsic z-functions */
 " zb zc zd ze zh zht zk zl zm zn zo zp zr zs zt zboolean zcall zcr zcrc zdata zdate zedit zhorolog \  " zb zc zd ze zh zht zk zl zm zn zo zp zr zs zt zboolean zcall zcr zcrc zdata zdate zedit zhorolog \
 zkey zlength zlsd zname znext zorder zpiece zprevious zreplace zsyntax zsort ztime \201";  zkey zlength zlsd zname znext zorder zpiece zprevious zreplace zsyntax zsort ztime \201";
Line 663  short ipc_pending = 0;   /* 1 if an inco Line 672  short ipc_pending = 0;   /* 1 if an inco
 int strict_mode = 0;  int strict_mode = 0;
   
 int trace_mode = 0;  int trace_mode = 0;
   short debug_mode = FALSE;
   int lasterr[NESTLEVLS + 1];
   
 short first_process = FALSE;  short first_process = FALSE;
 #if defined(__FreeBSD__)  #if defined(__FreeBSD__)
  size_t shm_init_size = 4194304;   size_t shm_init_size = 4194304;
 #else  #else
   # if !defined(__APPLE__)
  size_t shm_init_size = 16777216;   size_t shm_init_size = 16777216;
   # else
    size_t shm_init_size = 2048576;
   #endif
 #endif  #endif
 short inrpt_after_async = FALSE;  short inrpt_after_async = FALSE;
   
Line 678  void unnew (void) Line 693  void unnew (void)
     int     i;      int     i;
     long    j;      long    j;
     char    tmp[256];      char    tmp[256];
   
     printf ("unnew\r\n");  
           
     #ifdef DEBUG_NEWPTR      #ifdef DEBUG_NEWPTR
         int loop;          int loop;

Removed from v.1.15  
changed lines
  Added in v.1.18


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