home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / gcl-1.002 / gcl-1 / gcl-1.0-diffs
Encoding:
Text File  |  1994-07-26  |  4.1 KB  |  161 lines

  1. diff -c3 -r gcl-1.0.orig/c/unixsave.c gcl-1.0/c/unixsave.c
  2. *** gcl-1.0.orig/c/unixsave.c    Sat May  7 20:44:53 1994
  3. --- gcl-1.0/c/unixsave.c    Tue Jul 26 00:55:07 1994
  4. ***************
  5. *** 105,111 ****
  6.       original = fopen(original_file, "r");
  7.   */    
  8.   
  9. !     if (stdin != original || original->_file != 0) {
  10.           fprintf(stderr, "Can't open the original file.\n");
  11.           exit(1);
  12.       }
  13. --- 105,111 ----
  14.       original = fopen(original_file, "r");
  15.   */    
  16.   
  17. !     if (stdin != original || fileno(original) != 0) {
  18.           fprintf(stderr, "Can't open the original file.\n");
  19.           exit(1);
  20.       }
  21. diff -c3 -r gcl-1.0.orig/h/cmpinclude.h gcl-1.0/h/cmpinclude.h
  22. *** gcl-1.0.orig/h/cmpinclude.h    Mon May  9 08:57:45 1994
  23. --- gcl-1.0/h/cmpinclude.h    Tue Jul 26 00:56:58 1994
  24. ***************
  25. *** 1,53 ****
  26.   
  27. - #ifndef __GNUC__
  28. - #define HAVE_ALLOCA
  29. - #include <alloca.h>
  30. - #endif
  31. -  /* If can mprotect pages and so selective gc will work */
  32. - #define SGC  
  33. - /* End for cmpinclude */
  34.   /* Begin for cmpinclude */
  35. - #ifndef __GNUC__
  36. - #define HAVE_ALLOCA
  37. - #include <alloca.h>
  38. - #endif
  39. -  /* If can mprotect pages and so selective gc will work */
  40. - #define SGC  
  41.   /* End for cmpinclude */
  42. - /* Begin for cmpinclude */
  43. - #ifndef __GNUC__
  44. - #define HAVE_ALLOCA
  45. - #include <alloca.h>
  46. - #endif
  47. -  /* If can mprotect pages and so selective gc will work */
  48. - #define SGC  
  49. - /* Begin for cmpinclude */
  50. - #ifndef __GNUC__
  51. - #define HAVE_ALLOCA
  52. - #include <alloca.h>
  53. - #endif
  54. -  /* If can mprotect pages and so selective gc will work */
  55. - #define SGC  
  56. - /* Begin for cmpinclude */
  57. - #ifndef __GNUC__
  58. - #define HAVE_ALLOCA
  59. - #include <alloca.h>
  60. - #endif
  61. -  /* If can mprotect pages and so selective gc will work */
  62. - #define SGC  
  63. - /* Begin for cmpinclude */
  64. - #ifndef __GNUC__
  65. - #define HAVE_ALLOCA
  66. - #include <alloca.h>
  67. - #endif
  68. -  /* If can mprotect pages and so selective gc will work */
  69. - #define SGC  
  70.   
  71.   
  72.   /*
  73. --- 1,6 ----
  74. diff -c3 -r gcl-1.0.orig/unixport/makefile gcl-1.0/unixport/makefile
  75. *** gcl-1.0.orig/unixport/makefile    Mon May  9 08:57:41 1994
  76. --- gcl-1.0/unixport/makefile    Tue Jul 26 00:57:58 1994
  77. ***************
  78. *** 64,70 ****
  79.   
  80.   # end makedefs
  81.   
  82. ! LIBS1= $(LIBS) $(GCLIB)
  83.   
  84.   
  85.   
  86. --- 64,70 ----
  87.   
  88.   # end makedefs
  89.   
  90. ! LIBS1= $(GCLIB) $(LIBS)
  91.   
  92.   
  93.   
  94. ***************
  95. *** 161,167 ****
  96.           else make raw_$(GCL)1 "SYS_GCL=sys_boot.o" ; fi 
  97.   
  98.   raw_$(GCL)1: $(SYS_GCL)
  99. !     $(LDCC)  -o raw_$(GCL) $(FOR_RAW) $(SYS_GCL) -lc $(LIBS1)
  100.   
  101.   saved_gcl_boot:
  102.       make raw_$(GCL)1 "SYS_GCL=sys_boot.o"
  103. --- 161,167 ----
  104.           else make raw_$(GCL)1 "SYS_GCL=sys_boot.o" ; fi 
  105.   
  106.   raw_$(GCL)1: $(SYS_GCL)
  107. !     $(LDCC)  -o raw_$(GCL) $(FOR_RAW) $(SYS_GCL) $(LIBS1) -lc
  108.   
  109.   saved_gcl_boot:
  110.       make raw_$(GCL)1 "SYS_GCL=sys_boot.o"
  111. diff -c3 -r gcl-1.0.orig/cmpnew/cmpmain.lsp gcl-1.0/cmpnew/cmpmain.lsp
  112. *** gcl-1.0.orig/cmpnew/cmpmain.lsp    Sat May  7 20:43:57 1994
  113. --- gcl-1.0/cmpnew/cmpmain.lsp    Tue Jul 26 03:47:40 1994
  114. ***************
  115. *** 98,103 ****
  116. --- 98,107 ----
  117.         (setf (third *split-files*)(file-position *compiler-input*)))))
  118.         
  119.   
  120. + #+ld-not-accept-data
  121. + ;; Remember the last data file so we can delete it when we are done.
  122. + (defvar *last-data-file* nil)
  123.   (defun compile-file  (&rest args
  124.                   &aux (*print-pretty* nil)
  125.                   (*package* *package*) (*split-files* *split-files*)
  126. ***************
  127. *** 370,376 ****
  128.                 )))
  129.             (unless c-file (delete-file c-pathname))
  130.             (unless h-file (delete-file h-pathname))
  131. !           (unless (or data-file #+ld-not-accept-data system-p) (delete-file data-pathname))
  132.         o-pathname)
  133.   
  134.           (progn
  135. --- 374,381 ----
  136.                 )))
  137.             (unless c-file (delete-file c-pathname))
  138.             (unless h-file (delete-file h-pathname))
  139. !           #-ld-not-accept-data (unless data-file (delete-file data-pathname))
  140. !           #+ld-not-accept-data (setq *last-data-file* data-pathname)
  141.         o-pathname)
  142.   
  143.           (progn
  144. ***************
  145. *** 424,429 ****
  146. --- 429,435 ----
  147.          (let ((fi (compile-file gaz)))
  148.            (load fi)
  149.            (delete-file fi)
  150. +          #+ld-not-accept-data (when *last-data-file* (delete-file *last-data-file*))
  151.            (delete-file gaz)
  152.            (or (eq na name) (setf (symbol-function name) (symbol-function na)))
  153.            (symbol-function name)
  154.