From e15082b8444747cb82294f2c8782c57b74fd765b Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sat, 9 Aug 2014 03:53:18 +0000 Subject: Don't try to clobber ccos(3). --- cad/z88/files/patch-ccos | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 cad/z88/files/patch-ccos (limited to 'cad') diff --git a/cad/z88/files/patch-ccos b/cad/z88/files/patch-ccos new file mode 100644 index 000000000000..0645220af810 --- /dev/null +++ b/cad/z88/files/patch-ccos @@ -0,0 +1,31 @@ +--- cosm88.c.orig 2014-08-08 23:50:40.000000000 -0400 ++++ cosm88.c 2014-08-08 23:51:03.000000000 -0400 +@@ -71,7 +71,7 @@ + + extern FR_INT4 ICFLAG,LANG; + +-extern char ccos[]; ++extern char ccosfile[]; + extern char ci1[]; + extern char ci2[]; + extern char ci3[]; +@@ -109,7 +109,7 @@ + /*---------------------------------------------------------------------- + * COSMOS- File oeffnen + *---------------------------------------------------------------------*/ +-if((fpro= fopen(ccos,"r"))== NULL) ++if((fpro= fopen(ccosfile,"r"))== NULL) + { + wlog88g(0,LOG_NOCOS); + fclose(fwlo); +--- z88g.c.orig 2014-08-08 23:50:50.000000000 -0400 ++++ z88g.c 2014-08-08 23:51:18.000000000 -0400 +@@ -89,7 +89,7 @@ + + char cdyn[8] = "z88.dyn"; + char clgd[9] = "z88g.log"; +-char ccos[9] = "z88g.cos"; ++char ccosfile[9] = "z88g.cos"; + char cnas[9] = "z88g.nas"; + char cin[8] = "z88g.in"; + char ci1[10] = "z88i1.txt"; -- cgit v1.2.3