summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2007-09-18 20:30:41 +0200
committertege <tege@gmplib.org>2007-09-18 20:30:41 +0200
commit629508e4f69bc6e31dc30ce4fde24c71be9b4427 (patch)
treee268f3787856d9f688fd9ec74b5f7b434e22ddb1 /demos
parent1ddc0d7f48253c34c6a155e55b13a9df0ec14278 (diff)
downloadgmp-629508e4f69bc6e31dc30ce4fde24c71be9b4427.tar.gz
Update license to version 3.
Diffstat (limited to 'demos')
-rw-r--r--demos/Makefile.am6
-rw-r--r--demos/Makefile.in6
-rw-r--r--demos/calc/Makefile.am6
-rw-r--r--demos/calc/Makefile.in8
-rw-r--r--demos/calc/README5
-rw-r--r--demos/calc/calc-common.h5
-rw-r--r--demos/calc/calc-config-h.in5
-rw-r--r--demos/calc/calc.c11
-rw-r--r--demos/calc/calc.y5
-rw-r--r--demos/calc/calclex.c6
-rw-r--r--demos/calc/calclex.l5
-rw-r--r--demos/calc/calcread.c5
-rw-r--r--demos/expr/Makefile.am6
-rw-r--r--demos/expr/Makefile.in6
-rw-r--r--demos/expr/README6
-rw-r--r--demos/expr/expr-impl.h6
-rw-r--r--demos/expr/expr.c6
-rw-r--r--demos/expr/expr.h6
-rw-r--r--demos/expr/exprf.c6
-rw-r--r--demos/expr/exprfa.c6
-rw-r--r--demos/expr/exprq.c6
-rw-r--r--demos/expr/exprqa.c6
-rw-r--r--demos/expr/exprv.c8
-rw-r--r--demos/expr/exprz.c6
-rw-r--r--demos/expr/exprza.c6
-rw-r--r--demos/expr/run-expr.c6
-rw-r--r--demos/expr/t-expr.c6
-rw-r--r--demos/factorize.c7
-rw-r--r--demos/isprime.c5
-rw-r--r--demos/perl/GMP.pm12
-rw-r--r--demos/perl/GMP.xs6
-rw-r--r--demos/perl/GMP/Mpf.pm6
-rw-r--r--demos/perl/GMP/Mpq.pm6
-rw-r--r--demos/perl/GMP/Mpz.pm6
-rw-r--r--demos/perl/GMP/Rand.pm6
-rw-r--r--demos/perl/INSTALL6
-rw-r--r--demos/perl/Makefile.PL6
-rw-r--r--demos/perl/sample.pl6
-rw-r--r--demos/perl/test.pl6
-rw-r--r--demos/perl/test2.pl6
-rw-r--r--demos/perl/typemap6
-rw-r--r--demos/pexpr-config-h.in5
-rw-r--r--demos/pexpr.c5
-rw-r--r--demos/primes.c5
-rw-r--r--demos/qcn.c5
45 files changed, 99 insertions, 176 deletions
diff --git a/demos/Makefile.am b/demos/Makefile.am
index d14c25201..97cb3ef46 100644
--- a/demos/Makefile.am
+++ b/demos/Makefile.am
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at your
+# the Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
SUBDIRS = calc expr
diff --git a/demos/Makefile.in b/demos/Makefile.in
index 915a8e81a..c839be641 100644
--- a/demos/Makefile.in
+++ b/demos/Makefile.in
@@ -20,7 +20,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at your
+# the Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -29,9 +29,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
SOURCES = factorize.c isprime.c pexpr.c primes.c qcn.c
srcdir = @srcdir@
diff --git a/demos/calc/Makefile.am b/demos/calc/Makefile.am
index 0f820618d..da6490755 100644
--- a/demos/calc/Makefile.am
+++ b/demos/calc/Makefile.am
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at your
+# the Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
INCLUDES = -I$(top_srcdir)
diff --git a/demos/calc/Makefile.in b/demos/calc/Makefile.in
index 9b354c55c..5098a66da 100644
--- a/demos/calc/Makefile.in
+++ b/demos/calc/Makefile.in
@@ -20,7 +20,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at your
+# the Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -29,9 +29,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
SOURCES = $(calc_SOURCES)
srcdir = @srcdir@
@@ -459,9 +457,9 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
- -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-rm -f calc.h
-rm -f calc.c
+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-rm -f calclex.c
clean: clean-am
diff --git a/demos/calc/README b/demos/calc/README
index 0a272c08d..f2f613049 100644
--- a/demos/calc/README
+++ b/demos/calc/README
@@ -4,7 +4,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -12,8 +12,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/.
diff --git a/demos/calc/calc-common.h b/demos/calc/calc-common.h
index 228d870a5..c9ca8a674 100644
--- a/demos/calc/calc-common.h
+++ b/demos/calc/calc-common.h
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -14,8 +14,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
#include <stddef.h> /* for size_t */
#ifndef NO_CALC_H
diff --git a/demos/calc/calc-config-h.in b/demos/calc/calc-config-h.in
index e2bc46753..6ecf43e72 100644
--- a/demos/calc/calc-config-h.in
+++ b/demos/calc/calc-config-h.in
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -14,8 +14,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
/* Define if GNU readline should be used. */
diff --git a/demos/calc/calc.c b/demos/calc/calc.c
index 15f6bc007..7d375239e 100644
--- a/demos/calc/calc.c
+++ b/demos/calc/calc.c
@@ -42,7 +42,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -50,8 +50,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
/* This is a simple program, meant only to show one way to use GMP for this
@@ -488,7 +487,7 @@ static const short yycheck[] =
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
@@ -497,9 +496,7 @@ static const short yycheck[] =
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA. */
+ along with this program. If not, see http://www.gnu.org/licenses/. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
diff --git a/demos/calc/calc.y b/demos/calc/calc.y
index daf832f37..253940b40 100644
--- a/demos/calc/calc.y
+++ b/demos/calc/calc.y
@@ -7,7 +7,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -15,8 +15,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
/* This is a simple program, meant only to show one way to use GMP for this
diff --git a/demos/calc/calclex.c b/demos/calc/calclex.c
index 30775df29..ebd1f0a1a 100644
--- a/demos/calc/calclex.c
+++ b/demos/calc/calclex.c
@@ -394,7 +394,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -402,8 +402,8 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
+
#line 21 "calclex.l"
#include <string.h>
#include "calc-common.h"
diff --git a/demos/calc/calclex.l b/demos/calc/calclex.l
index c487c5413..32d4fc23c 100644
--- a/demos/calc/calclex.l
+++ b/demos/calc/calclex.l
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -14,8 +14,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
%{
#include <string.h>
diff --git a/demos/calc/calcread.c b/demos/calc/calcread.c
index a3a3635c0..ca8395e10 100644
--- a/demos/calc/calcread.c
+++ b/demos/calc/calcread.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -14,8 +14,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
#include "calc-common.h"
diff --git a/demos/expr/Makefile.am b/demos/expr/Makefile.am
index 4e0645b46..333cacc49 100644
--- a/demos/expr/Makefile.am
+++ b/demos/expr/Makefile.am
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at your
+# the Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/tests
diff --git a/demos/expr/Makefile.in b/demos/expr/Makefile.in
index 126fec395..65c4a8e12 100644
--- a/demos/expr/Makefile.in
+++ b/demos/expr/Makefile.in
@@ -20,7 +20,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at your
+# the Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -29,9 +29,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
SOURCES = $(libexpr_a_SOURCES) run-expr.c t-expr.c
srcdir = @srcdir@
diff --git a/demos/expr/README b/demos/expr/README
index 8900e9619..a6bdfa0cf 100644
--- a/demos/expr/README
+++ b/demos/expr/README
@@ -4,7 +4,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -13,9 +13,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301, USA.
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
diff --git a/demos/expr/expr-impl.h b/demos/expr/expr-impl.h
index 9082578d1..e6050c562 100644
--- a/demos/expr/expr-impl.h
+++ b/demos/expr/expr-impl.h
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
/* Same tests as gmp.h. */
diff --git a/demos/expr/expr.c b/demos/expr/expr.c
index 00ce5b963..e87ba6087 100644
--- a/demos/expr/expr.c
+++ b/demos/expr/expr.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include <ctype.h>
#include <stdio.h>
diff --git a/demos/expr/expr.h b/demos/expr/expr.h
index 4a4743edd..a679f179d 100644
--- a/demos/expr/expr.h
+++ b/demos/expr/expr.h
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#ifndef __EXPR_H__
diff --git a/demos/expr/exprf.c b/demos/expr/exprf.c
index 4f8e777df..584c19d92 100644
--- a/demos/expr/exprf.c
+++ b/demos/expr/exprf.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include <stdio.h>
#include <string.h>
diff --git a/demos/expr/exprfa.c b/demos/expr/exprfa.c
index f40e08ecd..1cc00e0f0 100644
--- a/demos/expr/exprfa.c
+++ b/demos/expr/exprfa.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
/* Future: Bitwise "&", "|" and "&" could be done, if desired. Not sure
diff --git a/demos/expr/exprq.c b/demos/expr/exprq.c
index 90d61aea5..f648516f2 100644
--- a/demos/expr/exprq.c
+++ b/demos/expr/exprq.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include <stdio.h>
#include <string.h>
diff --git a/demos/expr/exprqa.c b/demos/expr/exprqa.c
index 70836fd15..c56f1ca69 100644
--- a/demos/expr/exprqa.c
+++ b/demos/expr/exprqa.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include <stdio.h>
diff --git a/demos/expr/exprv.c b/demos/expr/exprv.c
index 90ff4696f..a01b47bdb 100644
--- a/demos/expr/exprv.c
+++ b/demos/expr/exprv.c
@@ -7,7 +7,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -16,10 +16,8 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA.
-*/
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
+
#include <stdio.h>
#include "gmp.h"
diff --git a/demos/expr/exprz.c b/demos/expr/exprz.c
index 36f7c40ea..33196001b 100644
--- a/demos/expr/exprz.c
+++ b/demos/expr/exprz.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include <ctype.h>
#include <stdio.h>
diff --git a/demos/expr/exprza.c b/demos/expr/exprza.c
index 0381f3ff6..81e16ce28 100644
--- a/demos/expr/exprza.c
+++ b/demos/expr/exprza.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include <ctype.h>
#include <stdio.h>
diff --git a/demos/expr/run-expr.c b/demos/expr/run-expr.c
index 11e4070de..169f5a881 100644
--- a/demos/expr/run-expr.c
+++ b/demos/expr/run-expr.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
/* Usage: ./run-expr [-z] [-q] [-f] [-p prec] [-b base] expression...
diff --git a/demos/expr/t-expr.c b/demos/expr/t-expr.c
index ba1f67090..195350e82 100644
--- a/demos/expr/t-expr.c
+++ b/demos/expr/t-expr.c
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include <stdio.h>
#include <stdlib.h>
diff --git a/demos/factorize.c b/demos/factorize.c
index 0b14e7468..e8376ac01 100644
--- a/demos/factorize.c
+++ b/demos/factorize.c
@@ -5,15 +5,16 @@ Foundation, Inc.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2, or (at your option) any later version.
+Foundation; either version 3 of the License, or (at your option) any later
+version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; see the file COPYING. If not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
+
#include <stdlib.h>
#include <stdio.h>
diff --git a/demos/isprime.c b/demos/isprime.c
index 701f404d2..fa6d32039 100644
--- a/demos/isprime.c
+++ b/demos/isprime.c
@@ -5,7 +5,7 @@ Copyright 1999, 2000, 2002, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -13,8 +13,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
#include <stdlib.h>
#include <stdio.h>
diff --git a/demos/perl/GMP.pm b/demos/perl/GMP.pm
index e6d7baf01..00b676166 100644
--- a/demos/perl/GMP.pm
+++ b/demos/perl/GMP.pm
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
# [Note: The above copyright notice is repeated in the documentation section
# below, in order to get it into man pages etc generated by the various pod
@@ -632,7 +630,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
-by the Free Software Foundation; either version 2.1 of the License, or (at
+by the Free Software Foundation; either version 3 of the License, or (at
your option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -641,9 +639,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA.
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
=cut
diff --git a/demos/perl/GMP.xs b/demos/perl/GMP.xs
index 4aa4b34aa..c9e4a79f3 100644
--- a/demos/perl/GMP.xs
+++ b/demos/perl/GMP.xs
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA. */
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* Notes:
diff --git a/demos/perl/GMP/Mpf.pm b/demos/perl/GMP/Mpf.pm
index babb1d1be..ea7b28b40 100644
--- a/demos/perl/GMP/Mpf.pm
+++ b/demos/perl/GMP/Mpf.pm
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
package GMP::Mpf;
diff --git a/demos/perl/GMP/Mpq.pm b/demos/perl/GMP/Mpq.pm
index 67c3e202c..cd60cbef1 100644
--- a/demos/perl/GMP/Mpq.pm
+++ b/demos/perl/GMP/Mpq.pm
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
package GMP::Mpq;
diff --git a/demos/perl/GMP/Mpz.pm b/demos/perl/GMP/Mpz.pm
index f97538611..a86d4aba4 100644
--- a/demos/perl/GMP/Mpz.pm
+++ b/demos/perl/GMP/Mpz.pm
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
package GMP::Mpz;
diff --git a/demos/perl/GMP/Rand.pm b/demos/perl/GMP/Rand.pm
index b809e9adb..049c72935 100644
--- a/demos/perl/GMP/Rand.pm
+++ b/demos/perl/GMP/Rand.pm
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
package GMP::Rand;
diff --git a/demos/perl/INSTALL b/demos/perl/INSTALL
index 291c5bd02..e503c79dd 100644
--- a/demos/perl/INSTALL
+++ b/demos/perl/INSTALL
@@ -4,7 +4,7 @@ This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or (at your
+the Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
The GNU MP Library is distributed in the hope that it will be useful, but
@@ -13,9 +13,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301, USA.
+along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
diff --git a/demos/perl/Makefile.PL b/demos/perl/Makefile.PL
index 90a5e371e..c30b50343 100644
--- a/demos/perl/Makefile.PL
+++ b/demos/perl/Makefile.PL
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
# Bugs:
diff --git a/demos/perl/sample.pl b/demos/perl/sample.pl
index 659059ac8..20ca5a704 100644
--- a/demos/perl/sample.pl
+++ b/demos/perl/sample.pl
@@ -8,7 +8,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -17,9 +17,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
use strict;
diff --git a/demos/perl/test.pl b/demos/perl/test.pl
index 7cdbc214e..9edb08f0e 100644
--- a/demos/perl/test.pl
+++ b/demos/perl/test.pl
@@ -8,7 +8,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -17,9 +17,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
# These tests aim to exercise the many possible combinations of operands
diff --git a/demos/perl/test2.pl b/demos/perl/test2.pl
index dd11b3b44..0f30326ca 100644
--- a/demos/perl/test2.pl
+++ b/demos/perl/test2.pl
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
# The following uses of :constants seem to provoke segvs in perl 5.005_03,
diff --git a/demos/perl/typemap b/demos/perl/typemap
index 474a1b63f..7ad797641 100644
--- a/demos/perl/typemap
+++ b/demos/perl/typemap
@@ -6,7 +6,7 @@
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
-# by the Free Software Foundation; either version 2.1 of the License, or (at
+# by the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# The GNU MP Library is distributed in the hope that it will be useful, but
@@ -15,9 +15,7 @@
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA.
+# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
TYPEMAP
diff --git a/demos/pexpr-config-h.in b/demos/pexpr-config-h.in
index 9cec4e16b..77f767f7a 100644
--- a/demos/pexpr-config-h.in
+++ b/demos/pexpr-config-h.in
@@ -6,7 +6,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -14,8 +14,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
/* Define if you have the <sys/resource.h> header file. */
diff --git a/demos/pexpr.c b/demos/pexpr.c
index c1069745c..5f12058f4 100644
--- a/demos/pexpr.c
+++ b/demos/pexpr.c
@@ -5,7 +5,7 @@ Copyright 1997, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -13,8 +13,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
/* This expressions evaluator works by building an expression tree (using a
diff --git a/demos/primes.c b/demos/primes.c
index 37a1157f5..8c7e375d8 100644
--- a/demos/primes.c
+++ b/demos/primes.c
@@ -6,7 +6,7 @@ Copyright 2001, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
+Foundation; either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -14,8 +14,7 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
#include <stdlib.h>
#include <stdio.h>
diff --git a/demos/qcn.c b/demos/qcn.c
index 2861fcef9..3bd97113d 100644
--- a/demos/qcn.c
+++ b/demos/qcn.c
@@ -8,7 +8,7 @@ This file is part of the GNU MP Library.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2 of the License, or (at your option)
+Software Foundation; either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
@@ -17,8 +17,7 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
-Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+this program. If not, see http://www.gnu.org/licenses/. */
/* Usage: qcn [-p limit] <discriminant>...