| 1 | diff -u -r ../leptonica-1.74.1/src/bmpio.c ./src/bmpio.c |
| 2 | --- ../leptonica-1.74.1/src/bmpio.c 2016-12-02 20:42:42.000000000 +0100 |
| 3 | +++ ./src/bmpio.c 2017-01-29 22:11:16.268072245 +0100 |
| 4 | @@ -645,7 +645,6 @@ |
| 5 | return ERROR_INT("stream not opened", procName, 1); |
| 6 | ret = pixWriteStreamBmp(fp, pix); |
| 7 | #else |
| 8 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 9 | #ifdef _WIN32 |
| 10 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 11 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 12 | diff -u -r ../leptonica-1.74.1/src/boxbasic.c ./src/boxbasic.c |
| 13 | --- ../leptonica-1.74.1/src/boxbasic.c 2016-12-02 20:42:49.000000000 +0100 |
| 14 | +++ ./src/boxbasic.c 2017-01-29 22:11:16.276072146 +0100 |
| 15 | @@ -2066,7 +2066,6 @@ |
| 16 | return ERROR_INT("stream not opened", procName, 1); |
| 17 | ret = boxaaWriteStream(fp, baa); |
| 18 | #else |
| 19 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 20 | #ifdef _WIN32 |
| 21 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 22 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 23 | @@ -2287,7 +2286,6 @@ |
| 24 | return ERROR_INT("stream not opened", procName, 1); |
| 25 | ret = boxaWriteStream(fp, boxa); |
| 26 | #else |
| 27 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 28 | #ifdef _WIN32 |
| 29 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 30 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 31 | diff -u -r ../leptonica-1.74.1/src/colormap.c ./src/colormap.c |
| 32 | --- ../leptonica-1.74.1/src/colormap.c 2016-12-02 20:42:53.000000000 +0100 |
| 33 | +++ ./src/colormap.c 2017-01-29 22:11:16.316071650 +0100 |
| 34 | @@ -1715,7 +1715,6 @@ |
| 35 | return ERROR_INT("stream not opened", procName, 1); |
| 36 | ret = pixcmapWriteStream(fp, cmap); |
| 37 | #else |
| 38 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 39 | #ifdef _WIN32 |
| 40 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 41 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 42 | diff -u -r ../leptonica-1.74.1/src/dewarp1.c ./src/dewarp1.c |
| 43 | --- ../leptonica-1.74.1/src/dewarp1.c 2016-12-02 20:42:57.000000000 +0100 |
| 44 | +++ ./src/dewarp1.c 2017-01-29 22:11:16.352071204 +0100 |
| 45 | @@ -1401,7 +1401,6 @@ |
| 46 | return ERROR_INT("stream not opened", procName, 1); |
| 47 | ret = dewarpWriteStream(fp, dew); |
| 48 | #else |
| 49 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 50 | #ifdef _WIN32 |
| 51 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 52 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 53 | @@ -1673,7 +1672,6 @@ |
| 54 | return ERROR_INT("stream not opened", procName, 1); |
| 55 | ret = dewarpaWriteStream(fp, dewa); |
| 56 | #else |
| 57 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 58 | #ifdef _WIN32 |
| 59 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 60 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 61 | diff -u -r ../leptonica-1.74.1/src/fpix1.c ./src/fpix1.c |
| 62 | --- ../leptonica-1.74.1/src/fpix1.c 2016-12-02 20:43:01.000000000 +0100 |
| 63 | +++ ./src/fpix1.c 2017-01-29 22:11:16.400070608 +0100 |
| 64 | @@ -1904,7 +1904,6 @@ |
| 65 | return ERROR_INT("stream not opened", procName, 1); |
| 66 | ret = fpixWriteStream(fp, fpix); |
| 67 | #else |
| 68 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 69 | #ifdef _WIN32 |
| 70 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 71 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 72 | @@ -2203,7 +2202,6 @@ |
| 73 | return ERROR_INT("stream not opened", procName, 1); |
| 74 | ret = dpixWriteStream(fp, dpix); |
| 75 | #else |
| 76 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 77 | #ifdef _WIN32 |
| 78 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 79 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 80 | diff -u -r ../leptonica-1.74.1/src/jp2kio.c ./src/jp2kio.c |
| 81 | --- ../leptonica-1.74.1/src/jp2kio.c 2016-12-02 20:43:11.000000000 +0100 |
| 82 | +++ ./src/jp2kio.c 2017-01-29 22:11:16.424070311 +0100 |
| 83 | @@ -847,7 +847,6 @@ |
| 84 | return ERROR_INT("stream not opened", procName, 1); |
| 85 | ret = pixWriteStreamJp2k(fp, pix, quality, nlevels, hint, debug); |
| 86 | #else |
| 87 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 88 | #ifdef _WIN32 |
| 89 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 90 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 91 | diff -u -r ../leptonica-1.74.1/src/jpegio.c ./src/jpegio.c |
| 92 | --- ../leptonica-1.74.1/src/jpegio.c 2016-12-02 20:43:18.000000000 +0100 |
| 93 | +++ ./src/jpegio.c 2017-01-29 22:11:16.428070261 +0100 |
| 94 | @@ -1091,7 +1091,6 @@ |
| 95 | return ERROR_INT("stream not opened", procName, 1); |
| 96 | ret = pixWriteStreamJpeg(fp, pix, quality, progressive); |
| 97 | #else |
| 98 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 99 | #ifdef _WIN32 |
| 100 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 101 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 102 | diff -u -r ../leptonica-1.74.1/src/numabasic.c ./src/numabasic.c |
| 103 | --- ../leptonica-1.74.1/src/numabasic.c 2016-12-02 20:43:25.000000000 +0100 |
| 104 | +++ ./src/numabasic.c 2017-01-29 22:11:16.444070062 +0100 |
| 105 | @@ -1276,7 +1276,6 @@ |
| 106 | return ERROR_INT("stream not opened", procName, 1); |
| 107 | ret = numaWriteStream(fp, na); |
| 108 | #else |
| 109 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 110 | #ifdef _WIN32 |
| 111 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 112 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 113 | @@ -1962,7 +1961,6 @@ |
| 114 | return ERROR_INT("stream not opened", procName, 1); |
| 115 | ret = numaaWriteStream(fp, naa); |
| 116 | #else |
| 117 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 118 | #ifdef _WIN32 |
| 119 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 120 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 121 | diff -u -r ../leptonica-1.74.1/src/pixabasic.c ./src/pixabasic.c |
| 122 | --- ../leptonica-1.74.1/src/pixabasic.c 2016-12-02 20:43:29.000000000 +0100 |
| 123 | +++ ./src/pixabasic.c 2017-01-29 22:11:16.488069517 +0100 |
| 124 | @@ -2626,7 +2626,6 @@ |
| 125 | return ERROR_INT("stream not opened", procName, 1); |
| 126 | ret = pixaWriteStream(fp, pixa); |
| 127 | #else |
| 128 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 129 | #ifdef _WIN32 |
| 130 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 131 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 132 | @@ -2998,7 +2997,6 @@ |
| 133 | return ERROR_INT("stream not opened", procName, 1); |
| 134 | ret = pixaaWriteStream(fp, paa); |
| 135 | #else |
| 136 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 137 | #ifdef _WIN32 |
| 138 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 139 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 140 | diff -u -r ../leptonica-1.74.1/src/pixcomp.c ./src/pixcomp.c |
| 141 | --- ../leptonica-1.74.1/src/pixcomp.c 2016-12-02 20:43:33.000000000 +0100 |
| 142 | +++ ./src/pixcomp.c 2017-01-29 22:11:16.500069368 +0100 |
| 143 | @@ -1841,7 +1841,6 @@ |
| 144 | return ERROR_INT("stream not opened", procName, 1); |
| 145 | ret = pixacompWriteStream(fp, pixac); |
| 146 | #else |
| 147 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 148 | #ifdef _WIN32 |
| 149 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 150 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 151 | diff -u -r ../leptonica-1.74.1/src/pngio.c ./src/pngio.c |
| 152 | --- ../leptonica-1.74.1/src/pngio.c 2016-12-02 20:43:37.000000000 +0100 |
| 153 | +++ ./src/pngio.c 2017-01-29 22:11:16.508069269 +0100 |
| 154 | @@ -1344,7 +1344,6 @@ |
| 155 | return ERROR_INT("stream not opened", procName, 1); |
| 156 | ret = pixWriteStreamPng(fp, pix, gamma); |
| 157 | #else |
| 158 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 159 | #ifdef _WIN32 |
| 160 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 161 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 162 | diff -u -r ../leptonica-1.74.1/src/pnmio.c ./src/pnmio.c |
| 163 | --- ../leptonica-1.74.1/src/pnmio.c 2016-12-27 19:30:34.000000000 +0100 |
| 164 | +++ ./src/pnmio.c 2017-01-29 22:11:16.512069219 +0100 |
| 165 | @@ -1179,7 +1179,6 @@ |
| 166 | return ERROR_INT("stream not opened", procName, 1); |
| 167 | ret = pixWriteStreamPnm(fp, pix); |
| 168 | #else |
| 169 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 170 | #ifdef _WIN32 |
| 171 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 172 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 173 | @@ -1234,7 +1233,6 @@ |
| 174 | return ERROR_INT("stream not opened", procName, 1); |
| 175 | ret = pixWriteStreamPam(fp, pix); |
| 176 | #else |
| 177 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 178 | #ifdef _WIN32 |
| 179 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 180 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 181 | diff -u -r ../leptonica-1.74.1/src/ptabasic.c ./src/ptabasic.c |
| 182 | --- ../leptonica-1.74.1/src/ptabasic.c 2016-12-02 20:43:49.000000000 +0100 |
| 183 | +++ ./src/ptabasic.c 2017-01-29 22:11:16.520069120 +0100 |
| 184 | @@ -871,7 +871,6 @@ |
| 185 | return ERROR_INT("stream not opened", procName, 1); |
| 186 | ret = ptaWriteStream(fp, pta, type); |
| 187 | #else |
| 188 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 189 | #ifdef _WIN32 |
| 190 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 191 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 192 | @@ -1463,7 +1462,6 @@ |
| 193 | return ERROR_INT("stream not opened", procName, 1); |
| 194 | ret = ptaaWriteStream(fp, ptaa, type); |
| 195 | #else |
| 196 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 197 | #ifdef _WIN32 |
| 198 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 199 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 200 | diff -u -r ../leptonica-1.74.1/src/recogbasic.c ./src/recogbasic.c |
| 201 | --- ../leptonica-1.74.1/src/recogbasic.c 2016-12-02 20:43:53.000000000 +0100 |
| 202 | +++ ./src/recogbasic.c 2017-01-29 22:11:16.532068971 +0100 |
| 203 | @@ -1306,7 +1306,6 @@ |
| 204 | return ERROR_INT("stream not opened", procName, 1); |
| 205 | ret = recogaWriteStream(fp, recoga); |
| 206 | #else |
| 207 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 208 | #ifdef _WIN32 |
| 209 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 210 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 211 | @@ -1608,7 +1607,6 @@ |
| 212 | return ERROR_INT("stream not opened", procName, 1); |
| 213 | ret = recogWriteStream(fp, recog); |
| 214 | #else |
| 215 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 216 | #ifdef _WIN32 |
| 217 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 218 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 219 | diff -u -r ../leptonica-1.74.1/src/sarray1.c ./src/sarray1.c |
| 220 | --- ../leptonica-1.74.1/src/sarray1.c 2016-12-21 21:11:34.000000000 +0100 |
| 221 | +++ ./src/sarray1.c 2017-01-29 22:11:16.552068723 +0100 |
| 222 | @@ -1567,7 +1567,6 @@ |
| 223 | return ERROR_INT("stream not opened", procName, 1); |
| 224 | ret = sarrayWriteStream(fp, sa); |
| 225 | #else |
| 226 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 227 | #ifdef _WIN32 |
| 228 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 229 | return ERROR_INT("tmpfile stream not opened", procName, 1); |
| 230 | diff -u -r ../leptonica-1.74.1/src/utils2.c ./src/utils2.c |
| 231 | --- ../leptonica-1.74.1/src/utils2.c 2016-12-21 21:11:53.000000000 +0100 |
| 232 | +++ ./src/utils2.c 2017-01-29 22:11:16.584068326 +0100 |
| 233 | @@ -1635,7 +1635,6 @@ |
| 234 | if ((fp = fmemopen((void *)data, size, "rb")) == NULL) |
| 235 | return (FILE *)ERROR_PTR("stream not opened", procName, NULL); |
| 236 | #else /* write to tmp file */ |
| 237 | - L_INFO("work-around: writing to a temp file\n", procName); |
| 238 | #ifdef _WIN32 |
| 239 | if ((fp = fopenWriteWinTempfile()) == NULL) |
| 240 | return (FILE *)ERROR_PTR("tmpfile stream not opened", procName, NULL); |