summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-06-13 01:05:59 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-06-13 01:05:59 +0000
commit9a554756b9f193f8e256cbb2d78dbed2db2c977f (patch)
treedb9a734dac68e6f6d2787270273ac1851201579b
parent8688388f21444510945e991bcaf455071b7d7a28 (diff)
downloadmpfr-9a554756b9f193f8e256cbb2d78dbed2db2c977f.tar.gz
Merged the latest changes from the trunk:
r14008,14010: [tools/announce-text] For release candidates, automatically adapt the flow of the text. r14009: [NEWS] Updated mpfr.org URLs (http → https). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14011 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--NEWS4
-rwxr-xr-xtools/announce-text17
2 files changed, 15 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index d230b575e..1361f9051 100644
--- a/NEWS
+++ b/NEWS
@@ -152,7 +152,7 @@ Changes from versions 3.1.* to version 4.0.0:
- Bug fixes. In particular: a speed improvement when the --enable-assert
or --enable-assert=full configure option is used with GCC; mpfr_get_str
now sets the NaN flag on NaN input and the inexact flag when the conversion
- is inexact. For a full list, see http://www.mpfr.org/mpfr-3.1.6/#fixed
+ is inexact. For a full list, see https://www.mpfr.org/mpfr-3.1.6/#fixed
and the same section for any previous 3.1.x version (follow the links
in the "Changes..." sections).
- Microsoft Windows: Added support for thread-safe DLL (shared library).
@@ -444,4 +444,4 @@ Changes from version 0.4 to version 1.0:
which is called mp_rnd_t.
You'll find other news concerning the GNU MPFR library on the web
-page <http://www.mpfr.org/>.
+page <https://www.mpfr.org/>.
diff --git a/tools/announce-text b/tools/announce-text
index 4ba770684..e6ebfeb92 100755
--- a/tools/announce-text
+++ b/tools/announce-text
@@ -191,12 +191,21 @@ EOF
else
rc=${vers#*-rc}
[ $rc -gt 1 ] && n=" $rc"
- cat <<EOF
-Subject: GNU MPFR $base Release Candidate$n
-
+ printf "%s\n\n" "Subject: GNU MPFR $base Release Candidate$n"
+ if [ $(echo "$base ($rname)" | wc -m) -gt 30 ]; then
+ cat <<EOF
The release of GNU MPFR $base ($rname)
-is imminent. Please help to make this release as good as possible
+is imminent. Please help to make this release as good as possible
by downloading and testing this release candidate:
+EOF
+ else
+ cat <<EOF
+The release of GNU MPFR $base ($rname) is imminent.
+Please help to make this release as good as possible by downloading
+and testing this release candidate:
+EOF
+ fi
+ cat <<EOF
https://www.mpfr.org/mpfr-$base/mpfr-$vers.tar.xz
https://www.mpfr.org/mpfr-$base/mpfr-$vers.tar.bz2