summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/GNUmakefile4
-rw-r--r--lib/atou.c4
-rw-r--r--lib/bb-list.c4
-rw-r--r--lib/bb-outline.c8
-rw-r--r--lib/bitmap.c6
-rw-r--r--lib/bounding-box.c4
-rw-r--r--lib/charcode.c4
-rw-r--r--lib/charspec.c4
-rw-r--r--lib/cmdline.c4
-rw-r--r--lib/concat.c4
-rw-r--r--lib/concat3.c4
-rw-r--r--lib/concat4.c4
-rw-r--r--lib/concat5.c4
-rw-r--r--lib/concatn.c4
-rw-r--r--lib/dir.c4
-rw-r--r--lib/dlsym.c39
-rw-r--r--lib/edge.c4
-rw-r--r--lib/encoding.c4
-rw-r--r--lib/extend-fname.c4
-rw-r--r--lib/file-input.c4
-rw-r--r--lib/file-output.c4
-rw-r--r--lib/filename.c4
-rw-r--r--lib/find-suffix.c4
-rw-r--r--lib/fix-num.c4
-rw-r--r--lib/float-ok.c4
-rw-r--r--lib/fmod.c145
-rw-r--r--lib/font.c4
-rw-r--r--lib/fontmap.c4
-rw-r--r--lib/hash.c4
-rw-r--r--lib/hexify.c4
-rw-r--r--lib/identity.c4
-rw-r--r--lib/integer-ok.c4
-rw-r--r--lib/libfile.c4
-rw-r--r--lib/line.c4
-rw-r--r--lib/logreport.c4
-rw-r--r--lib/make-prefix.c4
-rw-r--r--lib/make-suffix.c4
-rw-r--r--lib/math.c4
-rw-r--r--lib/now.c4
-rw-r--r--lib/numtoa.c4
-rw-r--r--lib/pathsrch.c4
-rw-r--r--lib/progname.c4
-rw-r--r--lib/rand.c4
-rw-r--r--lib/report.c4
-rw-r--r--lib/rm-suffix.c4
-rw-r--r--lib/safe-free.c4
-rw-r--r--lib/scaled-num.c4
-rw-r--r--lib/spline.c4
-rw-r--r--lib/statistics.c4
-rw-r--r--lib/str-lcase.c4
-rw-r--r--lib/str-list.c4
-rw-r--r--lib/str-to-bit.c4
-rw-r--r--lib/substring.c4
-rw-r--r--lib/varstring.c4
-rw-r--r--lib/vector.c4
-rw-r--r--lib/xcalloc.c4
-rw-r--r--lib/xchdir.c4
-rw-r--r--lib/xfopen.c4
-rw-r--r--lib/xfseek.c4
-rw-r--r--lib/xftell.c4
-rw-r--r--lib/xgetcwd.c4
-rw-r--r--lib/xmalloc.c4
-rw-r--r--lib/xmessage.c4
-rw-r--r--lib/xopendir.c4
-rw-r--r--lib/xrealloc.c4
-rw-r--r--lib/xrename.c4
-rw-r--r--lib/xstrdup.c4
67 files changed, 160 insertions, 290 deletions
diff --git a/lib/GNUmakefile b/lib/GNUmakefile
index 32526d2..4a03c9c 100644
--- a/lib/GNUmakefile
+++ b/lib/GNUmakefile
@@ -1,10 +1,10 @@
# Makefile for the fontutils library.
#
-# Copyright (C) 1992, 1993, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1993, 2004, 2011 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, 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,
diff --git a/lib/atou.c b/lib/atou.c
index d2e1cda..6c1f972 100644
--- a/lib/atou.c
+++ b/lib/atou.c
@@ -1,11 +1,11 @@
/* atou.c: like atoi, but if the number is negative, abort.
-Copyright (C) 1992, 95 Free Software Foundation, Inc.
+Copyright (C) 1992, 1995, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/bb-list.c b/lib/bb-list.c
index e3df94e..d556405 100644
--- a/lib/bb-list.c
+++ b/lib/bb-list.c
@@ -1,10 +1,10 @@
/* bb-list.c: operations on bounding box lists.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/bb-outline.c b/lib/bb-outline.c
index 1f0e3fa..72b46a1 100644
--- a/lib/bb-outline.c
+++ b/lib/bb-outline.c
@@ -1,10 +1,10 @@
/* bb-outline.c: find the bounding boxes enclosing outlines.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
@@ -24,7 +24,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
static bounding_box_type find_one_bb
(bitmap_type, edge_type, unsigned, unsigned, bitmap_type *);
-
+
/* A character is made up of a list of one or more outlines. Here, we
go through a character's bitmap marking edges on pixels, top to
bottom, left to right, looking for the next pixel with an unmarked
@@ -82,7 +82,7 @@ find_outline_bbs (bitmap_type b, boolean find_inner,
free_bitmap (&marked);
return bb_list;
}
-
+
/* Here we find one of a character's outlines. We're passed the
position (ORIGINAL_ROW and ORIGINAL_COL) of a starting pixel and one
of its unmarked edges, ORIGINAL_EDGE. We traverse the adjacent edges
diff --git a/lib/bitmap.c b/lib/bitmap.c
index 9223c66..66e0213 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -1,10 +1,10 @@
/* bitmap.c: operations on bitmaps.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
@@ -22,7 +22,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "bounding-box.h"
static void bb_ensure_bounds (bounding_box_type *, bitmap_type, string);
-
+
/* Make sure the bitmap is entirely white to begin with. */
bitmap_type
diff --git a/lib/bounding-box.c b/lib/bounding-box.c
index 25f0b74..46ad11b 100644
--- a/lib/bounding-box.c
+++ b/lib/bounding-box.c
@@ -1,10 +1,10 @@
/* bounding-box.c: definitions for bounding box operations.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/charcode.c b/lib/charcode.c
index 931928f..86158b5 100644
--- a/lib/charcode.c
+++ b/lib/charcode.c
@@ -1,10 +1,10 @@
/* charcode.c: parse character code strings into their values.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/charspec.c b/lib/charspec.c
index fa6b966..986b549 100644
--- a/lib/charspec.c
+++ b/lib/charspec.c
@@ -1,10 +1,10 @@
/* charspec.c: parse a character code or name.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/cmdline.c b/lib/cmdline.c
index 3552fae..6d7a90d 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -1,10 +1,10 @@
/* cmdline.c: routines to help in parsing command lines.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/concat.c b/lib/concat.c
index 946ed19..b074a24 100644
--- a/lib/concat.c
+++ b/lib/concat.c
@@ -1,10 +1,10 @@
/* concat.c: dynamic string concatenation.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/concat3.c b/lib/concat3.c
index 383a54c..263562d 100644
--- a/lib/concat3.c
+++ b/lib/concat3.c
@@ -1,10 +1,10 @@
/* concat3.c: concatenate three strings.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/concat4.c b/lib/concat4.c
index f8b3d06..d4b6833 100644
--- a/lib/concat4.c
+++ b/lib/concat4.c
@@ -1,10 +1,10 @@
/* concat4.c: concatenate four strings.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/concat5.c b/lib/concat5.c
index fbf9601..7f6c4ed 100644
--- a/lib/concat5.c
+++ b/lib/concat5.c
@@ -1,10 +1,10 @@
/* concat5.c: concatenate five strings.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/concatn.c b/lib/concatn.c
index 8836357..f76d461 100644
--- a/lib/concatn.c
+++ b/lib/concatn.c
@@ -1,11 +1,11 @@
/* concatn.c: Concatenate an arbitrary number of strings.
-Copyright (C) 1993, 95 Karl Berry.
+Copyright (C) 1993, 1995, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/dir.c b/lib/dir.c
index 0cd5249..290d316 100644
--- a/lib/dir.c
+++ b/lib/dir.c
@@ -1,11 +1,11 @@
/* dir.c: directory operations.
-Copyright (C) 1992, 93, 94, 95, 2004 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 2004, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/dlsym.c b/lib/dlsym.c
index c14ffdd..66a3662 100644
--- a/lib/dlsym.c
+++ b/lib/dlsym.c
@@ -1,16 +1,31 @@
/*
- * Stub interface to dynamic linker routines
- * that SunOS uses but didn't ship with 4.1.
- *
- * The C library routine wcstombs in SunOS 4.1 tries to dynamically
- * load some routines using the dlsym interface, described in dlsym(3x).
- * Unfortunately SunOS 4.1 does not include the necessary library, libdl.
- *
- * The R5 Xlib uses wcstombs. If you link dynamcally, your program can
- * run even with the unresolved reference to dlsym. However, if you
- * link statically, you will encounter this bug. One workaround
- * is to include these stub routines when you link.
- */
+Stub interface to dynamic linker routines
+that SunOS uses but didn't ship with 4.1.
+
+The C library routine wcstombs in SunOS 4.1 tries to dynamically
+load some routines using the dlsym interface, described in dlsym(3x).
+Unfortunately SunOS 4.1 does not include the necessary library, libdl.
+
+The R5 Xlib uses wcstombs. If you link dynamcally, your program can
+run even with the unresolved reference to dlsym. However, if you
+link statically, you will encounter this bug. One workaround
+is to include these stub routines when you link.
+
+Copyright (C) 2011 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 3, 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; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
void *dlopen()
{
diff --git a/lib/edge.c b/lib/edge.c
index 7bec506..a36cfa3 100644
--- a/lib/edge.c
+++ b/lib/edge.c
@@ -1,10 +1,10 @@
/* edge.c: operations on edges in bitmaps.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/encoding.c b/lib/encoding.c
index a40d281..d969c50 100644
--- a/lib/encoding.c
+++ b/lib/encoding.c
@@ -1,10 +1,10 @@
/* encoding.c: read a font encoding (.enc) file.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/extend-fname.c b/lib/extend-fname.c
index 6744674..2531e21 100644
--- a/lib/extend-fname.c
+++ b/lib/extend-fname.c
@@ -1,11 +1,11 @@
/* extend-fname.c: give a filename a suffix, if necessary.
-Copyright (C) 1992, 93 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/file-input.c b/lib/file-input.c
index 1bc138b..c80e714 100644
--- a/lib/file-input.c
+++ b/lib/file-input.c
@@ -1,11 +1,11 @@
/* file-input.c: file reading routines for binary files in BigEndian
order, 2's complement representation.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/file-output.c b/lib/file-output.c
index 94559ec..7634ec8 100644
--- a/lib/file-output.c
+++ b/lib/file-output.c
@@ -1,11 +1,11 @@
/* file-output.c: file writing routines for binary files in BigEndian
order, 2's complement representation.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/filename.c b/lib/filename.c
index b85d095..ff7bab9 100644
--- a/lib/filename.c
+++ b/lib/filename.c
@@ -1,10 +1,10 @@
/* filename.c: routines to manipulate filenames.
-Copyright (C) 1992, 93 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 2011 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, 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,
diff --git a/lib/find-suffix.c b/lib/find-suffix.c
index e704c7b..e2a03a1 100644
--- a/lib/find-suffix.c
+++ b/lib/find-suffix.c
@@ -1,11 +1,11 @@
/* find-suffix.c: return the stuff after a dot.
-Copyright (C) 1992, 93 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/fix-num.c b/lib/fix-num.c
index 2827d2c..efd89d1 100644
--- a/lib/fix-num.c
+++ b/lib/fix-num.c
@@ -1,11 +1,11 @@
/* fix-num.c: conversions on ``fixnums'', which are a 32-bit
word with 20 bits of fraction.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/float-ok.c b/lib/float-ok.c
index fc2c088..160468c 100644
--- a/lib/float-ok.c
+++ b/lib/float-ok.c
@@ -1,10 +1,10 @@
/* float-ok.c: test if a string is a valid floating-point number.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/fmod.c b/lib/fmod.c
deleted file mode 100644
index 0c78f52..0000000
--- a/lib/fmod.c
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- * Copyright (c) 1989 The Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that: (1) source distributions retain this entire copyright
- * notice and comment, and (2) distributions including binaries display
- * the following acknowledgement: ``This product includes software
- * developed by the University of California, Berkeley and its contributors''
- * in the documentation or other materials provided with the distribution
- * and in all advertising materials mentioning features or use of this
- * software. Neither the name of the University nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-#ifndef lint
-static char sccsid[] = "@(#)fmod.c 5.2 (Berkeley) 6/1/90";
-#endif /* not lint */
-
-/* fmod.c
- *
- * SYNOPSIS
- *
- * #include <math.h>
- * double fmod(double x, double y)
- *
- * DESCRIPTION
- *
- * The fmod function computes the floating-point remainder of x/y.
- *
- * RETURNS
- *
- * The fmod function returns the value x-i*y, for some integer i
- * such that, if y is nonzero, the result has the same sign as x and
- * magnitude less than the magnitude of y.
- *
- * On a VAX or CCI,
- *
- * fmod(x,0) traps/faults on floating-point divided-by-zero.
- *
- * On IEEE-754 conforming machines with "isnan()" primitive,
- *
- * fmod(x,0), fmod(INF,y) are invalid operations and NaN is returned.
- *
- */
-#include <math.h> /* changed from "mathimpl.h" --karl */
-
-#if !defined(vax) && !defined(tahoe)
-extern int isnan(),finite();
-#endif /* !defined(vax) && !defined(tahoe) */
-extern double frexp(),ldexp(),fabs();
-
-#ifdef TEST_FMOD
-static double
-_fmod(x,y)
-#else /* TEST_FMOD */
-double
-fmod(x,y)
-#endif /* TEST_FMOD */
-double x,y;
-{
- int ir,iy;
- double r,w;
-
- if (y == (double)0
-#if 0 /* removed this --karl */
-#if !defined(vax) && !defined(tahoe) /* per "fmod" manual entry, SunOS 4.0 */
- || isnan(y) || !finite(x)
-#endif /* !defined(vax) && !defined(tahoe) */
-#endif
- )
- return (x*y)/(x*y);
-
- r = fabs(x);
- y = fabs(y);
- (void)frexp(y,&iy);
- while (r >= y) {
- (void)frexp(r,&ir);
- w = ldexp(y,ir-iy);
- r -= w <= r ? w : w*(double)0.5;
- }
- return x >= (double)0 ? r : -r;
-}
-
-#ifdef TEST_FMOD
-extern long random();
-extern double fmod();
-
-#define NTEST 10000
-#define NCASES 3
-
-static int nfail = 0;
-
-static void
-doit(x,y)
-double x,y;
-{
- double ro = fmod(x,y),rn = _fmod(x,y);
- if (ro != rn) {
- (void)printf(" x = 0x%08.8x %08.8x (%24.16e)\n",x,x);
- (void)printf(" y = 0x%08.8x %08.8x (%24.16e)\n",y,y);
- (void)printf(" fmod = 0x%08.8x %08.8x (%24.16e)\n",ro,ro);
- (void)printf("_fmod = 0x%08.8x %08.8x (%24.16e)\n",rn,rn);
- (void)printf("\n");
- }
-}
-
-main()
-{
- register int i,cases;
- double x,y;
-
- srandom(12345);
- for (i = 0; i < NTEST; i++) {
- x = (double)random();
- y = (double)random();
- for (cases = 0; cases < NCASES; cases++) {
- switch (cases) {
- case 0:
- break;
- case 1:
- y = (double)1/y; break;
- case 2:
- x = (double)1/x; break;
- default:
- abort(); break;
- }
- doit(x,y);
- doit(x,-y);
- doit(-x,y);
- doit(-x,-y);
- }
- }
- if (nfail)
- (void)printf("Number of failures: %d (out of a total of %d)\n",
- nfail,NTEST*NCASES*4);
- else
- (void)printf("No discrepancies were found\n");
- exit(0);
-}
-#endif /* TEST_FMOD */
diff --git a/lib/font.c b/lib/font.c
index b85a8d7..d8cb4b6 100644
--- a/lib/font.c
+++ b/lib/font.c
@@ -1,10 +1,10 @@
/* font.c: define (more or less) format-independent font operations.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/fontmap.c b/lib/fontmap.c
index 2b4f0b7..59344d5 100644
--- a/lib/fontmap.c
+++ b/lib/fontmap.c
@@ -1,10 +1,10 @@
/* fontmap.c: read a file for additional font names.
-Copyright (C) 1993 Free Software Foundation, Inc.
+Copyright (C) 1993, 2011 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, 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,
diff --git a/lib/hash.c b/lib/hash.c
index 69329cf..bd6dc87 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -1,11 +1,11 @@
/* hash.c: hash table operations.
-Copyright (C) 1994, 95, 96 Karl Berry.
+Copyright (C) 1994, 1995, 1996, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/hexify.c b/lib/hexify.c
index e3941b2..f949b68 100644
--- a/lib/hexify.c
+++ b/lib/hexify.c
@@ -1,10 +1,10 @@
/* hexify.c: change a binary string to ASCII hex characters.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/identity.c b/lib/identity.c
index 1412860..d728c7d 100644
--- a/lib/identity.c
+++ b/lib/identity.c
@@ -1,10 +1,10 @@
/* identity.c.
-Copyright (C) 1995 Free Software Foundation, Inc.
+Copyright (C) 1995, 2011 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, 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,
diff --git a/lib/integer-ok.c b/lib/integer-ok.c
index eced4c8..11a44a7 100644
--- a/lib/integer-ok.c
+++ b/lib/integer-ok.c
@@ -1,10 +1,10 @@
/* integer-ok.c: test if a string is a valid integer.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/libfile.c b/lib/libfile.c
index 9371779..525b2bc 100644
--- a/lib/libfile.c
+++ b/lib/libfile.c
@@ -1,10 +1,10 @@
/* libfile.c: open and read a single auxiliary data file.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/line.c b/lib/line.c
index 6c2e16e..8d15772 100644
--- a/lib/line.c
+++ b/lib/line.c
@@ -1,10 +1,10 @@
/* line.c: return the next line from a file, or NULL.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/logreport.c b/lib/logreport.c
index 93d2dff..ce202b5 100644
--- a/lib/logreport.c
+++ b/lib/logreport.c
@@ -1,10 +1,10 @@
/* logreport.c: showing information to the user.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/make-prefix.c b/lib/make-prefix.c
index 9a454aa..9c73ead 100644
--- a/lib/make-prefix.c
+++ b/lib/make-prefix.c
@@ -1,10 +1,10 @@
/* make-prefix.c: construct a pathname prefix.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/make-suffix.c b/lib/make-suffix.c
index 3e16f57..aa32e85 100644
--- a/lib/make-suffix.c
+++ b/lib/make-suffix.c
@@ -1,11 +1,11 @@
/* make-suffix.c: unconditionally add a filename suffix.
-Copyright (C) 1992, 93, 95 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/math.c b/lib/math.c
index 0939d8e..1aaa16c 100644
--- a/lib/math.c
+++ b/lib/math.c
@@ -1,10 +1,10 @@
/* math.c: define some simple array operations, and other functions.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/now.c b/lib/now.c
index 88c165f..cf87fb4 100644
--- a/lib/now.c
+++ b/lib/now.c
@@ -1,10 +1,10 @@
/* time.c: the current date and time.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/numtoa.c b/lib/numtoa.c
index 53c1a7d..f9458e1 100644
--- a/lib/numtoa.c
+++ b/lib/numtoa.c
@@ -1,10 +1,10 @@
/* numtoa.c: change numbers back to strings.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/pathsrch.c b/lib/pathsrch.c
index 505e85f..5982355 100644
--- a/lib/pathsrch.c
+++ b/lib/pathsrch.c
@@ -4,11 +4,11 @@
We should allow % specifiers in the paths for the resolution, mode
name, etc.
-Copyright (C) 1992, 93 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 2011 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, 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,
diff --git a/lib/progname.c b/lib/progname.c
index 6ad803d..3221147 100644
--- a/lib/progname.c
+++ b/lib/progname.c
@@ -1,11 +1,11 @@
/* progname.c: the executable name we were invoked as; general initialization.
-Copyright (C) 1994, 96, 97 Karl Berry.
+Copyright (C) 1994, 1996, 1997, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/rand.c b/lib/rand.c
index 78cc7fa..ef1b169 100644
--- a/lib/rand.c
+++ b/lib/rand.c
@@ -1,10 +1,10 @@
/* rand.c: a simple pseudo-random number generator.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/report.c b/lib/report.c
index 42412a6..32efc96 100644
--- a/lib/report.c
+++ b/lib/report.c
@@ -1,10 +1,10 @@
/* report.c: showing information to the user online.
-Copyright (C) 1992, 2004 Free Software Foundation, Inc.
+Copyright (C) 1992, 2004, 2011 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, 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,
diff --git a/lib/rm-suffix.c b/lib/rm-suffix.c
index 6f7e917..dcf061b 100644
--- a/lib/rm-suffix.c
+++ b/lib/rm-suffix.c
@@ -1,11 +1,11 @@
/* rm-suffix.c: remove any suffix.
-Copyright (C) 1992, 93, 95 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/safe-free.c b/lib/safe-free.c
index 7c56d0a..a5181ad 100644
--- a/lib/safe-free.c
+++ b/lib/safe-free.c
@@ -1,10 +1,10 @@
/* safe-free.c: free with error checking.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/scaled-num.c b/lib/scaled-num.c
index cf4a18f..18a262b 100644
--- a/lib/scaled-num.c
+++ b/lib/scaled-num.c
@@ -1,11 +1,11 @@
/* scaled-num.c: conversions on ``scaled'' numbers, which are a 32-bit
word with 16 bits of fraction.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/spline.c b/lib/spline.c
index cdfc25f..e3a28c8 100644
--- a/lib/spline.c
+++ b/lib/spline.c
@@ -1,10 +1,10 @@
/* spline.c: spline and spline list (represented as arrays) manipulation.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/statistics.c b/lib/statistics.c
index c786ce9..9cba0a3 100644
--- a/lib/statistics.c
+++ b/lib/statistics.c
@@ -1,10 +1,10 @@
/* statistics.c: find various statistics.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/str-lcase.c b/lib/str-lcase.c
index f8a272f..996114e 100644
--- a/lib/str-lcase.c
+++ b/lib/str-lcase.c
@@ -1,11 +1,11 @@
/* str-casefold.c: make a string either all uppercase or all lowercase.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 Free Software Foundation, Inc.
This file was part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
-published by the Free Software Foundation; either version 2 of the
+published by the Free Software Foundation; either version 3 of the
License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
diff --git a/lib/str-list.c b/lib/str-list.c
index 90b99c2..d39f155 100644
--- a/lib/str-list.c
+++ b/lib/str-list.c
@@ -1,11 +1,11 @@
/* str-list.c: define routines for string lists.
-Copyright (C) 1993 Karl Berry.
+Copyright (C) 1993, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/str-to-bit.c b/lib/str-to-bit.c
index 634e472..4ffdd7b 100644
--- a/lib/str-to-bit.c
+++ b/lib/str-to-bit.c
@@ -1,10 +1,10 @@
/* str-to-bit.c: typeset a text string in some font, producing a bitmap.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/substring.c b/lib/substring.c
index 8ef7174..a92215c 100644
--- a/lib/substring.c
+++ b/lib/substring.c
@@ -1,10 +1,10 @@
/* substring.c: copy a chunk from a string.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/varstring.c b/lib/varstring.c
index 0107abd..b84f67f 100644
--- a/lib/varstring.c
+++ b/lib/varstring.c
@@ -1,10 +1,10 @@
/* varstring.c: variable-length strings.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/vector.c b/lib/vector.c
index 354af2d..6f7abf5 100644
--- a/lib/vector.c
+++ b/lib/vector.c
@@ -1,10 +1,10 @@
/* vector.c: vector/point operations.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/xcalloc.c b/lib/xcalloc.c
index 3f6231c..b33f4d5 100644
--- a/lib/xcalloc.c
+++ b/lib/xcalloc.c
@@ -1,11 +1,11 @@
/* xcalloc.c: calloc with error checking.
-Copyright (C) 1992, 93 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/xchdir.c b/lib/xchdir.c
index 9831663..b895ae4 100644
--- a/lib/xchdir.c
+++ b/lib/xchdir.c
@@ -1,10 +1,10 @@
/* xchdir.c: chdir with error checking.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/xfopen.c b/lib/xfopen.c
index c27940d..d298cd9 100644
--- a/lib/xfopen.c
+++ b/lib/xfopen.c
@@ -1,11 +1,11 @@
/* xfopen.c: fopen and fclose with error checking.
-Copyright (C) 1992, 93, 95 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/xfseek.c b/lib/xfseek.c
index 25a1c8f..f34d6e7 100644
--- a/lib/xfseek.c
+++ b/lib/xfseek.c
@@ -1,11 +1,11 @@
/* xfseek.c: fseek with error checking.
-Copyright (C) 1992, 95 Free Software Foundation, Inc.
+Copyright (C) 1992, 1995, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/xftell.c b/lib/xftell.c
index 3af8954..7087ddd 100644
--- a/lib/xftell.c
+++ b/lib/xftell.c
@@ -1,11 +1,11 @@
/* xftell.c: ftell with error checking.
-Copyright (C) 1992, 93, 95 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/xgetcwd.c b/lib/xgetcwd.c
index 8f3e4a9..fe9d295 100644
--- a/lib/xgetcwd.c
+++ b/lib/xgetcwd.c
@@ -1,11 +1,11 @@
/* xgetcwd.c: a from-scratch version of getwd. Based on the tcsh 5.20
source, apparently uncopyrighted.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/xmalloc.c b/lib/xmalloc.c
index 0371d43..721cc47 100644
--- a/lib/xmalloc.c
+++ b/lib/xmalloc.c
@@ -1,11 +1,11 @@
/* xmalloc.c: malloc with error checking.
-Copyright (C) 1992, 93 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/xmessage.c b/lib/xmessage.c
index 1b8331a..eeeae69 100644
--- a/lib/xmessage.c
+++ b/lib/xmessage.c
@@ -1,10 +1,10 @@
/* xmessage.c: pop up a message for five seconds and then go away.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/xopendir.c b/lib/xopendir.c
index 02709ac..14f6e7a 100644
--- a/lib/xopendir.c
+++ b/lib/xopendir.c
@@ -1,10 +1,10 @@
/* xopendir.c: opendir and closedir with error checking.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/xrealloc.c b/lib/xrealloc.c
index c479b98..057d889 100644
--- a/lib/xrealloc.c
+++ b/lib/xrealloc.c
@@ -1,11 +1,11 @@
/* xrealloc.c: realloc with error checking.
-Copyright (C) 1992, 93 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
+version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/lib/xrename.c b/lib/xrename.c
index c840805..e60f02b 100644
--- a/lib/xrename.c
+++ b/lib/xrename.c
@@ -1,10 +1,10 @@
/* xrename.c: conceptually rename with error checking.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2011 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, 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,
diff --git a/lib/xstrdup.c b/lib/xstrdup.c
index f0ca8db..6feef4c 100644
--- a/lib/xstrdup.c
+++ b/lib/xstrdup.c
@@ -1,10 +1,10 @@
/* xstrdup.c: strdup with error checking.
-Copyright (C) 1992, 2004 Free Software Foundation, Inc.
+Copyright (C) 1992, 2004, 2011 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, 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,