diff options
Diffstat (limited to '')
-rw-r--r-- | print/ghostscript7-x11/files/patch-src_iscannum.c (renamed from print/ghostscript7-x11/files/patch-src-iscannum.c) | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/print/ghostscript7-x11/files/patch-src-iscannum.c b/print/ghostscript7-x11/files/patch-src_iscannum.c index 4a69664074a6..592dbbece941 100644 --- a/print/ghostscript7-x11/files/patch-src-iscannum.c +++ b/print/ghostscript7-x11/files/patch-src_iscannum.c @@ -1,6 +1,6 @@ ---- src/iscannum.c.orig 2003-01-17 09:49:04.000000000 +0900 -+++ src/iscannum.c 2013-04-30 11:17:14.000000000 +0900 -@@ -57,7 +57,6 @@ +--- src/iscannum.c.orig 2003-01-17 00:49:04 UTC ++++ src/iscannum.c +@@ -57,7 +57,6 @@ scan_number(const byte * str, const byte }; int ival; @@ -8,7 +8,7 @@ double dval; int exp10; int code = 0; -@@ -104,8 +103,26 @@ +@@ -104,8 +103,26 @@ scan_number(const byte * str, const byte GET_NEXT(c, sp, goto iret); if (!IS_DIGIT(d, c)) break; @@ -37,7 +37,7 @@ } ind: /* We saw a non-digit while accumulating an integer in ival. */ switch (c) { -@@ -116,6 +133,8 @@ +@@ -116,6 +133,8 @@ scan_number(const byte * str, const byte *psp = sp; code = 1; break; @@ -46,7 +46,7 @@ case 'e': case 'E': if (sign < 0) -@@ -125,8 +144,8 @@ +@@ -125,8 +144,8 @@ scan_number(const byte * str, const byte goto fe; case '#': { @@ -57,7 +57,7 @@ if (sign || radix < min_radix || radix > max_radix) return_error(e_syntaxerror); -@@ -136,19 +155,19 @@ +@@ -136,19 +155,19 @@ scan_number(const byte * str, const byte switch (radix) { case 2: @@ -82,7 +82,7 @@ break; default: /* can't happen */ return_error(e_rangecheck); -@@ -161,13 +180,13 @@ +@@ -161,13 +180,13 @@ scan_number(const byte * str, const byte code = 1; break; } @@ -99,7 +99,7 @@ for (;; uval = uval * radix + d) { GET_NEXT(c, sp, break); d = decoder[c]; -@@ -176,8 +195,8 @@ +@@ -176,8 +195,8 @@ scan_number(const byte * str, const byte code = 1; break; } @@ -110,7 +110,7 @@ ) return_error(e_limitcheck); } -@@ -190,55 +209,6 @@ +@@ -190,55 +209,6 @@ iret: make_int(pref, (sign < 0 ? -ival : ival)); return code; @@ -166,7 +166,7 @@ /* Accumulate a double in dval. */ l2d: exp10 = 0; -@@ -274,8 +244,8 @@ +@@ -274,8 +244,8 @@ i2r: exp10 = 0; while (IS_DIGIT(d, c)) { if (WOULD_OVERFLOW(ival, d, max_int)) { @@ -177,7 +177,7 @@ } ival = ival * 10 + d; exp10--; -@@ -293,23 +263,6 @@ +@@ -293,23 +263,6 @@ i2r: dval = ival; goto fe; |