You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.3 KiB
70 lines
2.3 KiB
--- src/cmax/main.c.dist 2003-06-18 10:21:57.000000000 +0200 |
|
+++ src/cmax/main.c 2003-06-18 10:30:36.000000000 +0200 |
|
@@ -331,6 +331,9 @@ |
|
int printflag = 0; |
|
FILE *fileptr; |
|
|
|
+ extern FILE *errfile; |
|
+ errfile = stderr; |
|
+ |
|
#ifdef DEBUG |
|
fprintf(stderr, "Start of main program\n"); |
|
#endif |
|
--- src/max/max_sgen.c.dist 2003-06-18 10:21:51.000000000 +0200 |
|
+++ src/max/max_sgen.c 2003-06-18 10:21:42.000000000 +0200 |
|
@@ -62,7 +62,7 @@ |
|
|
|
fprintf(out,"extern mxi_ELEMENT mxi_string_conc( char*, int, long,...);\n"); |
|
fprintf(out,"static mxi_ELEMENT mxv_errstr;\n"); |
|
- fprintf(out,"FILE *errfile = stderr;\n"); |
|
+ fprintf(out,"FILE *errfile;\n"); |
|
fprintf(out,"extern void mxi_prterrm(char*,int,char*,char*);\n"); |
|
fprintf(out,"static char mxi_errmstr[] = \"0th parameter is of wrong sort\";\n"); |
|
fprintf(out,"void comp_errm(char *filenm, int ln, char *fctnm, int parno){\n"); |
|
--- etc/fixdist.dist 2003-06-18 11:37:57.000000000 +0200 |
|
+++ etc/fixdist 2003-06-18 11:38:10.000000000 +0200 |
|
@@ -65,7 +65,7 @@ |
|
todir="."; |
|
tofile=$2; |
|
for (i=0; (p=index(tofile, "/")) != 0; ) { |
|
- todir=todir "/" substr(tofile, 0, p-1); |
|
+ todir=todir "/" substr(tofile, 1, p-1); |
|
tofile=substr(tofile, p+1, length(tofile)-p); |
|
frompath="../" frompath; |
|
i=p; |
|
--- src/mpp/mpp_cpplib.c.dist Thu Jul 10 17:11:08 2003 |
|
+++ src/mpp/mpp_cpplib.c Thu Jul 10 17:11:23 2003 |
|
@@ -55,18 +55,17 @@ |
|
#include <ctype.h> |
|
#include <stdio.h> |
|
#include <signal.h> |
|
+#include <time.h> /* for __DATE__ and __TIME__ */ |
|
#ifdef __STDC__ |
|
#include <stdlib.h> |
|
#endif |
|
|
|
#ifndef VMS |
|
#ifndef USG |
|
-#include <sys/time.h> /* for __DATE__ and __TIME__ */ |
|
#include <sys/resource.h> |
|
#else |
|
#include <sys/param.h> /* CYGNUS LOCAL: shebs -noquiet */ |
|
#include <sys/times.h> |
|
-#include <time.h> |
|
#include <fcntl.h> |
|
#endif /* USG */ |
|
#endif /* not VMS */ |
|
--- src/bim/bim_attr.c.dist Thu Jul 10 17:16:44 2003 |
|
+++ src/bim/bim_attr.c Thu Jul 10 17:16:51 2003 |
|
@@ -1286,11 +1286,7 @@ |
|
/* Speicherbereich fuer die alfabetische Liste der Sortennamen wieder freigeben. Diese Liste wird in- |
|
zwischen vom List-Widget verwaltet. */ |
|
|
|
-#ifndef linux |
|
XtFree((char *) string_list); |
|
-#else |
|
- #error "bug needs to be fixed" |
|
-#endif |
|
|
|
/* Erzeugung der Menue-Button der Menueleiste gemaess der Liste 'menu_list' (s.o.). */ |
|
|
|
|