diff options
Diffstat (limited to 'lib')
66 files changed, 289 insertions, 104 deletions
@@ -1,3 +1,4 @@ +/* # atou.c: like atoi, but if the number is negative, abort. # # Copyright (C) 1992, 1995, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/bb-list.c b/lib/bb-list.c index 9aebba2..e14c47c 100644 --- a/lib/bb-list.c +++ b/lib/bb-list.c @@ -1,3 +1,4 @@ +/* # bb-list.c: operations on bounding box lists. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/bb-outline.c b/lib/bb-outline.c index c4ff16a..9c8a1f4 100644 --- a/lib/bb-outline.c +++ b/lib/bb-outline.c @@ -1,3 +1,4 @@ +/* # bb-outline.c: find the bounding boxes enclosing outlines. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ #include "config.h" diff --git a/lib/bitmap.c b/lib/bitmap.c index 4a8e2fb..3129fdb 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c @@ -1,3 +1,4 @@ +/* # bitmap.c: operations on bitmaps. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ #include "config.h" diff --git a/lib/bounding-box.c b/lib/bounding-box.c index 88cb2a4..13f252a 100644 --- a/lib/bounding-box.c +++ b/lib/bounding-box.c @@ -1,3 +1,4 @@ +/* # bounding-box.c: definitions for bounding box operations. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/charcode.c b/lib/charcode.c index 6dc349a..e643def 100644 --- a/lib/charcode.c +++ b/lib/charcode.c @@ -1,3 +1,4 @@ +/* # charcode.c: parse character code strings into their values. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/charspec.c b/lib/charspec.c index 864c8de..06a819c 100644 --- a/lib/charspec.c +++ b/lib/charspec.c @@ -1,3 +1,4 @@ +/* # charspec.c: parse a character code or name. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/cmdline.c b/lib/cmdline.c index 393f7d3..e57ab29 100644 --- a/lib/cmdline.c +++ b/lib/cmdline.c @@ -1,3 +1,4 @@ +/* # cmdline.c: routines to help in parsing command lines. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/concat.c b/lib/concat.c index 4db3a37..502741c 100644 --- a/lib/concat.c +++ b/lib/concat.c @@ -1,3 +1,4 @@ +/* # concat.c: dynamic string concatenation. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/concat3.c b/lib/concat3.c index 0e55987..c07c19f 100644 --- a/lib/concat3.c +++ b/lib/concat3.c @@ -1,3 +1,4 @@ +/* # concat3.c: concatenate three strings. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/concat4.c b/lib/concat4.c index b77adfb..7324a5f 100644 --- a/lib/concat4.c +++ b/lib/concat4.c @@ -1,3 +1,4 @@ +/* # concat4.c: concatenate four strings. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/concat5.c b/lib/concat5.c index 6b3659d..f8890d0 100644 --- a/lib/concat5.c +++ b/lib/concat5.c @@ -1,3 +1,4 @@ +/* # concat5.c: concatenate five strings. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/concatn.c b/lib/concatn.c index a4a7a36..e1003f6 100644 --- a/lib/concatn.c +++ b/lib/concatn.c @@ -1,3 +1,4 @@ +/* # concatn.c: Concatenate an arbitrary number of strings. # # Copyright (C) 1993, 1995, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" @@ -1,3 +1,4 @@ +/* # dir.c: directory operations. # # Copyright (C) 1992, 1993, 1994, 1995, 2004, 2011 @@ -16,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/dlsym.c b/lib/dlsym.c index d2c1968..e77a591 100644 --- a/lib/dlsym.c +++ b/lib/dlsym.c @@ -1,3 +1,4 @@ +/* # dlsym.c: Stub interface to dynamic linker routines that SunOS uses but didn't # whip with 4.1. # @@ -16,8 +17,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ +/* # 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. @@ -26,6 +29,8 @@ # 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. +*/ + void *dlopen() { @@ -1,3 +1,4 @@ +/* # edge.c: operations on edges in bitmaps. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/encoding.c b/lib/encoding.c index 3335dc4..181347f 100644 --- a/lib/encoding.c +++ b/lib/encoding.c @@ -1,3 +1,4 @@ +/* # encoding.c: read a font encoding (.enc) file. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/extend-fname.c b/lib/extend-fname.c index d6b9f5c..b58b24f 100644 --- a/lib/extend-fname.c +++ b/lib/extend-fname.c @@ -1,3 +1,4 @@ +/* # extend-fname.c: give a filename a suffix, if necessary. # # Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/file-input.c b/lib/file-input.c index e554699..b8fa29b 100644 --- a/lib/file-input.c +++ b/lib/file-input.c @@ -1,3 +1,4 @@ +/* # file-input.c: file reading routines for binary files in BigEndian # order, 2's complement representation. # @@ -16,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/file-output.c b/lib/file-output.c index e1874a8..e68263d 100644 --- a/lib/file-output.c +++ b/lib/file-output.c @@ -1,3 +1,4 @@ +/* # file-output.c: file writing routines for binary files in BigEndian # order, 2's complement representation. # @@ -16,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/filename.c b/lib/filename.c index fbb750f..c121c02 100644 --- a/lib/filename.c +++ b/lib/filename.c @@ -1,3 +1,4 @@ +/* # filename.c: routines to manipulate filenames. # # Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/find-suffix.c b/lib/find-suffix.c index 23dc717..21f6146 100644 --- a/lib/find-suffix.c +++ b/lib/find-suffix.c @@ -1,3 +1,4 @@ +/* # find-suffix.c: return the stuff after a dot. # # Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/fix-num.c b/lib/fix-num.c index 144d266..5ad898f 100644 --- a/lib/fix-num.c +++ b/lib/fix-num.c @@ -1,3 +1,4 @@ +/* # fix-num.c: conversions on ``fixnums'', which are a 32-bit # word with 20 bits of fraction. # @@ -16,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/float-ok.c b/lib/float-ok.c index eaffa24..bb0d221 100644 --- a/lib/float-ok.c +++ b/lib/float-ok.c @@ -1,3 +1,4 @@ +/* # float-ok.c: test if a string is a valid floating-point number. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # - +*/ #include "config.h" @@ -1,3 +1,4 @@ +/* # font.c: define (more or less) format-independent font operations. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/fontmap.c b/lib/fontmap.c index 5d83e74..610e6d3 100644 --- a/lib/fontmap.c +++ b/lib/fontmap.c @@ -1,3 +1,4 @@ +/* # fontmap.c: read a file for additional font names. # # Copyright (C) 1993, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" @@ -1,3 +1,4 @@ +/* # hash.c: hash table operations. # # Copyright (C) 1994, 1995, 1996, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/hexify.c b/lib/hexify.c index 3705d49..c088cf6 100644 --- a/lib/hexify.c +++ b/lib/hexify.c @@ -1,3 +1,4 @@ +/* # hexify.c: change a binary string to ASCII hex characters. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/identity.c b/lib/identity.c index b35c6f5..95b7518 100644 --- a/lib/identity.c +++ b/lib/identity.c @@ -1,3 +1,4 @@ +/* # identity.c: # # Copyright (C) 1995, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include <stdio.h> diff --git a/lib/integer-ok.c b/lib/integer-ok.c index a7ffb81..fe9550c 100644 --- a/lib/integer-ok.c +++ b/lib/integer-ok.c @@ -1,3 +1,4 @@ +/* # integer-ok.c: test if a string is a valid integer. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/libfile.c b/lib/libfile.c index 7e123b7..d2987af 100644 --- a/lib/libfile.c +++ b/lib/libfile.c @@ -1,3 +1,4 @@ +/* # libfile.c: open and read a single auxiliary data file. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" @@ -1,3 +1,4 @@ +/* # line.c: return the next line from a file, or NULL. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + + #include "config.h" @@ -1,3 +1,4 @@ +/* # list.c: simple list (represented as arrays) manipulation. # # Copyright (C) 1992 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/logreport.c b/lib/logreport.c index 3dd386d..35c9b25 100644 --- a/lib/logreport.c +++ b/lib/logreport.c @@ -1,3 +1,4 @@ +/* # logreport.c: showing information to the user. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/make-prefix.c b/lib/make-prefix.c index a278e11..691131d 100644 --- a/lib/make-prefix.c +++ b/lib/make-prefix.c @@ -1,3 +1,4 @@ +/* # make-prefix.c: construct a pathname prefix. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/make-suffix.c b/lib/make-suffix.c index bc8a851..0c52b12 100644 --- a/lib/make-suffix.c +++ b/lib/make-suffix.c @@ -1,3 +1,4 @@ +/* # make-suffix.c: unconditionally add a filename suffix. # # Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" @@ -1,3 +1,4 @@ +/* # math.c: define some simple array operations, and other functions. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" @@ -1,3 +1,4 @@ +/* # time.c: the current date and time. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/numtoa.c b/lib/numtoa.c index 4c049d5..c146b23 100644 --- a/lib/numtoa.c +++ b/lib/numtoa.c @@ -1,3 +1,4 @@ +/* # numtoa.c: change numbers back to strings. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/pathsrch.c b/lib/pathsrch.c index f75b9cf..f8713e7 100644 --- a/lib/pathsrch.c +++ b/lib/pathsrch.c @@ -1,3 +1,4 @@ +/* # pathsrch.c: look for files based on paths, i.e., colon-separated # lists of directories. # @@ -16,10 +17,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ +/* # We should allow % specifiers in the paths for the resolution, mode # name, etc. +*/ #include "config.h" diff --git a/lib/progname.c b/lib/progname.c index f8f964d..01c5c5c 100644 --- a/lib/progname.c +++ b/lib/progname.c @@ -1,3 +1,4 @@ +/* # progname.c: the executable name we were invoked as; general initialization. # # Copyright (C) 1994, 1996, 1997, 2011 Free Software Foundation, Inc. @@ -15,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ #include "config.h" @@ -1,3 +1,4 @@ +/* # rand.c: a simple pseudo-random number generator. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/report.c b/lib/report.c index 53110ec..465a051 100644 --- a/lib/report.c +++ b/lib/report.c @@ -1,3 +1,4 @@ +/* # report.c: showing information to the user online. # # Copyright (C) 1992, 2004, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/rm-suffix.c b/lib/rm-suffix.c index 326826c..f495f56 100644 --- a/lib/rm-suffix.c +++ b/lib/rm-suffix.c @@ -1,3 +1,4 @@ +/* # rm-suffix.c: remove any suffix. # # Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc. @@ -15,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ #include "config.h" diff --git a/lib/safe-free.c b/lib/safe-free.c index 4d3a1f8..81447c3 100644 --- a/lib/safe-free.c +++ b/lib/safe-free.c @@ -1,3 +1,4 @@ +/* # safe-free.c: free with error checking. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/scaled-num.c b/lib/scaled-num.c index 2345877..12e2805 100644 --- a/lib/scaled-num.c +++ b/lib/scaled-num.c @@ -1,3 +1,4 @@ +/* # scaled-num.c: conversions on ``scaled'' numbers, which are a 32-bit # word with 16 bits of fraction. # @@ -16,6 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/spline.c b/lib/spline.c index 454f409..7637bb6 100644 --- a/lib/spline.c +++ b/lib/spline.c @@ -1,3 +1,4 @@ +/* # spline.c: spline and spline list (represented as arrays) manipulation. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/statistics.c b/lib/statistics.c index 635b6ee..c9e91a8 100644 --- a/lib/statistics.c +++ b/lib/statistics.c @@ -1,3 +1,4 @@ +/* # statistics.c: find various statistics. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/str-lcase.c b/lib/str-lcase.c index 39c49bc..bde8128 100644 --- a/lib/str-lcase.c +++ b/lib/str-lcase.c @@ -1,3 +1,4 @@ +/* # str-casefold.c: make a string either all uppercase or all lowercase. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/str-list.c b/lib/str-list.c index a780d2b..52d119c 100644 --- a/lib/str-list.c +++ b/lib/str-list.c @@ -1,3 +1,4 @@ +/* # str-list.c: define routines for string lists. # # Copyright (C) 1993, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/str-to-bit.c b/lib/str-to-bit.c index 169c879..1f60b22 100644 --- a/lib/str-to-bit.c +++ b/lib/str-to-bit.c @@ -1,3 +1,4 @@ +/* # str-to-bit.c: typeset a text string in some font, producing a bitmap. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/substring.c b/lib/substring.c index 8733a24..3d542d4 100644 --- a/lib/substring.c +++ b/lib/substring.c @@ -1,3 +1,4 @@ +/* # substring.c: copy a chunk from a string. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/varstring.c b/lib/varstring.c index c759abc..07062ba 100644 --- a/lib/varstring.c +++ b/lib/varstring.c @@ -1,3 +1,4 @@ +/* # varstring.c: variable-length strings. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/vector.c b/lib/vector.c index 0a30532..45ad6e3 100644 --- a/lib/vector.c +++ b/lib/vector.c @@ -1,3 +1,4 @@ +/* # vector.c: vector/point operations. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/xcalloc.c b/lib/xcalloc.c index 637d00c..335e5fe 100644 --- a/lib/xcalloc.c +++ b/lib/xcalloc.c @@ -1,3 +1,4 @@ +/* # xcalloc.c: calloc with error checking. # # Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc. @@ -15,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ + #include "config.h" diff --git a/lib/xchdir.c b/lib/xchdir.c index b895ae4..0cbbbe9 100644 --- a/lib/xchdir.c +++ b/lib/xchdir.c @@ -1,20 +1,22 @@ -/* xchdir.c: chdir with error checking. - -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 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. */ +/* +# xchdir.c: chdir with error checking. +# +# 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 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. If not, see <http://www.gnu.org/licenses/>. +# +*/ #include "config.h" diff --git a/lib/xfopen.c b/lib/xfopen.c index d298cd9..9af3fe7 100644 --- a/lib/xfopen.c +++ b/lib/xfopen.c @@ -1,20 +1,22 @@ -/* xfopen.c: fopen and fclose with error checking. - -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 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 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +# xfopen.c: fopen and fclose with error checking. +# +# Copyright (C) 1992, 1993, 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 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. If not, see <http://www.gnu.org/licenses/>. +# +*/ #include "config.h" diff --git a/lib/xfseek.c b/lib/xfseek.c index f34d6e7..21d3408 100644 --- a/lib/xfseek.c +++ b/lib/xfseek.c @@ -1,20 +1,22 @@ -/* xfseek.c: fseek with error checking. - -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 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 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +# xfseek.c: fseek with error checking. +# +# Copyright (C) 1992, 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 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. If not, see <http://www.gnu.org/licenses/>. +# +*/ #include "config.h" diff --git a/lib/xftell.c b/lib/xftell.c index 7087ddd..ce88954 100644 --- a/lib/xftell.c +++ b/lib/xftell.c @@ -1,20 +1,22 @@ -/* xftell.c: ftell with error checking. - -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 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 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +# xftell.c: ftell with error checking. +# +# Copyright (C) 1992, 1993, 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 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. If not, see <http://www.gnu.org/licenses/>. +# +*/ #include "config.h" diff --git a/lib/xgetcwd.c b/lib/xgetcwd.c index fe9d295..3a29dec 100644 --- a/lib/xgetcwd.c +++ b/lib/xgetcwd.c @@ -1,21 +1,23 @@ -/* xgetcwd.c: a from-scratch version of getwd. Based on the tcsh 5.20 - source, apparently uncopyrighted. - -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 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. */ +/* +# xgetcwd.c: a from-scratch version of getwd. Based on the tcsh 5.20 +# source, apparently uncopyrighted. +# +# 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 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. If not, see <http://www.gnu.org/licenses/>. +# +*/ #include "config.h" #include "c-pathmx.h" diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 721cc47..d593083 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -1,20 +1,22 @@ -/* xmalloc.c: malloc with error checking. - -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 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 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +# xmalloc.c: malloc with error checking. +# +# 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 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. If not, see <http://www.gnu.org/licenses/>. +# +*/ /* Don't include config.h or all our other usual includes, since it's useful to just throw this file into other programs. */ diff --git a/lib/xmessage.c b/lib/xmessage.c index 31fcf67..9dd5162 100644 --- a/lib/xmessage.c +++ b/lib/xmessage.c @@ -1,3 +1,4 @@ +/* # xmessage.c: pop up a message for five seconds and then go away. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ #ifndef X_DISPLAY_MISSING /* whole file */ diff --git a/lib/xopendir.c b/lib/xopendir.c index a597e12..fb50aa5 100644 --- a/lib/xopendir.c +++ b/lib/xopendir.c @@ -1,3 +1,4 @@ +/* # xopendir.c: opendir and closedir with error checking. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ #include "config.h" diff --git a/lib/xrealloc.c b/lib/xrealloc.c index ab190e7..f476013 100644 --- a/lib/xrealloc.c +++ b/lib/xrealloc.c @@ -1,3 +1,4 @@ +/* # xrealloc.c: realloc with error checking. # # Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc. @@ -15,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ /* Don't include config.h or all our other usual includes, since diff --git a/lib/xrename.c b/lib/xrename.c index e8c941a..dee0772 100644 --- a/lib/xrename.c +++ b/lib/xrename.c @@ -1,3 +1,4 @@ +/* # xrename.c: conceptually rename with error checking. # # Copyright (C) 1992, 2011 Free Software Foundation, Inc. @@ -15,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ #include "config.h" diff --git a/lib/xstrdup.c b/lib/xstrdup.c index 06881c9..47a46d2 100644 --- a/lib/xstrdup.c +++ b/lib/xstrdup.c @@ -1,3 +1,4 @@ +/* # xstrdup.c: strdup with error checking. # # Copyright (C) 1992, 2004, 2011 Free Software Foundation, Inc. @@ -15,6 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +*/ #include "config.h" |