| Here is a summary of the changes that I have had to make to the Cscore
source code so far.
Anthony Kozar
anthony.kozar@utoledo.edu
----------------------------------------------
+ cscormai.c
+ need to add GLOBALS cglob;
+ lots of additions to support Mac console I/O
+ prototype for die()
+ close open files
+ optional 2nd CL-argument for output file (else use stdout)
+ copied natlong() and die() functions from elsewhere
+ ifdef-ed out dribble_printf() (multiply defined)
- comments about how to build are no longer correct
- cscoremain.c and cscorefns.c are now cscormai.c and cscorfns.c
(this was more confusing when all 4 files were present).
- now must also compile and link with getstring.c
+ cscore.c
+ #include "cs.h" (all the samples need this unless added to cscore.h)
+ line 33: a = lappstrev(a,"s");
+ before line 37: if (a) lrelev(a);
+ line 37: a = lcreat(1);
+ line 38: a = lappstrev(a,"e");
+ after line 40: return;
+ cscore.h
- #include "cs.h"
+ cscorfns.c
+ in cscorinit(), after the line
next = createv(PMAX);
add the line
next->op = '\0'; /* akozar -- 100503 */
+ getstring.c
+ comment out line 43 (Handle GETS128;) :
/*Handle GETS128; /* decl. error -- not used? -- 092603, akozar */
+ change line 54 (PtoCString(buff);) to
p2cstr(buff);
- cscofils/README
- instructions on building standalones are out-of-date (similar
to those in cscormai.c)
- cscofils/*.c
- all sample programs require #include "cs.h" (see note above)
- all cscore() function definitions should be "void cscore()"
(implicit int is no longer ANSI) |