|
1 |
| ---- a/extensions/adj2d/truthbytop/BOUNDARY2D.c.orig 2018-01-25 14:25:22.000000000 -0700 |
2 |
| -+++ b/extensions/adj2d/truthbytop/BOUNDARY2D.c 2018-08-29 20:07:50.511232206 -0600 |
3 |
| -@@ -106,7 +106,7 @@ Step6: /* Split cell list by dimension. |
| 1 | +Description: Add parentheses to disambiguate mixed boolean operators. |
| 2 | +Origin: https://src.fedoraproject.org/rpms/qepcad-B/blob/60ceecd/f/qepcad-B-parens.patch |
| 3 | +Forwarded: https://github.com/chriswestbrown/qepcad/pull/2 |
| 4 | +Last-Update: 2021-06-23 |
| 5 | + |
| 6 | +--- a/extensions/adj2d/truthbytop/BOUNDARY2D.c |
| 7 | ++++ b/extensions/adj2d/truthbytop/BOUNDARY2D.c |
| 8 | +@@ -38,9 +38,9 @@ |
| 9 | + while(S_c != NIL && RED(S_c) != NIL) |
| 10 | + { |
| 11 | + Word c1 = FIRST(S_c), c2 = SECOND(S_c), c3 = THIRD(S_c); |
| 12 | +- if (LELTI(c1,TRUTH) == TRUE && LELTI(c3,TRUTH) == FALSE |
| 13 | ++ if ((LELTI(c1,TRUTH) == TRUE && LELTI(c3,TRUTH) == FALSE) |
| 14 | + || |
| 15 | +- LELTI(c1,TRUTH) == FALSE && LELTI(c3,TRUTH) == TRUE) |
| 16 | ++ (LELTI(c1,TRUTH) == FALSE && LELTI(c3,TRUTH) == TRUE)) |
| 17 | + { |
| 18 | + SLELTI(c2,TRUTH,TRUE); |
| 19 | + SLELTI(c2,HOWTV,TOPINF); |
| 20 | +@@ -106,7 +106,7 @@ |
4 | 21 | tc++;
|
5 | 22 | else
|
6 | 23 | fc++; }
|
|
9 | 26 | GNEWLABEL(v,TRUE,G);
|
10 | 27 | else
|
11 | 28 | GNEWLABEL(v,FALSE,G); }
|
12 |
| ---- a/extensions/lift2D/IBPRRIOAP.c.orig 2018-01-25 14:25:22.000000000 -0700 |
13 |
| -+++ b/extensions/lift2D/IBPRRIOAP.c 2018-08-29 20:07:50.510232207 -0600 |
14 |
| -@@ -95,7 +95,7 @@ Step3: /* Isolate the roots of B(alpha,y |
| 29 | +--- a/extensions/lift2D/IBPRRIOAP.c |
| 30 | ++++ b/extensions/lift2D/IBPRRIOAP.c |
| 31 | +@@ -95,7 +95,7 @@ |
15 | 32 | goto Return; }
|
16 | 33 |
|
17 | 34 | /* get trend of first root */
|
|
20 | 37 | t1 = -1;
|
21 | 38 | else
|
22 | 39 | t1 = 1;
|
23 |
| ---- a/extensions/lift2D/modIBPRRIOAP.c.orig 2018-01-25 14:25:22.000000000 -0700 |
24 |
| -+++ b/extensions/lift2D/modIBPRRIOAP.c 2018-08-29 20:07:50.510232207 -0600 |
25 |
| -@@ -97,7 +97,7 @@ Step3: /* Isolate the roots of B(alpha,y |
| 40 | +--- a/extensions/lift2D/modIBPRRIOAP.c |
| 41 | ++++ b/extensions/lift2D/modIBPRRIOAP.c |
| 42 | +@@ -97,7 +97,7 @@ |
26 | 43 | goto Return; }
|
27 | 44 |
|
28 | 45 | /* get trend of first root */
|
|
31 | 48 | t1 = -1;
|
32 | 49 | else
|
33 | 50 | t1 = 1;
|
34 |
| ---- a/source/db/convenientstreams.h.orig 2018-01-25 14:25:22.000000000 -0700 |
35 |
| -+++ b/source/db/convenientstreams.h 2018-08-29 20:07:50.511232206 -0600 |
36 |
| -@@ -31,7 +31,7 @@ public: |
| 51 | +--- a/source/db/convenientstreams.h |
| 52 | ++++ b/source/db/convenientstreams.h |
| 53 | +@@ -31,7 +31,7 @@ |
37 | 54 | string s = "";
|
38 | 55 | char c = in.get();
|
39 | 56 | if (opt == skipleadingws)
|
|
42 | 59 | // States : 0 = normal, 1 = in comment, 2 = just read a backslash
|
43 | 60 | int state = 0;
|
44 | 61 | do {
|
45 |
| ---- a/source/db/SINGULAR.c.orig 2018-01-25 14:25:22.000000000 -0700 |
46 |
| -+++ b/source/db/SINGULAR.c 2018-08-29 20:07:50.511232206 -0600 |
47 |
| -@@ -58,7 +58,7 @@ void SingularServer::reportStats(ostream |
| 62 | +@@ -44,7 +44,7 @@ |
| 63 | + if (state == 0 && c == '\\') { state = 2; continue; } |
| 64 | + s += c; |
| 65 | + state = 0; |
| 66 | +- }while(c = in.get()); |
| 67 | ++ }while((c = in.get())); |
| 68 | + str(s); |
| 69 | + } |
| 70 | + }; |
| 71 | +--- a/source/db/SINGULAR.c |
| 72 | ++++ b/source/db/SINGULAR.c |
| 73 | +@@ -58,7 +58,7 @@ |
48 | 74 |
|
49 | 75 | char peekNonWS(istream &in)
|
50 | 76 | {
|
51 | 77 | - char c; while((c = in.peek()) && c == ' ' || c == '\t' || c == '\n') in.get(); return c;
|
52 |
| -+ char c; while(c = in.peek() && (c == ' ' || c == '\t' || c == '\n')) in.get(); return c; |
| 78 | ++ char c; while((c = in.peek()) && (c == ' ' || c == '\t' || c == '\n')) in.get(); return c; |
53 | 79 | }
|
54 | 80 |
|
55 | 81 |
|
56 |
| ---- a/source/proj/GROUPSAMEPJ.c.orig 2018-01-25 14:25:22.000000000 -0700 |
57 |
| -+++ b/source/proj/GROUPSAMEPJ.c 2018-08-29 20:07:50.511232206 -0600 |
58 |
| -@@ -46,7 +46,7 @@ BDigit PRJPNTEQUAL(Word A, Word B) |
| 82 | +--- a/source/proj/GROUPSAMEPJ.c |
| 83 | ++++ b/source/proj/GROUPSAMEPJ.c |
| 84 | +@@ -46,7 +46,7 @@ |
59 | 85 | Word KR = LIST2(SECOND(aK),LIST2(1,1));
|
60 | 86 | Word sL = AFSIGN(aM,aI,AFPEMV(1,aM,G,KL));
|
61 | 87 | Word sR = AFSIGN(aM,aI,AFPEMV(1,aM,G,KR));
|
|
64 | 90 | }
|
65 | 91 |
|
66 | 92 | /* One primitive, the other not */
|
67 |
| -@@ -75,10 +75,10 @@ Step1: /* Group. */ |
| 93 | +@@ -75,10 +75,10 @@ |
68 | 94 | {
|
69 | 95 | ADV(Jt,&J2,&Jt);
|
70 | 96 | Jt2 = LELTI(J2,PO_POLY);
|
|
79 | 105 | {
|
80 | 106 | SLELTI(J2,PO_PARENT,CONC(LELTI(J2,PO_PARENT),LELTI(J1,PO_PARENT)));
|
81 | 107 | t = 1;
|
82 |
| ---- a/source/proj/PROJMCECmod.c.orig 2018-01-25 14:25:22.000000000 -0700 |
83 |
| -+++ b/source/proj/PROJMCECmod.c 2018-08-29 20:07:50.511232206 -0600 |
84 |
| -@@ -67,7 +67,7 @@ Step1: /* Obtain coefficients. */ |
| 108 | +--- a/source/proj/PROJMCECmod.c |
| 109 | ++++ b/source/proj/PROJMCECmod.c |
| 110 | +@@ -67,7 +67,7 @@ |
85 | 111 | t = 1; }
|
86 | 112 |
|
87 | 113 | /* If r = 2 OR r-1 is in free variable space, the leading coefficient is always enough! */
|
|
90 | 116 | || (experimentalExtensionFlag && qfrCheckNonNullified(r,Ap1,GVNA.W,GVNQFF.W,GVVL.W))
|
91 | 117 | )
|
92 | 118 | t = 0;
|
93 |
| -@@ -101,7 +101,7 @@ Step1: /* Obtain coefficients. */ |
| 119 | +@@ -101,7 +101,7 @@ |
94 | 120 | tf = tf || (Q == FULLDE || Q == FULLDA);
|
95 | 121 |
|
96 | 122 | /* Test 3: in free variable space when the PCMZERROR option is used */
|
|
99 | 125 |
|
100 | 126 | /* Test 4: has no common zero with the system of all other coefficients */
|
101 | 127 | if (!tf)
|
102 |
| ---- a/source/proj/PROJMCmod.c.orig 2018-01-25 14:25:22.000000000 -0700 |
103 |
| -+++ b/source/proj/PROJMCmod.c 2018-08-29 20:07:50.511232206 -0600 |
104 |
| -@@ -57,7 +57,7 @@ Step1: /* Obtain coefficients. */ |
| 128 | +--- a/source/proj/PROJMCmod.c |
| 129 | ++++ b/source/proj/PROJMCmod.c |
| 130 | +@@ -57,7 +57,7 @@ |
105 | 131 | t = 1; }
|
106 | 132 |
|
107 | 133 | /* If r = 2 OR r-1 is in free variable space, the leading coefficient is always enough! */
|
|
110 | 136 | || (experimentalExtensionFlag && qfrCheckNonNullified(r,Ap1,GVNA.W,GVNQFF.W,GVVL.W))
|
111 | 137 | )
|
112 | 138 | t = 0;
|
113 |
| -@@ -91,7 +91,7 @@ Step1: /* Obtain coefficients. */ |
| 139 | +@@ -91,7 +91,7 @@ |
114 | 140 | tf = tf || (Q == FULLDE || Q == FULLDA);
|
115 | 141 |
|
116 | 142 | /* Test 3: in free variable space when the PCMZERROR option is used */
|
|
119 | 145 |
|
120 | 146 | /* Test 4: has no common zero with the system of all other coefficients */
|
121 | 147 | if (!tf)
|
122 |
| ---- a/source/ticad/INITPCAD.c.orig 2018-01-25 14:25:22.000000000 -0700 |
123 |
| -+++ b/source/ticad/INITPCAD.c 2018-08-29 20:07:50.511232206 -0600 |
124 |
| -@@ -14,7 +14,7 @@ Word QepcadCls::INITPCAD() |
| 148 | +--- a/source/ticad/INITPCAD.c |
| 149 | ++++ b/source/ticad/INITPCAD.c |
| 150 | +@@ -14,7 +14,7 @@ |
125 | 151 | Word D, tv;
|
126 | 152 |
|
127 | 153 | Step0: /* Determine truth value! */
|
|
0 commit comments