Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sage-on-gentoo currently uses ecl-16+. It solves some problems when building sage with gmp instead of mpir. The upgrade causes a lot of formatting and some numerical noise. Tarball produced by `spkg-src`: [http://www.lmona.de/files/sage/ecl-16.1.2.tar.bz2] URL: http://trac.sagemath.org/20585 Reported by: fbissey Ticket author(s): François Bissey Reviewer(s): Volker Braun
- Loading branch information
Showing
11 changed files
with
102 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=ecl-VERSION.tar.bz2 | ||
sha1=a2ba6f17df11e77149869d7d71c2175c284778ce | ||
md5=fdca3688a9171518f301e4200f82532a | ||
cksum=3217462385 | ||
sha1=66f99db852b23660668e8c1d5304ec842558d1a2 | ||
md5=14740f65bb971127bb10caaff855361e | ||
cksum=1956945543 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
15.3.7.p1 | ||
16.1.2.p0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
diff --git b/src/c/file.d a/src/c/file.d | ||
index de7ba7b..c1f8c1e 100755 | ||
--- b/src/c/file.d | ||
+++ a/src/c/file.d | ||
@@ -3341,7 +3341,9 @@ output_stream_write_byte8(cl_object strm, unsigned char *c, cl_index n) | ||
ecl_disable_interrupts(); | ||
do { | ||
out = fwrite(c, sizeof(char), n, IO_STREAM_FILE(strm)); | ||
- } while (out < n && restartable_io_error(strm, "fwrite")); | ||
+ /* Ignore write errors to stderr to avoid an infinite loop */ | ||
diff -Naur ecl-16.1.2.orig/src/c/file.d ecl-16.1.2/src/c/file.d | ||
--- ecl-16.1.2.orig/src/c/file.d 2016-05-11 13:10:51.867673867 +1200 | ||
+++ ecl-16.1.2/src/c/file.d 2016-05-11 14:44:48.121907307 +1200 | ||
@@ -3354,8 +3354,10 @@ | ||
ecl_disable_interrupts(); | ||
do { | ||
out = fwrite(c, sizeof(char), n, IO_STREAM_FILE(strm)); | ||
- } while (out < n && restartable_io_error(strm, "fwrite")); | ||
- ecl_enable_interrupts(); | ||
+ /* Ignore write errors to stderr to avoid an infinite loop */ | ||
+ } while (out < n && (IO_STREAM_FILE(strm) != stderr) && restartable_io_error(strm, "fwrite")); | ||
+ | ||
ecl_enable_interrupts(); | ||
return out; | ||
+ ecl_enable_interrupts(); | ||
return out; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters