caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
To: caml-redistribution@margaux
Subject: camlot-patches
Date: Thu, 24 Jun 1993 14:51:37 +0200 (MET DST)	[thread overview]
Message-ID: <9370.732388394@margaux.inria.fr> (raw)

  Here are some useful patches to the first release of Camlot v5:

*** Include/config.sparc	Wed Jun 23 14:13:13 1993
--- Include/config.sparc~	Wed Jun 23 14:13:12 1993
***************
*** 44,50 ****
  #define DATAMAX struct rlimit rl; \
                  char* datamax; \
  		getrlimit(RLIMIT_DATA, &rl); \
!                 datamax = (char*)&etext + rl.rlim_cur;
  
  /* comment out if stack grows down */
  /*#define STACKGROWSUP*/
--- 44,50 ----
  #define DATAMAX struct rlimit rl; \
                  char* datamax; \
  		getrlimit(RLIMIT_DATA, &rl); \
!                 datamax = etext + rl.rlim_cur;
  
  /* comment out if stack grows down */
  /*#define STACKGROWSUP*/


*** Include/config.dec3100	Fri Jun 18 12:28:52 1993
--- Include/config.dec3100~	Wed Jun 16 15:23:26 1993
***************
*** 42,50 ****
  /* maximum end of data segment */
  extern void *__data_start;
  #define DATAMAX struct rlimit rl; \
-                 char* datamax; \
                  getrlimit(RLIMIT_DATA, &rl); \
!                 datamax = (char*)0x10000000 + rl.rlim_cur;
  
  /* comment out if stack grows down */
  /*#define STACKGROWSUP*/
--- 42,49 ----
  /* maximum end of data segment */
  extern void *__data_start;
  #define DATAMAX struct rlimit rl; \
                  getrlimit(RLIMIT_DATA, &rl); \
!                 char* datamax = (char*)0x10000000 + rl.rlim_cur;
  
  /* comment out if stack grows down */
  /*#define STACKGROWSUP*/

*** Linker/link.ml	Fri Jun 18 14:55:59 1993
--- Linker/link.ml~	Fri Jun 18 14:55:59 1993
***************
*** 21,27 ****
  ;;
  
  let link lib objects exec =
!     let z2k2_main = path_tmp ^ "#camlot_" ^ (basename exec) in
      let main_k2 = open_out (z2k2_main ^ ".k2")
      and modules = assoc lib default_used_implementations in
      let out s = output_string main_k2 s
--- 21,27 ----
  ;;
  
  let link lib objects exec =
!     let z2k2_main = path_tmp ^ "#camlot_" ^ exec in
      let main_k2 = open_out (z2k2_main ^ ".k2")
      and modules = assoc lib default_used_implementations in
      let out s = output_string main_k2 s

*** GC/gc.c	Wed Jun 23 14:16:25 1993
--- GC/gc.c~	Wed Jun 23 14:16:24 1993
***************
*** 1003,1009 ****
  #ifdef STACKGROWSUP    
       for(p = stack_top; p >= stack_bottom; p--)
  #else
!      for(p = stack_top; p <= stack_bottom; p++)
  #endif
         {
             CheckStackReference((void *)p);
--- 1003,1009 ----
  #ifdef STACKGROWSUP    
       for(p = stack_top; p >= stack_bottom; p--)
  #else
!      for(p = stack_bottom; p <= stack_top; p++)
  #endif
         {
             CheckStackReference((void *)p);


		Re'gis Cridlig



                 reply	other threads:[~1993-06-24 12:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9370.732388394@margaux.inria.fr \
    --to=caml-redistribution@margaux \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).