summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog1415
-rw-r--r--lib/GNUmakefile13
-rw-r--r--lib/atou.c34
-rw-r--r--lib/bb-list.c39
-rw-r--r--lib/bb-outline.c33
-rw-r--r--lib/bitmap.c39
-rw-r--r--lib/bounding-box.c33
-rw-r--r--lib/charcode.c33
-rw-r--r--lib/charspec.c33
-rw-r--r--lib/cmdline.c33
-rw-r--r--lib/concat.c33
-rw-r--r--lib/concat3.c33
-rw-r--r--lib/concat4.c33
-rw-r--r--lib/concat5.c33
-rw-r--r--lib/concatn.c35
-rw-r--r--lib/dir.c35
-rw-r--r--lib/dlsym.c56
-rw-r--r--lib/edge.c41
-rw-r--r--lib/encoding.c41
-rw-r--r--lib/extend-fname.c33
-rw-r--r--lib/file-input.c39
-rw-r--r--lib/file-output.c35
-rw-r--r--lib/filename.c33
-rw-r--r--lib/find-suffix.c36
-rw-r--r--lib/fix-num.c35
-rw-r--r--lib/float-ok.c33
-rw-r--r--lib/font.c45
-rw-r--r--lib/fontmap.c39
-rw-r--r--lib/hash.c41
-rw-r--r--lib/hexify.c33
-rw-r--r--lib/identity.c33
-rw-r--r--lib/integer-ok.c33
-rw-r--r--lib/libfile.c37
-rw-r--r--lib/line.c34
-rw-r--r--lib/list.c35
-rw-r--r--lib/logreport.c33
-rw-r--r--lib/make-prefix.c33
-rw-r--r--lib/make-suffix.c33
-rw-r--r--lib/math.c37
-rw-r--r--lib/now.c33
-rw-r--r--lib/numtoa.c33
-rw-r--r--lib/pathsrch.c53
-rw-r--r--lib/progname.c45
-rw-r--r--lib/rand.c33
-rw-r--r--lib/report.c34
-rw-r--r--lib/rm-suffix.c33
-rw-r--r--lib/safe-free.c33
-rw-r--r--lib/scaled-num.c35
-rw-r--r--lib/spline.c38
-rw-r--r--lib/statistics.c33
-rw-r--r--lib/str-lcase.c35
-rw-r--r--lib/str-list.c33
-rw-r--r--lib/str-to-bit.c33
-rw-r--r--lib/substring.c33
-rw-r--r--lib/varstring.c33
-rw-r--r--lib/vector.c39
-rw-r--r--lib/xcalloc.c33
-rw-r--r--lib/xmessage.c37
-rw-r--r--lib/xopendir.c33
-rw-r--r--lib/xrealloc.c33
-rw-r--r--lib/xrename.c33
-rw-r--r--lib/xstrdup.c33
62 files changed, 1102 insertions, 2464 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 0f3ff5d..7a5c861 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,1414 +1,3 @@
-Tue Dec 26 10:16:08 1995 Kathy Hargreaves <kathy@cs.umb.edu>
+DEPRECATED - USE ROOT CHANGELOG
- * identity.c (get_identity): Added.
-
-Sun Nov 26 12:47:00 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * bb-outline.c: (find_outline_bbs): Doc fix.
-
- * edge.c: (next_unmarked_outline_edge): Doc fix.
-
-Fri Nov 24 05:48:20 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * concat*.c: made arguments const_string's to conform to .h files.
- Call assert on the arguments, that they aren't NULL, because it
- makes strlen blow up if they are. Set answer to NULL, and only
- work on it if all the arguments are non-NULL.
-
-Thu Nov 23 09:08:00 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * font.c: (get_font): replaced find_tfm_filename with kpse_find_tfm.
-
-Thu Aug 24 16:00:46 1995 Karl Berry <karl@cs.umb.edu>
-
- * GNUmakefile (c_only): strstr is now in kpathsea.
-
-Sat May 27 13:52:19 1995 Karl Berry <karl@cs.umb.edu>
-
- * GNUmakefile (c_only): atou is in kpathsea.
-
-Fri Apr 14 15:56:43 1995 Karl Berry <karl@cs.umb.edu>
-
- * GNUmakefile (c_only): Remove xfseek and xftell.
-
-Mon Oct 24 19:04:34 1994 Karl Berry <karl@cs.umb.edu>
-
- * GNUmakefile (c_only): basename is in kpathsea now.
-
-Sun May 1 15:31:10 1994 Karl Berry (karl@cs.umb.edu)
-
- * vector.c (Vangle): Declare const.
-
-Thu Sep 30 10:13:45 1993 Karl Berry (karl@cs.umb.edu)
-
- * str-to-bit.c (string_to_bitmap): Call close_font.
-
-Sun Aug 1 09:56:42 1993 Karl Berry (karl@cs.umb.edu)
-
- * Most *.c: Include files now in kpathsea.
-
- * GNUmakefile (c_only): Add statistics, remove many things now in
- kpathsea.
-
-Tue Jul 27 09:24:08 1993 Karl Berry (karl@cs.umb.edu)
-
- * GNUmakefile (c_only): Remove dir-p and find-suffix (now in kpathsea).
-
-Fri May 21 13:45:30 1993 Karl Berry (karl@cs.umb.edu)
-
- * gmalloc.c (my_memmove): New routine, since ISC doesn't have a
- real memmove.
-
-Thu May 20 19:11:05 1993 Karl Berry (karl@cs.umb.edu)
-
- * gmalloc.c: New file from the malloc distribution (plus a few
- edits).
- * GNUmakefile (malloc): Define to be gmalloc, and toss the old
- malloc.c.
-
-Thu Apr 22 17:03:53 1993 Karl Berry (karl@cs.umb.edu)
-
- * remove-suffx.c (remove_suffix): If no suffix, return the string,
- not NULL.
-
-Tue Apr 6 19:58:45 1993 Karl Berry (karl@cs.umb.edu)
-
- * malloc.c (getpagesize.h): Do not include.
- (memalign, valloc): Remove, since we don't need them.
-
- * filename.c (find_tfm_filename): Call extend_filename to get the
- `.tfm', instead of just concatenating. Not sure if this is a good
- idea, but periods in font names are problematic all over, I think.
-
-Tue Mar 16 07:47:38 1993 Karl Berry (karl@cs.umb.edu)
-
- * fontmap.c (map_lookup): Don't extend the filename if there was
- no suffix.
-
-Wed Mar 3 06:20:09 1993 Karl Berry (karl@cs.umb.edu)
-
- * xftell.c (xftell): Declare as unsigned long.
-
-Mon Jan 18 15:43:02 1993 Karl Berry (karl@cs.umb.edu)
-
- * xrealloc.c: Doc fix.
-
-Sun Jan 3 19:36:39 1993 Karl Berry (karl@cs.umb.edu)
-
- * pathsrch.c (R_OK): Defined in the config files now.
-
-Fri Dec 11 15:00:31 1992 Karl Berry (karl@cs.umb.edu)
-
- * font.c (print_char): Change ctype references to use uppercase macros.
- * libfile.c (libfile_line),
- * pathsrch.c (absolute_p),
- * str-to-bit.c (string_to_bitmap),
- * float-ok.c (float_ok),
- * integer-ok.c (integer_ok),
- * charspec.c (xparse_charspec): Likewise.
-
-Sun Nov 29 17:05:40 1992 Karl Berry (karl@cs.umb.edu)
-
- * xmessage.c [X_DISPLAY_MISSING]: Conditionalize whole file.
-
- * numtoa.c (xdtoa): Rename from `dtoa', to avoid Linux conflict.
- (awasthi@cps.msu.edu)
-
-Tue Nov 17 09:25:58 1992 Karl Berry (karl@cs.umb.edu)
-
- * hexify.c: Doc fix.
-
-Mon Nov 16 16:08:39 1992 Karl Berry (karl@cs.umb.edu)
-
- * malloc.c (calloc): Complain if the malloc fails.
-
-Tue Oct 27 12:56:15 1992 Karl Berry (karl@cs.umb.edu)
-
- * Version 0.6.
-
-Sun Oct 25 06:26:42 1992 Karl Berry (karl@cs.umb.edu)
-
- * getopt.c: New version.
-
-Thu Oct 22 17:58:12 1992 Karl Berry (karl@cs.umb.edu)
-
- * make-suffix.c: Doc fix.
-
-Tue Oct 20 11:57:57 1992 Karl Berry (karl@cs.umb.edu)
-
- * filename.c (find_{gf,pk,tfm}_filename): Just concatenate the
- suffix onto the main font name, don't replace a suffix.
-
-Mon Oct 5 10:07:59 1992 Karl Berry (karl@cs.umb.edu)
-
- * report.c (report_file): New variable.
-
-Sun Oct 4 09:13:24 1992 Karl Berry (karl@cs.umb.edu)
-
- * bb-list.c: New file, from bb-outline.c.
- * GNUmakefile (c_only): Add it.
- * bb-outline.c: Change calls and decls for new improved names.
-
-Sat Oct 3 16:58:38 1992 Karl Berry (karl@cs.umb.edu)
-
- * bb-outline.c: Doc fix.
-
-Tue Sep 22 12:46:49 1992 Karl Berry (karl@cs.umb.edu)
-
- * malloc.c (realloc): abort if we can't malloc enough memory to do
- the realloc.
-
- * bitmap.c (bb_ensure_bounds): new routine.
- (extract_subbitmap): call it.
-
-Mon Sep 21 12:00:35 1992 Karl Berry (karl@cs.umb.edu)
-
- * malloc.c: define NO_NEW_HANDLER.
-
-Thu Sep 3 09:31:06 1992 Karl Berry (karl@hayley)
-
- * Version 0.5.
-
-Thu Aug 27 09:06:25 1992 Karl Berry (karl@hayley)
-
- * getopt.c: update from MIT.
-
-Mon Aug 24 15:50:03 1992 Karl Berry (karl@hayley)
-
- * rand.c (k_rand): use Ghostscript's algorithm exactly, to avoid
- overflow problems.
-
- * rand.c (seed_rand): Our simplification was a loser if the
- state ever became zero, so set the state to the seed + 1, and
- subtract again before output.
-
-Wed Aug 19 07:10:12 1992 Karl Berry (karl@hayley)
-
- * charspec.c: doc fix.
-
-Mon Aug 17 15:43:42 1992 Karl Berry (karl@hayley)
-
- * encoding.c: doc fix.
-
-Mon Aug 10 11:11:52 1992 Karl Berry (karl@hayley)
-
- * rand.c (x): change the default seed to 1.
-
-Mon Jul 27 15:29:33 1992 Karl Berry (karl@hayley)
-
- * charspec.c (xparse_charspec): use an `int' while figuring out
- the charcode.
-
-Sat Jul 25 14:38:23 1992 Karl Berry (karl@hayley)
-
- * getopt.c: new version.
-
- * pathsrch.c (expand_tilde): cast the result of getpwnam.
-
-Sat Jul 18 16:35:41 1992 Karl Berry (karl@hayley)
-
- * edge.c: add ^L's.
-
-Fri Jul 3 15:26:12 1992 Karl Berry (karl@hayley)
-
- * charspec.c (xparse_charspec): if arg is one character long, and
- undefined in the encoding, use its value in C.
-
-Fri Jun 26 16:53:39 1992 Karl Berry (karl@hayley)
-
- * charspec.c: new file.
- * GNUmakefile: add it.
-
-Thu Jun 25 07:04:49 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c (readable) [ENAMETOOLONG]: conditionalize the test
- for doing our own truncating, since it appears not all systems
- have ENAMETOOLONG.
-
-Sun Jun 14 08:11:32 1992 Karl Berry (karl@hayley)
-
- * font.c (get_font): remove computation of NCHARS (and reading of
- all the TFM chars).
-
- * str-lcase.c (str_to_lower): assert the arg is non-null.
-
-Sat Jun 13 16:28:08 1992 Karl Berry (karl@hayley)
-
- * libfile.c (libfile_start): return the FILE * we open.
-
-Sat Jun 13 13:52:30 1992 Kathy Hargreaves (kathy@hayley)
-
- * encoding.c (DEFAULT_ENCODING): moved to .h file.
-
-Sat Jun 13 09:24:12 1992 Karl Berry (karl@hayley)
-
- * encoding.c: include `str-lcase.h', not `str-casefold.h'.
-
- * xmessage.c (x_message): cast initializer in `popup_args' to
- avoid warning.
-
- * str-to-bit.c (string_to_bitmap): `TFM_FONT_PARAMETER' is now
- `TFM_FONTDIMEN'.
-
- * pathsrch.c (absolute_p): add parens to stop GCC 2's stupid warning.
-
- * encoding.c: change for new list fn names.
- * font.c: likewise.
-
- * list.c (new_list): rename to `list_init', and rewrite to use
- accessor macros.
- (append_element): rename to `list_append', and likewise rewrite.
- (list_free): new routine.
-
-Sun Jun 7 17:25:43 1992 Karl Berry (karl@hayley)
-
- * encoding.c (coding_scheme_to_filename): rewrite to avoid
- sentinel boolean, lowercasing the passed codingscheme more than
- once, etc.
-
- * str-casefold.c (str_to_lower): rewrite to use ? :.
- (str_to_upper): remove this.
- Rename to str-lcase.c.
- * GNUmakefile (c_only): change str-casefold to str-lcase.
-
-Sun Jun 7 14:39:09 1992 Kathy Hargreaves (kathy@hayley)
-
- * bb-outline.c (find_outline_bbs): don't calculate edge if it's an
- interior pixel.
-
- * bb-outline.c (find_outline_bbs): deleted avoiding finding a
- bounding box which corresponds to a counterform by not looking
- inside existing bounding boxes.
- Added finding the bounding box for a counterform (i.e., marking
- its edges) but not adding it to the list unless find_all is true.
- Changed find_all to find_inner.
-
-Sun Jun 7 08:55:31 1992 Karl Berry (karl@hayley)
-
- * GNUmakefile (c_only): add `str-to-bit'.
- * font.c (string_to_bitmap): extract the interword space out of
- the TFM information, instead of expecting it in the main font
- structure. Also, move this fn to its own file, `str-to-bit.c'.
-
- * float-ok.c (float_ok): don't accept the empty string, or just a
- sign, or just a sign and a `.', etc.
- * integer-ok.c (integer_ok): likewise.
-
-Thu Jun 4 08:11:36 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c (absolute_p): `k./' should not be considered
- explicitly relative.
-
-Tue Jun 2 11:40:32 1992 Karl Berry (karl@hayley)
-
- * encoding.c (encoding_number): don't crash if NAME is NULL.
-
-Mon Jun 1 15:16:15 1992 Karl Berry (karl@hayley)
-
- * GNUmakefile (c_only): add `integer-ok' and `float-ok'.
- * {integer,float}-ok.c: new files.
-
- * libfile.c (libfile_start): use extend_filename.
-
- * encoding.c (read_encoding_file): initialize the return structure
- after we know the file exists.
-
-Fri May 29 08:29:26 1992 Karl Berry (karl@hayley)
-
- * getopt*.c: new versions.
-
-Sat May 23 15:51:53 1992 Karl Berry (karl@hayley)
-
- * charcode.c (parse_charcode): ensure there are no extra
- characters at the end of the charcode; change return type to
- charcode_type.
- (xparse_charcode): change return type.
-
-Sat May 23 12:33:32 1992 Kathy Hargreaves (kathy@hayley)
-
- * str-casefold.c (str_to_lower): added variable `length'; put 0 at
- end of return string.
-
-Sat May 23 06:27:28 1992 Karl Berry (karl@hayley)
-
- * dir-p.c (leaf_dir_p): remove; `expand_subdir' now calls stat
- itself, for efficiency.
-
- * pathsrch.c (expand_subdir): rewrite to always look for subdirs.
- (initialize_path_list): check for the dir-ness of `foo' in
- `foo//'. This change makes symlinks under `foo' be considered.
-
- * pathsrch.c (add_directory): don't check for the arg being a
- directory.
- (initialize_path_list): check here for the directory-ness of a
- path element.
- (expand_subdir): check here, too.
-
- * pathsrch.c (expand_subdir): call closedir after we read the
- directory contents.
-
-Thu May 21 11:40:53 1992 Karl Berry (karl@hayley)
-
- * hexify.c (hexify): take a block of memory and a length, instead
- of a varstring.
-
-Tue May 19 16:43:43 1992 Kathy Hargreaves (kathy@hayley)
-
- * line.c (read_line): return a string if not at EOF.
-
-Sat May 16 21:22:57 1992 Kathy Hargreaves (kathy@hayley)
-
- * varstring.c (vs_concat): added.
-
-Fri May 15 10:22:27 1992 Karl Berry (karl@hayley)
-
- * getopt.c: new version.
-
-Thu May 14 22:05:10 1992 Karl Berry (karl@claude.cs.umb.edu)
-
- * rand.c (srand): -> seed_rand, to avoid header conflicts.
- (rand): -> k_rand, same reason.
-
-Sun May 10 10:05:36 1992 Karl Berry (karl@hayley)
-
- * encoding.c (coding_scheme_to_filename): don't xstrdup the return
- value.
- (DEFAULT_ENCODING): new macro.
-
-Fri May 8 15:38:38 1992 Karl Berry (karl@hayley)
-
- * pathshare from dvips.
-
-Thu May 7 16:44:14 1992 Karl Berry (karl@hayley)
-
- * GNUmakefile (c_only): add dlsym.
- * dlsym.c: new file.
-
-Wed May 6 10:08:09 1992 Karl Berry (karl@hayley)
-
- * bitmap.c (bitmap_find_transitions): don't look outside the
- current row when it's only one pixel long.
-
-Tue May 5 08:46:48 1992 Karl Berry (karl@hayley)
-
- * dir-p.c: doc fix.
-
-Sat May 2 07:51:53 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c (add_directory): use ?:.
-
-Thu Apr 30 08:52:34 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c (parse_envpath): expand the ~ here;
- (add_directory): not here.
-
- * pathsrch.c (expand_tilde): free space for the login name.
-
- * dir-p.c (leaf_dir_p): use stat, not xlstat, so we don't bomb
- out on missing directories in paths, and so we get info about
- the (potential) dir, not the link.
-
-Tue Apr 21 07:44:52 1992 Karl Berry (karl@hayley)
-
- * bitmap.c (bitmap_find_transitions): use XTALLOC1.
- * font.c (get_char): likewise.
-
-Mon Apr 20 08:35:23 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c: doc fix.
-
- * malloc.c: don't include config.h.
- (my_bzero, my_bcopy): new routines to simplify things.
-
-Sat Apr 18 12:22:29 1992 Kathy Hargreaves (kathy@hayley)
-
- * str-casefold.c: added.
-
- * encoding.c (coding_scheme_to_filename): compare case-folded
- versions of the coding scheme and the mapped scheme.
-
-Wed Apr 15 15:23:20 1992 Karl Berry (karl@hayley)
-
- * make-output.c: rename to `extend-fname.c'; rename the fn to
- `extend_filename'.
- * GNUmakefile (c_only): analogously.
-
-Wed Apr 15 13:20:11 1992 Kathy Hargreaves (kathy@hayley)
-
- * encoding.c (coding_scheme_to_filename): changed some variable
- names; added `mapped_coding' and set it to a second call to
- strtok with `mapping'.
-
-Tue Apr 14 13:46:45 1992 Karl Berry (karl@hayley)
-
- * scaled-num.c (scaled_to_real): as below.
-
-Sun Apr 12 15:06:58 1992 Karl Berry (karl@hayley)
-
- * scaled-num.c (real_to_scaled): simplify to just multiply the
- real by SCALED_UNITY.
-
-Fri Apr 10 16:36:33 1992 Karl Berry (karl@hayley)
-
- * concat.c: put concat[345] in separate files.
- * GNUmakefile (c_only): update.
-
- * filename.c: remove prefix/suffix routines.
- ({make-{output,prefix,suffix},remove-suffx,find-suffix}.c): new files.
- * GNUmakefile (c_only): update.
-
- * pathsrch.c (initialize_path_list): remove cwd_first_p.
- * filename.c (find_*_filename): change calls.
- * libfile.c (libfile_start): change call.
-
-Mon Apr 6 13:46:36 1992 Kathy Hargreaves (kathy@fosse)
-
- * encoding.c (encoding_scheme_to_filename): added.
-
-Fri Apr 3 13:17:22 1992 Karl Berry (karl@hayley)
-
- * rand.c: new file.
- * GNUmakefile (c_only): include it.
-
-Wed Apr 1 14:14:01 1992 Karl Berry (karl at hayley)
-
- * (pathshare from web2c)
-
- * filename.c (make_output_filename): don't duplicate the input
- string, just return it.
-
- * filename.c (remove_suffix): remove.
-
- * edge.c: new file.
- * GNUmakefile (c_only): add it.
- * bb-outline.c: remove edge stuff in favor of this new file.
-
-Tue Mar 31 13:35:51 1992 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_find_transitions): handle a row with a single
- black pixel at the end correctly.
-
-Sun Mar 29 10:58:27 1992 Karl Berry (karl at hayley)
-
- * xrealloc.c (xrealloc): cast the ptr.
-
- * file-input.c (get_n_bytes): had args switched to fatal.
-
- * bb-outline.c (is_outline_edge): remove the assertion that we're
- at a valid pixel, since it's half-implied by the types, anyway.
-
- * GNUmakefile (malloc.o): remove the special rule and vars.
- * malloc.c [STDC_HEADERS | USG]: add the former for memset etc.
-
-Sat Mar 28 07:49:09 1992 Karl Berry (karl at hayley)
-
- * malloc.c: new version, from libg++ 2.0.
-
- * GNUmakefile (malloc_stats): don't define this.
-
- * Version 0.4.
-
- * Change copyright years to 1992 only.
-
-Wed Mar 25 08:37:28 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (c_only): add fmod.
- * fmod.c: new file.
-
-Thu Mar 19 07:47:30 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c, libfile.c, filename.c: include paths.h.
-
- * pathsearch.c: rename to pathsrch.c; new version.
-
-Wed Mar 11 10:03:12 1992 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_find_transitions): handle the pixel at the end
- of the row specially, unfortunately.
-
-Tue Mar 10 12:17:09 1992 Kathy Hargreaves (kathy at hayley)
-
- * libfile.c (libfile_start): use find_suffix instead of finding a
- dot position.
-
-Mon Mar 9 16:42:49 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_stem_suffix): remove suffix from name before
- adding stem_suffix and putting suffix back on.
-
- * filename.c (make_stem_suffix): don't add a dot if no suffix.
-
- * filename.c (make_stem_suffix): added.
-
-Sun Mar 8 17:08:06 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_output_filename): put dot between NAME and
- DEFAULT_SUFFIX.
-
-Sun Mar 8 08:37:46 1992 Karl Berry (karl at fosse)
-
- * numtoa.c (dtoa): rename from ftoa.
-
- * strstr.c: new file.
- GNUmakefile (c_only): add strstr.
-
-Sat Mar 7 17:00:44 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (sizeless_font_name): removed.
-
-Sat Mar 7 13:21:33 1992 Karl Berry (karl at fosse)
-
- * xmessage.c: include xmessage.h.
-
- * GNUmakefile (c_only): remove statistics; we never use it.
-
- * pathsearch.c: add prototypes for the subroutines.
-
- * line.c: include line.h.
-
- * bb-outline.c (find_outlines_bbs): rename parameters to avoid
- shadow warnings.
-
-Sat Mar 7 09:14:00 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (files, headers, sources): replace with `c_and_h', etc.
-
- * scaled-num.c (print_scaled): use putchar instead of printf where
- possible.
-
-Wed Mar 4 10:40:02 1992 Karl Berry (karl at hayley)
-
- * filename.c (remove_suffix): don't include the `.' in what we
- return.
-
-Tue Mar 3 16:28:38 1992 Karl Berry (karl at hayley)
-
- * filename.c (find_suffix): new routine.
- (remove_suffix, make_output_filename, make_suffix): write in terms
- of it.
-
-Sun Mar 1 16:33:49 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_output_file): use concat instead of make_suffix.
-
-Sun Mar 1 15:17:28 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (files): add bb-outline.
-
-Sun Mar 1 14:48:41 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_output_file): added.
-
-Mon Feb 24 08:38:56 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (truncate_pathname): separate this out from `readable'.
-
- * concat.c dir-p.c file-p.c pathsearch.c xmalloc.c xopendir.c
- xrealloc.c xstat.c xstrdup.c: redo with (un)prototype macros.
-
-Wed Feb 19 10:00:35 1992 Karl Berry (karl at hayley)
-
- * varstring.c (vs_set_char): set the allocated field after we
- allocate more space.
-
- * hexify.c (hexify): add 'a' to each hex char to make it visible
- ASCII; shift the upper nybble down before adding.
-
-Mon Feb 17 07:38:27 1992 Karl Berry (karl at hayley)
-
- * filename.c (sizeless_font_name): new routine.
-
- * line.c (read_line): use vs_append_char, and generally simplify.
-
- * varstring.c (vs_append_char): don't append a null afterwards.
-
- * GNUmakefile (files): add it.
- * hexify.c: new file.
-
-Sun Feb 16 10:31:41 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (readable): keep track of the component lengths
- properly; do the second test on the new name, not the old.
-
-Sat Feb 15 16:10:30 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (READABLE): redo the macro as a function, and
- truncate the pathname if necessary.
-
-Fri Feb 14 07:26:35 1992 Karl Berry (karl at hayley)
-
- * varstring.c (vs_append_char): use VS_USED instead of strlen.
- (vs_init): initialize VS_USED to zero.
- (vs_set_char): set VS_USED.
- All routines: rename `VS_LENGTH to `VS_ALLOCATED'.
-
- * varstring.c (vs_free): new routine.
-
- * math.c (acosd): clear errno before testing it.
-
-Thu Feb 13 13:32:54 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (READABLE): call it readable if the error is
- ENAMETOOLONG; include <errno.h> and declare errno if that is
- undefined.
-
-Sun Feb 2 16:08:44 1992 Karl Berry (karl at hayley)
-
- * filename.c (find_{gf,pk}_filename): allocate enough space for
- the null sprintf writes.
-
-Sat Feb 1 14:53:39 1992 Karl Berry (karl at hayley)
-
- * filename.c (depath): remove.
-
- * pathsearch.c (initialize_path_list): subdirectories are now
- indicated by // terminating a path element, instead of as
- a separate envvar/path.
- * filename.c (find*filename): remove subdirectory stuff.
- * libfile.c (libfile_start): likewise.
-
-Mon Jan 20 11:09:10 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (depath): added this routine to take the path off the
- front of a filename.
-
- * filename.c (make_prefix): added this routine to add a prefix to
- a filename which may or may not be the full pathname.
-
-Wed Jan 15 16:57:36 1992 Kathy Hargreaves (kathy at hayley)
-
- * libfile.c (libfile_start): when FATAL, report `name', not it
- concatenated with the default suffix.
-
-Wed Jan 15 13:01:30 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (c_only): remove xchdir and xgetcwd, as we don't
- need them anymore.
- * pathsearch.c: changes from TeX.
-
-Wed Jan 15 11:59:56 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (find_*_filename): only free `name' if it's not the
- same string as `*_name'.
-
-Tue Jan 14 12:36:15 1992 Kathy Hargreaves (kathy at hayley)
-
- * bitmap.c (bitmap_find_transitions): make the last transition
- always imply a black-to-white transition, even if ROW's last
- pixel is black.
-
- * libfile.c (libfile_start): make FATAL2 report `name', not
- `filename' as the library file not found. Also, only add suffix
- to the library file name if it doesn't have one already.
-
-Sun Jan 12 16:29:11 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_suffix): copy suffix into new_s, not s.
-
-Sun Jan 12 14:57:24 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (check_subdir): add every existing subdirectory,
- even if it's not a leaf.
-
-Sun Jan 12 12:47:57 1992 Kathy Hargreaves (kathy at hayley)
-
- * libfile.c (libfile_start): don't prepend a dot to the suffix.
-
- * dir-p.c (dir_p): call stat instead of xstat.
-
-Sat Jan 11 15:01:02 1992 Karl Berry (karl at hayley)
-
- * filename.c (find_*_filename): set cwd_first_p.
-
- * pathsearch.c (initialize_path_list): take an additional
- argument, saying whether to search `.' first.
-
-Fri Jan 10 07:40:50 1992 Karl Berry (karl at hayley)
-
- * xgetcwd.c (xgetcwd) [GETWD_MISSING]: if it's not missing, use
- it.
-
- * filename.c (find_*_filename): only initialize the path lists
- once.
-
- * pathsearch.c (expand_colon): if env_path is null, return the
- default path.
-
- * file-input.c (MOVE_BACK): use xfseek.
-
- * filename.c (*_suffix): use strrchr instead of rpos.
-
- * varstring.c: change names to start with `vs'.
-
- * memory.c: split into various files.
-
- * math.c (adjacent_points): rename to `points_adjacent_p'.
-
- * math.c (find_bounds): use MAXDOUBLE and MINDOUBLE instead of
- MAXFLOAT and MINFLOAT.
-
- * filename.c (find_dpi): move to cmdline.c.
- (basename): move to basename.c.
-
-Thu Jan 9 08:57:39 1992 Karl Berry (karl at hayley)
-
- * convert.c: split into various files.
- * GNUmakefile: update.
-
- * cmdline.c (scan_integer_list): rename to `scan_unsigned_list'.
-
- * *.c: do not include global.h.
-
- * arith.c: split into `scaled-num.c' and `fix-num.c'.
- * GNUmakefile: update.
-
-Wed Jan 8 09:14:45 1992 Karl Berry (karl at hayley)
-
- * update copyright messages.
-
- * change `allocate to `xmalloc', `reallocate' to `xrealloc', and
- `string_copy' to `strdup'.
-
- * list.c: doc fix.
-
-Tue Jan 7 17:28:07 1992 Karl Berry (karl at hayley)
-
- * filename.c (expand_colon): don't put the default value at the
- end if we've already put it at the beginning.
-
-Thu Sep 12 11:06:58 1991 Karl Berry (karl at hayley)
-
- * malloc.c (malloc_sanity_check): new function.
-
- * bitmap.c (bitmap_find_transitions): rearrange logic for clarity.
-
- * malloc.c, getpagesize.h: new files.
- * GNUmakefile (c_only): add Doug Lea's malloc.
- (malloc_stats, malloc_inline): new variables.
- (malloc.o): rule to explicitly use them.
-
-Tue Jul 30 13:18:12 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * Version 0.3.
-
-Wed Jul 24 06:34:11 1991 Karl Berry (karl at hayley)
-
- * bitmap.c (concat_bitmaps): remove; it's only used in one program.
-
- * bitmap.c (new_bitmap): call it.
-
- * memory.c (xcalloc): new routine.
-
-Tue Jul 16 08:24:08 1991 Karl Berry (karl at hayley)
-
- * memory.c (allocate): don't do assignment inside if.
-
- * bitmap.c (bitmap_find_transitions): we don't need to look at the
- first black pixel twice.
-
-Fri Jun 28 09:09:59 1991 Karl Berry (karl at hayley)
-
- * font.c (close_font): only close the TFM file if the font is not
- bitmap-only.
-
-Sat Jun 15 09:51:45 1991 Karl Berry (karl at hayley)
-
- * font.c (get_font): set the new `tfm_font' and `tfm_filename'
- members.
-
- * {dirio,file-misc,file-open,filename,libfile}.c: change
- `checked_' to `x'.
-
-Tue Jun 11 16:46:25 1991 Karl Berry (karl at hayley)
-
- * font.c (get_char): use XTALLOC.
-
- * font.c (close_font): close the TFM file here, instead of in
- `get_font'.
-
-Sun Jun 9 13:23:59 1991 Karl Berry (karl at hayley)
-
- * font.c (string_to_bitmap): use `BITMAP_PIXEL (CHAR_BITMAP'...
- instead of `CHAR_BITMAP_PIXEL'.
-
-Thu Jun 6 07:30:07 1991 Karl Berry (karl at hayley)
-
- * All files: change to version 2 of the GPL.
-
-Sat Jun 1 16:00:03 1991 Kathy Hargreaves (kathy at hayley)
-
- * libfile.c (libfile_start): Don't concat a `.' to suffix if it's
- the empty string.
-
-Thu May 16 07:35:47 1991 Karl Berry (karl at hayley)
-
- * GNUmakefile (files): include `xmessage' (from xbce).
- * xmessage.c: new file.
-
-Sun Apr 21 17:38:48 1991 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_to_bb): declare the arg as const.
-
-Sun Apr 14 13:45:29 1991 Karl Berry (karl at hayley)
-
- * bitmap.c (print_bitmap): use `bitmap_to_bb' instead of
- `dimensions_to_bb'.
-
-Fri Apr 12 15:12:32 1991 Karl Berry (karl at hayley)
-
- * math.c: doc fix.
-
- * GNUmakefile (files): add `report' and `logreport'.
- * {log,}report.c: new files.
-
-Wed Apr 10 11:27:49 1991 Karl Berry (karl at hayley)
-
- * font.c (save_internal_font): omit needless casts.
-
-Mon Apr 8 07:57:20 1991 Karl Berry (karl at hayley)
-
- * font.c (ascender_part): move to ospace.
-
- * encoding.c (parse_encoding_line): make a copy of the character
- name, since the line gets freed.
-
- * encoding.c (read_encoding_file): reinitialize the character
- code, so we fill up the right array.
-
- * libfile.c (libfile_start): prepend the `.' to the suffix.
-
-Sun Apr 7 14:34:06 1991 Karl Berry (karl at hayley)
-
- * file-output.c (put_signed_four): declare this as a macro in the
- .h file.
-
-Thu Apr 4 07:03:36 1991 Karl Berry (karl at hayley)
-
- * font.c (get_char): don't allocate any space unless the character
- actually exists in the font.
-
-Mon Apr 1 07:57:58 1991 Karl Berry (karl at hayley)
-
- * {encoding,libfile}.c: new files.
- GNUmakefile (files): add them to the list.
-
-Sat Mar 23 16:42:39 1991 Karl Berry (karl at hayley)
-
- * font.c (delete_internal_font): free the memory for the internal
- font, and for the font name.
-
-Sat Mar 9 17:06:57 1991 Karl Berry (karl at hayley)
-
- * string.c: declare args to routines as const.
-
- * string.c (lowercasify): new routine.
-
-Thu Mar 7 07:33:05 1991 Karl Berry (karl at hayley)
-
- * Version 0.2.
-
-Mon Mar 4 15:06:59 1991 Karl Berry (karl at hayley)
-
- * font.c (delete_internal_font): new routine.
- (close_font): call it, thus preventing us from finding a font that
- has been closed.
-
-Mon Feb 25 15:58:21 1991 Karl Berry (karl at hayley)
-
- * font.c (get_font): use `tfm_...' instead of `..._tfm_...'; use
- `pk_...' instead of `..._pk_...'; use `gf_...' instead of
- `..._gf_...'.
-
-Sun Feb 24 15:34:36 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * math.c (int_distance): cast the arguments to `double'.
-
-Sun Feb 17 09:43:06 1991 Karl Berry (karl at hayley)
-
- * *.c: include config.h.
-
-Sat Feb 16 16:54:18 1991 Karl Berry (karl at hayley)
-
- * dirio.c (checked_lstat) [HAVE_SYMBOLIC_LINKS]: change
- conditional from being on S_ISLNK and S_IFLNK.
-
-Tue Jan 22 15:44:43 1991 Karl Berry (karl at hayley)
-
- * bitmap.c (extract_subbitmap): new routine from imgtogf.
-
-Fri Jan 18 08:14:23 1991 Karl Berry (karl at hayley)
-
- * vector.c (all routines): declare args to be const.
-
- * vector.c (Vabs): new routine.
-
-Tue Jan 15 15:29:38 1991 Karl Berry (karl at hayley)
-
- * spline.c (append_spline): use LAST_SPLINE_LIST_ELT.
-
- * spline.c (new_spline_list_array, free_spline_list_array,
- append_spline_list): new routines.
-
- * spline.c (append_spline_list): rename to concat_spline_lists.
-
-Sun Jan 13 09:48:56 1991 Karl Berry (karl at hayley)
-
- * font.c (bitmap_format_type): move to font.h.
-
- * file-output.c (put_n_bytes): give the arguments to fwrite in the
- correct order.
-
-Sat Jan 12 16:46:44 1991 Karl Berry (karl at hayley)
-
- * file-output.c (put_n_bytes): use fwrite to do all the bytes at
- one shot.
-
-Mon Jan 7 10:42:22 1991 Karl Berry (karl at hayley)
-
- * spline.c (evaluate_spline): no compiler bug anymore without
- temporaries (as of gcc 1.38).
-
-Sat Dec 29 17:43:40 1990 Karl Berry (karl at hayley)
-
- * spline.c (print_spline): make the output lines shorter.
-
-Wed Dec 26 15:13:26 1990 Karl Berry (karl at hayley)
-
- * math.c (find_bounds): use MAXFLOAT and MINFLOAT, instead of
- MAXDOUBLE and MINDOUBLE, since Sun's atof can't deal with
- the latter.
-
-Sun Dec 9 11:02:20 1990 Karl Berry (karl at hayley)
-
- * spline.c: doc fix.
-
- * dirio.c (getwd): close each directory after we read it.
-
- * filename.c (find_subdir_path_filename): use getwd instead of
- getcwd, and use checked_chdir.
-
- * dirio.c (checked_opendir, is_dir): make arguments be const strings.
-
- * dirio.c (checked_chdir, checked_stat, checked_lstat, getwd): new
- routines.
-
-Sat Nov 17 11:09:56 1990 Karl Berry (karl at hayley)
-
- * file-*.c: include the appropriate file-....h file.
-
- * math.c (distance): put this back; it's too annoying to call
- hypot with the x and y arguments.
-
-Thu Oct 18 15:00:32 1990 Karl Berry (karl at hayley)
-
- * filename.c (find_subdir_path_filename): initialize the list of
- subdirectories to the empty string.
-
-Wed Oct 17 17:54:40 1990 Karl Berry (karl at aten)
-
- * filename.c (find_subdir_path_filename): do not do strlen when
- the path is empty.
-
-Tue Oct 9 08:59:43 1990 Karl Berry (karl at hayley)
-
- * filename.c (find_dpi): don't crash if the argument doesn't have
- a `.' at all.
-
- * cmdline.c: new file.
- * GNUmakefile (files): add it.
-
-Mon Oct 8 09:08:30 1990 Karl Berry (karl at hayley)
-
- * filename.c (find_dpi): new routine.
-
-Wed Oct 3 07:33:07 1990 Karl Berry (karl at hayley)
-
- * filename.c (find_tfm_filename, find_pk_filename,
- find_gf_filename): new routines.
-
-Sat Sep 29 08:34:52 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (new_bitmap): don't use memset if the bitmap is null.
-
- * font.c (find_internal_font): use STREQ.
-
-Fri Sep 28 08:30:04 1990 Karl Berry (karl at hayley)
-
- * filename.c (next_component): return NULL after we've read all
- the directories in the list.
-
- * filename.c (next_component): omit the path separator from the
- returned directory.
-
-Thu Sep 27 11:45:36 1990 Karl Berry (karl at hayley)
-
- * font.c (DEFAULT_SUBDIR_PATH): new macro.
- (get_bitmap_font): try to open the PK and GF files using
- subdirectories if opening without them fails.
- (get_font): likewise, for the TFM file.
- * filename.c (get_subdir_path_filename): new routine.
- (next_component): new routine, replaces `find_components'.
-
-Fri Sep 21 09:15:28 1990 Karl Berry (karl at hayley)
-
- * dirio.o (is_dir): use S_ISDIR.
-
-Thu Sep 13 10:38:32 1990 Karl Berry (karl at hayley)
-
- * convert.c (parse_char_code): new routine to replace the
- PARSE_CHAR_CODE macro; return a status indicator.
- (xparse_char_code): like the above, but gives a fatal error.
-
-Wed Sep 12 18:19:13 1990 Karl Berry (karl at aten)
-
- * font.c (get_font): set `bitmap_only' to false.
- (save_internal_font): overwrite the old value if we're called with
- the same key twice.
-
-Sun Sep 9 07:10:29 1990 Karl Berry (karl at hayley)
-
- * convert.c: new file for some numeric conversions.
- * math.c: move atou to convert.c.
-
-Mon Sep 3 11:05:19 1990 Karl Berry (karl at hayley)
-
- * line.c (read_line): doc fix.
-
-Fri Aug 31 11:04:02 1990 Karl Berry (karl at hayley)
-
- * font.c (get_bitmap_font): new routine, taken from get_font.
-
-Thu Aug 30 16:32:25 1990 Karl Berry (karl at hayley)
-
- * file-misc.c (same_file_p): new function.
-
-Wed Aug 29 11:37:24 1990 Karl Berry (karl at hayley)
-
- * fileio.c: split up into several new files: file-open.c,
- file-input.c, file-output.c, file-misc.c.
-
-Thu Aug 23 07:26:58 1990 Karl Berry (karl at hayley)
-
- * filename.c (remove_suffix): new routine.
- (make_suffix): if the `.' is before a `/', it doesn't start the
- extension.
-
-Thu Aug 16 07:10:48 1990 Karl Berry (karl at hayley)
-
- * memory.c (safe_free): use fprintf instead of FATAL, so the core dump
- will happen.
-
-Thu Jul 26 06:53:33 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_find_transitions): new routine (from imgtogf).
-
-Wed Jul 25 08:20:12 1990 Karl Berry (karl at hayley)
-
- * string.c (concat5): new routine.
-
-Tue Jul 24 10:24:59 1990 Karl Berry (karl at hayley)
-
- * font.c (get_font): save the design size in points instead of
- pixels.
-
- * filename.c: new file.
- * fileio.c (find_path_filename): move there.
- * string.c (make_suffix): ditto.
-
- * font.c (get_char): retrieve the TFM width also.
-
-Mon Jul 16 07:30:33 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_to_bb): new routine.
-
-Thu Jul 12 06:01:16 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (copy_bitmap): don't use `new_bitmap', to avoid setting
- all the bits twice.
-
-Tue Jul 10 06:23:54 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (concat_bitmaps): new routine.
-
-Mon Jul 9 08:27:09 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (get_bitmap_bounding_box): delete this.
- (print_bitmap): use dimensions_to_bb.
-
- * bitmap.c (free_bitmap): don't free the bitmap if it's null.
-
- * bitmap.c (new_bitmap): use memset.
- (copy_bitmap): use memcpy if the bitmap's size is greater than
- zero.
-
-Sat Jul 7 18:22:55 1990 Karl Berry (karl at hayley)
-
- * memory.c (safe_free): dump core if we are freeing a null item.
-
-Fri Jul 6 14:21:07 1990 Karl Berry (karl at hayley)
-
- * bounding-box.c (bb_to_dimensions): ensure that the dimensions
- are nonnegative.
-
-Wed Jul 4 12:06:49 1990 Karl Berry (karl at hayley)
-
- * memory.c (allocate): dump core if we run out of memory.
- (reallocate): ditto.
-
- * bounding-box.c (dimensions_to_bb): don't subtract one from the
- width, so it will work with the GF routines.
- (bb_to_dimensions): use BB_WIDTH and BB_HEIGHT, instead of doing
- the subtraction out here.
-
- * bounding-box.c (update_bounding_box): new routine.
-
-Sun Jul 1 15:11:56 1990 Karl Berry (karl at hayley)
-
- * font.c (ascender_part): new routine.
-
-Tue Jun 26 11:27:15 1990 Karl Berry (karl at hayley)
-
- * spline.c (evaluate_spline): use temporaries in the computation
- to avoid a compiler bug.
-
- * vector.c (Padd, Pmult_scalar): remove definitions, since they
- are defined as macros now.
-
-Sun Jun 24 15:31:34 1990 Karl Berry (karl at claude)
-
- * font.c (get_font): don't check the checksums if either one is
- zero.
-
-Sat Jun 23 12:11:47 1990 Karl Berry (karl at hayley)
-
- * font.c (print_char): change precision for printing the row numbers.
-
-Tue Jun 19 11:50:52 1990 Karl Berry (karl at hayley)
-
- * fileio.c (move_to_byte): delete this.
-
- * fileio.c (cur_pos): rename to checked_ftell, and take a filename
- argument for perror.
-
-Mon Jun 18 12:47:17 1990 Karl Berry (karl at hayley)
-
- * font.c (find_internal_font): return a pointer to an
- internal_font_type, instead of a structure, and change callers.
- (get_font): if we have already saved the font, return it, instead
- of opening the files again.
-
-Mon Jun 4 16:20:32 1990 Karl Berry (karl at hayley)
-
- * math.c (find_bounds): use MAXDOUBLE and MINDOUBLE, instead of
- MAXFLOAT and MINFLOAT.
-
- * spline.c (spline_bounding_box): remove this routine.
-
-Sun Jun 3 10:51:28 1990 Karl Berry (karl at hayley)
-
- * arith.c, math.c, vector.c: add const declarations.
-
- * fileio.c (get_two, get_four): don't bother to initialize the
- variable before we read it.
-
- * fileio.c (get_n_bytes): improve the error message if the read
- fails.
-
-Sat Jun 2 07:51:08 1990 Karl Berry (karl at hayley)
-
- * bounding-box.c (increase_int_bound): remove this.
-
- * spline.c (print_spline): print different things for lines and
- splines.
-
-Wed May 30 16:02:26 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (new_bitmap): if the bitmap is going to be zero bits,
- don't try to allocate it.
-
- * font.c (get_font): figure out how many characters are in the
- font by testing the `exists' member of the TFM structure.
-
- * font.c (get_font): don't try to open the GF file if we couldn't
- find it.
-
-Tue May 22 09:51:20 1990 Karl Berry (karl at hayley)
-
- * fileio.c (find_path_filename): close the directories in the path.
-
-Sat May 19 10:30:39 1990 Karl Berry (karl at hayley)
-
- * fileio.c (find_path_filename): return NULL if we can't find the
- file, instead of the original name.
- * font.c (get_font): rewrite the file-opening code.
-
-Wed May 16 18:02:54 1990 Karl Berry (karl at aten)
-
- * font.c (string_to_bitmap): if the character doesn't exist in the
- font, don't crash.
-
- * fileio.c (find_path_filename): don't get a fatal error when a
- directory in the path doesn't exist.
-
-Sun May 13 13:45:12 1990 Karl Berry (karl at hayley)
-
- * dirio.c (is_dir): new routine.
-
- * fileio.c (find_path_filename): just return the name we're given
- if the path is relative; move the suffix concatenation out of the
- loop; search in subdirectories.
-
-Tue May 8 12:08:57 1990 Karl Berry (karl at hayley)
-
- * math.c: doc fix.
-
-Thu May 3 10:45:05 1990 Karl Berry (karl at hayley)
-
- * line.c (read_line): use VS_CHARS.
-
-Wed May 2 12:25:08 1990 Karl Berry (karl at claude)
-
- * font.c (string_to_bitmap): don't close the font when we're done.
-
-Wed Apr 25 13:16:28 1990 Karl Berry (karl at aten)
-
- * font.c (string_to_bitmap): don't asked for chars[x] when x is a
- character that isn't there.
-
-Tue Apr 24 18:35:08 1990 Karl Berry (karl at hayley)
-
- * math.c (real_to_int_coord): new routine.
-
-Sun Apr 22 06:42:37 1990 Karl Berry (karl at hayley)
-
- * font.c (string_to_bitmap): initialize char_y properly.
- [whoops, I mean test it properly, and initialize y.]
- Pass the row and column to BITMAP_PIXEL in the right order.
- Give the row and column to the constructor in the right order,
- too. Use MAX to find the depth, not MIN.
-
- * font.c (print_char): print the bitmap here, so we can print out
- the Cartesian row number, instead of calling `print_bitmap'.
-
-Sat Apr 21 09:49:42 1990 Karl Berry (karl at hayley)
-
- * fileio.c (get_n_bytes): use fread to read the whole block,
- instead of getting them one byte at a time.
-
-Thu Apr 19 16:19:33 1990 Karl Berry (karl at hayley)
-
- * font.c (get_font): do checksum test before getting the
- postamble.
-
-Tue Apr 17 16:53:31 1990 Karl Berry (karl at hayley)
-
- * font.c (print_char): new routine to print a text representation
- of a character.
-
-Mon Apr 16 11:12:28 1990 Karl Berry (karl at hayley)
-
- * font.c (get_font): get the design size from the TFM file,
- instead of the bitmap file.
-
-Sun Apr 15 07:34:19 1990 Karl Berry (karl at hayley)
-
- * font.c (get_font): do not set the font bounding box.
-
-Sat Apr 14 15:11:19 1990 Karl Berry (karl at hayley)
-
- * fileio.c (checked_fseek): make argument type be
- seek_direction_type.
-
- * fileio.c (checked_fclose): new (trivial) routine.
-
-Thu Apr 12 12:06:17 1990 Karl Berry (karl at hayley)
-
- * GNUmakefile: do not define USG and USGr3.
-
- * time.c: include <sys/types.h> and declare time(2) and ctime(3)
- using time_t.
-
- * fileio.c (find_path_filename): use access(2) instead of
- fopen(3); pass the default path to find_components.
- (find_components): use a default path if the environment variable
- doesn't exist.
-
-Mon Apr 9 08:19:53 1990 Karl Berry (karl at hayley)
-
- * math.c (distance): remove this, I came across hypot(3).
-
- * all files: upcase macro names.
-
-Sun Mar 18 14:58:23 1990 Kathy Hargreaves (kathy at hayley)
-
- * bounding_box.[hc] (increase_int_bound): added this to increase a
- bounding boxes bounds nicely, i.e., if the bound is negative, it
- gets decreased, and increased otherwise.
-
-Tue Feb 27 21:01:24 1990 Kathy Hargreaves (kathy at hayley)
-
- * fileio.c (get_n_bytes): don't try to read zero bytes.
-
-Wed Feb 7 17:00:47 1990 Karl Berry (karl at hayley)
-
- * time.c (now): chop off the trailing space.
-
-Mon Jan 29 12:46:56 1990 Karl Berry (karl at hayley)
-
- * bounding-box.c (bb_to_dimensions): new routine.
-
- * math.c (atou): like atoi but < 0 is a fatal error.
-
-Sun Jan 21 09:55:14 1990 Karl Berry (karl at hayley)
-
- * Makefile: rename to GNUmakefile.
-
- * bounding_box.c (dimensions_to_bounding_box): rename to
- dimensions_bb. Remove other conversion routines. And rename to
- bounding-box.c.
-
-Tue Oct 31 07:24:05 1989 Karl Berry (karl at hayley)
-
- * math.c (int_to_real_coordinate): remove this.
-
-Mon Oct 30 14:03:57 1989 Karl Berry (karl at hayley)
-
- * all files: add the copyleft.
-
- * string.c (concat4): define this.
-
-Sun Oct 29 18:37:33 1989 Karl Berry (karl at claude)
-
- * math.c (undefined_real_coordinate): remove this.
-
-Sat Oct 28 15:55:59 1989 Karl Berry (karl at hayley)
-
- * arith.c (real_to_scaled, real_to_fix): multiply the integer part
- by scaled_one and fix_one, respectively.
-
- * fileio.c (put_three): define this.
- (put_three, put_four): had the mask wrong for the
- low-order byte.
- (put_two, put_three, put_four): a & b >> c is
- a & (b >> c), not (a & b) >> c.
-
-Fri Oct 27 22:14:05 1989 Karl Berry (karl at hayley)
-
- * bitmap.c (new_bitmap): use the bitmap_dimensions macro.
-
-Sun Oct 8 15:41:01 1989 Karl Berry (karl at hayley)
-
- * math.c (epsilon_equal): new function to test if two values are
- within epsilon of each other.
- (acosd): changed to call that one.
-
- * bitmap.c (free_bitmap): new function to deallocate storage
- used in a bitmap_type.
-
- * math.c (acosd): normalize to 1.0 or -1.0 if the argument is
- within an epsilon of that anyway.
-
-Fri Oct 6 22:12:05 1989 Karl Berry (karl at hayley)
-
- * line.c (read_line): overwrite the newline at the end of the
- string with a null.
+For historical purposes you can view ChangeLog.old.
diff --git a/lib/GNUmakefile b/lib/GNUmakefile
index 4a03c9c..dcd8dd4 100644
--- a/lib/GNUmakefile
+++ b/lib/GNUmakefile
@@ -1,11 +1,11 @@
-# Makefile for the fontutils library.
+# GNUmakefile: Makefile for the fontutils library.
#
# Copyright (C) 1992, 1993, 2004, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,8 +13,9 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
library = lib
diff --git a/lib/atou.c b/lib/atou.c
index 6c1f972..6475e9d 100644
--- a/lib/atou.c
+++ b/lib/atou.c
@@ -1,20 +1,20 @@
-/* atou.c: like atoi, but if the number is negative, abort.
-
-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. */
+# atou.c: like atoi, but if the number is negative, abort.
+#
+# 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/bb-list.c b/lib/bb-list.c
index d556405..9aebba2 100644
--- a/lib/bb-list.c
+++ b/lib/bb-list.c
@@ -1,20 +1,21 @@
-/* bb-list.c: operations on bounding box lists.
+# bb-list.c: operations on bounding box lists.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -33,7 +34,7 @@ bb_list_init ()
return bb_list;
}
-
+
/* Append BB to BB_LIST. */
void
@@ -45,7 +46,7 @@ bb_list_append (bb_list_type *bb_list, bounding_box_type bb)
BB_LIST_ELT (*bb_list, BB_LIST_LENGTH (*bb_list) - 1) = bb;
}
-
+
/* Append the elements in the list B2 onto the end of B1. */
void
@@ -65,7 +66,7 @@ bb_list_splice (bb_list_type *b1, bb_list_type b2)
for (this_bb = 0; this_bb < BB_LIST_LENGTH (b2); this_bb++)
BB_LIST_ELT (*b1, BB_LIST_LENGTH (*b1)++) = BB_LIST_ELT (b2, this_bb);
}
-
+
/* Free the memory in a list. */
void
diff --git a/lib/bb-outline.c b/lib/bb-outline.c
index 72b46a1..c4ff16a 100644
--- a/lib/bb-outline.c
+++ b/lib/bb-outline.c
@@ -1,20 +1,21 @@
-/* bb-outline.c: find the bounding boxes enclosing outlines.
+# bb-outline.c: find the bounding boxes enclosing outlines.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/bitmap.c b/lib/bitmap.c
index 66e0213..4a8e2fb 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -1,20 +1,21 @@
-/* bitmap.c: operations on bitmaps.
+# bitmap.c: operations on bitmaps.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -131,7 +132,7 @@ bb_ensure_bounds (bounding_box_type *bb, bitmap_type source, string name)
MAX_COL (*bb) = BITMAP_HEIGHT (source) - 1;
}
}
-
+
/* The bounding boxes that we make in this routine are unlike the
bounding boxes used elsewhere. These are in bitmap coordinates, not
Cartesian, and they refer to pixels, not edges. So we have to adjust
@@ -145,7 +146,7 @@ bitmap_to_bb (const bitmap_type b)
return bb;
}
-
+
/* Return the (zero-based) column numbers in which ROW changes from
black to white or white to black. The first element marks a
white-to-black transition, and the last element marks a
@@ -230,7 +231,7 @@ bitmap_find_transitions (const one_byte *row, unsigned width)
vector[length - 1] = width + 1; /* Sentinel for the end of the vector. */
return vector;
}
-
+
/* Print a part of the bitmap in human-readable form. */
void
diff --git a/lib/bounding-box.c b/lib/bounding-box.c
index 46ad11b..88cb2a4 100644
--- a/lib/bounding-box.c
+++ b/lib/bounding-box.c
@@ -1,20 +1,21 @@
-/* bounding-box.c: definitions for bounding box operations.
+# bounding-box.c: definitions for bounding box operations.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/charcode.c b/lib/charcode.c
index 86158b5..6dc349a 100644
--- a/lib/charcode.c
+++ b/lib/charcode.c
@@ -1,20 +1,21 @@
-/* charcode.c: parse character code strings into their values.
+# charcode.c: parse character code strings into their values.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/charspec.c b/lib/charspec.c
index 986b549..864c8de 100644
--- a/lib/charspec.c
+++ b/lib/charspec.c
@@ -1,20 +1,21 @@
-/* charspec.c: parse a character code or name.
+# charspec.c: parse a character code or name.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/cmdline.c b/lib/cmdline.c
index 6d7a90d..393f7d3 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -1,20 +1,21 @@
-/* cmdline.c: routines to help in parsing command lines.
+# cmdline.c: routines to help in parsing command lines.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concat.c b/lib/concat.c
index b074a24..4db3a37 100644
--- a/lib/concat.c
+++ b/lib/concat.c
@@ -1,20 +1,21 @@
-/* concat.c: dynamic string concatenation.
+# concat.c: dynamic string concatenation.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concat3.c b/lib/concat3.c
index 263562d..0e55987 100644
--- a/lib/concat3.c
+++ b/lib/concat3.c
@@ -1,20 +1,21 @@
-/* concat3.c: concatenate three strings.
+# concat3.c: concatenate three strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concat4.c b/lib/concat4.c
index d4b6833..b77adfb 100644
--- a/lib/concat4.c
+++ b/lib/concat4.c
@@ -1,20 +1,21 @@
-/* concat4.c: concatenate four strings.
+# concat4.c: concatenate four strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concat5.c b/lib/concat5.c
index 7f6c4ed..6b3659d 100644
--- a/lib/concat5.c
+++ b/lib/concat5.c
@@ -1,20 +1,21 @@
-/* concat5.c: concatenate five strings.
+# concat5.c: concatenate five strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concatn.c b/lib/concatn.c
index f76d461..a4a7a36 100644
--- a/lib/concatn.c
+++ b/lib/concatn.c
@@ -1,20 +1,21 @@
-/* concatn.c: Concatenate an arbitrary number of strings.
+# concatn.c: Concatenate an arbitrary number of strings.
+#
+# Copyright (C) 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/>.
+#
-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 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. */
#include "config.h"
@@ -45,7 +46,7 @@ concatn PVAR1C(const_string, str1, ap)
return ret;
}}
-
+
#ifdef TEST
int
main ()
diff --git a/lib/dir.c b/lib/dir.c
index 290d316..fba4512 100644
--- a/lib/dir.c
+++ b/lib/dir.c
@@ -1,20 +1,21 @@
-/* dir.c: directory operations.
-
-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 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. */
+# dir.c: directory operations.
+#
+# Copyright (C) 1992, 1993, 1994, 1995, 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 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/dlsym.c b/lib/dlsym.c
index 66a3662..d2c1968 100644
--- a/lib/dlsym.c
+++ b/lib/dlsym.c
@@ -1,31 +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.
-
-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. */
+# dlsym.c: Stub interface to dynamic linker routines that SunOS uses but didn't
+# whip with 4.1.
+#
+# 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 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/>.
+#
+
+
+# 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.
void *dlopen()
{
diff --git a/lib/edge.c b/lib/edge.c
index a36cfa3..4759abc 100644
--- a/lib/edge.c
+++ b/lib/edge.c
@@ -1,20 +1,21 @@
-/* edge.c: operations on edges in bitmaps.
+# edge.c: operations on edges in bitmaps.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -35,7 +36,7 @@ typedef enum
static boolean is_marked_edge (edge_type, unsigned, unsigned, bitmap_type);
static boolean is_outline_edge (edge_type, bitmap_type, unsigned, unsigned);
static edge_type next_edge (edge_type);
-
+
/* The following macros are used (directly or indirectly) by the
`next_outline_edge' routine. */
@@ -100,7 +101,7 @@ static edge_type next_edge (edge_type);
break; \
} \
}
-
+
/* Finally, we are ready to implement the routine that finds the next
edge on the outline. We look first for an adjacent edge that is not
on the current pixel. We want to go around outside outlines
@@ -163,7 +164,7 @@ next_outline_edge (bitmap_type character, edge_type *edge,
if (*row == original_row && *col == original_col)
*edge = next_edge (*edge);
}
-
+
/* We return the next edge on the pixel at position ROW and COL which is
an unmarked outline edge. By ``next'' we mean either the one sent in
in STARTING_EDGE, if it qualifies, or the next such returned by
@@ -226,7 +227,7 @@ is_outline_edge (edge_type edge, bitmap_type character,
return 0; /* NOTREACHED */
}
-
+
/* If EDGE is not already marked, we mark it; otherwise, it's a fatal error.
The position ROW and COL should be inside the bitmap MARKED. EDGE can
be `no_edge'; we just return false. */
diff --git a/lib/encoding.c b/lib/encoding.c
index d969c50..3335dc4 100644
--- a/lib/encoding.c
+++ b/lib/encoding.c
@@ -1,20 +1,21 @@
-/* encoding.c: read a font encoding (.enc) file.
+# encoding.c: read a font encoding (.enc) file.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -26,7 +27,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
static encoding_char_type parse_encoding_line (string);
static tfm_ligature_type parse_ligature (void);
-
+
/* Look through INFO for NAME. */
int
@@ -44,7 +45,7 @@ encoding_number (encoding_info_type info, string name)
return -1;
}
-
+
/* Return the basename for the encoding file in which the encoding
CODING_SCHEME can be found. If we can't find CODING_SCHEME, return
DEFAULT_ENCODING. */
@@ -85,7 +86,7 @@ coding_scheme_to_filename (string coding_scheme)
return enc_name;
}
-
+
/* Parse the encoding file `FILENAME.enc' and return a structure
describing what we read. If the file doesn't exist, give a fatal
error. */
@@ -118,7 +119,7 @@ read_encoding_file (string filename)
return info;
}
-
+
/* Parse one line of the encoding file; this specifies one character.
The BNF is:
diff --git a/lib/extend-fname.c b/lib/extend-fname.c
index 2531e21..d6b9f5c 100644
--- a/lib/extend-fname.c
+++ b/lib/extend-fname.c
@@ -1,20 +1,21 @@
-/* extend-fname.c: give a filename a suffix, if necessary.
+# extend-fname.c: give a filename a suffix, if necessary.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/file-input.c b/lib/file-input.c
index c80e714..e554699 100644
--- a/lib/file-input.c
+++ b/lib/file-input.c
@@ -1,21 +1,22 @@
-/* file-input.c: file reading routines for binary files in BigEndian
- order, 2's complement representation.
+# file-input.c: file reading routines for binary files in BigEndian
+# order, 2's complement representation.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -89,7 +90,7 @@ get_n_bytes (unsigned n, FILE *f, string filename)
}
-
+
/* Reading backwards. This macro is shared among all the routines by assuming
the name `f' for the file pointer. */
@@ -134,7 +135,7 @@ get_previous_four (FILE *f, string filename)
}
-
+
/* Looking for specific values in the input. */
void
diff --git a/lib/file-output.c b/lib/file-output.c
index 7634ec8..e1874a8 100644
--- a/lib/file-output.c
+++ b/lib/file-output.c
@@ -1,21 +1,22 @@
-/* file-output.c: file writing routines for binary files in BigEndian
- order, 2's complement representation.
+# file-output.c: file writing routines for binary files in BigEndian
+# order, 2's complement representation.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/filename.c b/lib/filename.c
index ff7bab9..fbb750f 100644
--- a/lib/filename.c
+++ b/lib/filename.c
@@ -1,20 +1,21 @@
-/* filename.c: routines to manipulate filenames.
+# filename.c: routines to manipulate filenames.
+#
+# 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/>.
+#
-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, 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. */
#include "config.h"
#include "paths.h"
diff --git a/lib/find-suffix.c b/lib/find-suffix.c
index e2a03a1..23dc717 100644
--- a/lib/find-suffix.c
+++ b/lib/find-suffix.c
@@ -1,20 +1,21 @@
-/* find-suffix.c: return the stuff after a dot.
+# find-suffix.c: return the stuff after a dot.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -39,6 +40,3 @@ find_suffix P1C(const_string, name)
return slash_pos > dot_pos ? NULL : dot_pos + 1;
}
-
-
-
diff --git a/lib/fix-num.c b/lib/fix-num.c
index efd89d1..144d266 100644
--- a/lib/fix-num.c
+++ b/lib/fix-num.c
@@ -1,21 +1,22 @@
-/* fix-num.c: conversions on ``fixnums'', which are a 32-bit
- word with 20 bits of fraction.
+# fix-num.c: conversions on ``fixnums'', which are a 32-bit
+# word with 20 bits of fraction.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/float-ok.c b/lib/float-ok.c
index 160468c..eaffa24 100644
--- a/lib/float-ok.c
+++ b/lib/float-ok.c
@@ -1,20 +1,21 @@
-/* float-ok.c: test if a string is a valid floating-point number.
+# float-ok.c: test if a string is a valid floating-point number.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/font.c b/lib/font.c
index d8cb4b6..d5d88ac 100644
--- a/lib/font.c
+++ b/lib/font.c
@@ -1,20 +1,21 @@
-/* font.c: define (more or less) format-independent font operations.
+# font.c: define (more or less) format-independent font operations.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -58,7 +59,7 @@ typedef struct
static void delete_internal_font (string filename);
static internal_font_type *find_internal_font (string font_name);
static void save_internal_font (string font_name, internal_font_type);
-
+
/* Starting with FONT_NAME as the base filename, e.g., `cmr10', we try
various extensions to find a PK or GF file at resolution DPI. This
bitmap font defines the shapes of the characters. */
@@ -216,7 +217,7 @@ get_font (string font_name, unsigned dpi)
return font;
}
-
+
/* Close the files we have opened, for tidiness. */
void
@@ -250,7 +251,7 @@ close_font (string font_name)
delete_internal_font (font_name);
}
-
+
/* Look for the character numbered CODE in the font FONT_NAME. If it
doesn't exist, return NULL. Otherwise, fill in a `char_info_type'
structure and return a pointer to it.
@@ -305,7 +306,7 @@ get_char (string font_name, one_byte code)
return c;
}
-
+
/* Look for the character numbered CODE in the font FONT_NAME. If it
doesn't exist, return NULL. Otherwise, fill in a `raw_char_type'
structure and return a pointer to it.
@@ -351,7 +352,7 @@ free_raw_char (raw_char_type *raw_char)
free (RAW_CHAR_BYTES (*raw_char));
free (raw_char);
}
-
+
/* Print the character C to the file F, using ordinary characters. */
void
@@ -381,7 +382,7 @@ print_char (FILE *f, char_info_type c)
fprintf (f, "%3d\t%u\n", CHAR_MAX_ROW (c) - this_row, this_row);
}
}
-
+
/* We want to implement a typical key/value setup: here we are given the
key (FONT_NAME) and the value (F). We assign an index number to
FONT_NAME, and store it and F in parallel lists. If we are passed a
diff --git a/lib/fontmap.c b/lib/fontmap.c
index 59344d5..5d83e74 100644
--- a/lib/fontmap.c
+++ b/lib/fontmap.c
@@ -1,20 +1,21 @@
-/* fontmap.c: read a file for additional font names.
+# fontmap.c: read a file for additional font names.
+#
+# 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 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/>.
+#
-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 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. */
#include "config.h"
@@ -45,7 +46,7 @@ map_hash (key)
return n;
}
-
+
/* Look up STR in MAP. Return the corresponding `value' or NULL. */
static char *
@@ -97,7 +98,7 @@ map_lookup (map, key)
return ret;
}
-
+
/* If KEY is not already in MAP, insert it and VALUE. */
static void
@@ -124,7 +125,7 @@ map_insert (map, key, value)
(**trailer)->next = NULL;
}
}
-
+
/* Open and read the mapping file FILENAME, putting its entries into
MAP. Comments begin with % and continue to the end of the line. Each
line of the file defines an entry: the first word is the real
diff --git a/lib/hash.c b/lib/hash.c
index bd6dc87..a3138bc 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -1,20 +1,21 @@
-/* hash.c: hash table operations.
+# hash.c: hash table operations.
+#
+# Copyright (C) 1994, 1995, 1996, 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/>.
+#
-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 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. */
#include "config.h"
@@ -43,7 +44,7 @@ hash P2C(hash_table_type, table, const_string, key)
return n;
}
-
+
hash_table_type
hash_create P1C(unsigned, size)
{
@@ -59,7 +60,7 @@ hash_create P1C(unsigned, size)
return ret;
}
-
+
/* Whether or not KEY is already in MAP, insert it and VALUE. Do not
duplicate the strings, in case they're being purposefully shared. */
@@ -86,7 +87,7 @@ hash_insert P3C(hash_table_type *, table, const_string, key,
loc->next = new_elt; /* Insert the new one after. */
}
}
-
+
/* Look up STR in MAP. Return a (dynamically-allocated) list of the
corresponding strings or NULL if no match. */
@@ -138,7 +139,7 @@ hash_lookup P2C(hash_table_type, table, const_string, key)
return STR_LIST (ret);
}
-
+
/* We only print nonempty buckets, to decrease output volume. */
void
diff --git a/lib/hexify.c b/lib/hexify.c
index f949b68..3705d49 100644
--- a/lib/hexify.c
+++ b/lib/hexify.c
@@ -1,20 +1,21 @@
-/* hexify.c: change a binary string to ASCII hex characters.
+# hexify.c: change a binary string to ASCII hex characters.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/identity.c b/lib/identity.c
index d728c7d..b35c6f5 100644
--- a/lib/identity.c
+++ b/lib/identity.c
@@ -1,20 +1,21 @@
-/* identity.c.
+# identity.c:
+#
+# 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 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/>.
+#
-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 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. */
#include <stdio.h>
#include "c-proto.h"
diff --git a/lib/integer-ok.c b/lib/integer-ok.c
index 11a44a7..a7ffb81 100644
--- a/lib/integer-ok.c
+++ b/lib/integer-ok.c
@@ -1,20 +1,21 @@
-/* integer-ok.c: test if a string is a valid integer.
+# integer-ok.c: test if a string is a valid integer.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/libfile.c b/lib/libfile.c
index 525b2bc..7e123b7 100644
--- a/lib/libfile.c
+++ b/lib/libfile.c
@@ -1,20 +1,21 @@
-/* libfile.c: open and read a single auxiliary data file.
+# libfile.c: open and read a single auxiliary data file.
+#
+# 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/>.
+#
-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. */
#include "config.h"
#include "paths.h"
@@ -66,7 +67,7 @@ libfile_close ()
fclose (lib_file);
lib_file = NULL;
}
-
+
/* Return the name of the currently open file, or NULL if none. */
string
@@ -83,7 +84,7 @@ libfile_linenumber ()
{
return lib_file == NULL ? 0 : lib_file_line_number;
}
-
+
/* Return the next nonblank non-comment line from `lib_file', or NULL if
we are at EOF. Also remove any trailing comment on the line. */
diff --git a/lib/line.c b/lib/line.c
index 8d15772..4121ebb 100644
--- a/lib/line.c
+++ b/lib/line.c
@@ -1,20 +1,20 @@
-/* line.c: return the next line from a file, or NULL.
-
-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. */
+# line.c: return the next line from a file, or NULL.
+#
+# 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/list.c b/lib/list.c
index 8dcca72..508fb35 100644
--- a/lib/list.c
+++ b/lib/list.c
@@ -1,20 +1,21 @@
-/* list.c: simple list (represented as arrays) manipulation.
+# list.c: simple list (represented as arrays) manipulation.
+#
+# Copyright (C) 1992 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/>.
+#
-Copyright (C) 1992 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)
-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. */
#include "config.h"
@@ -48,7 +49,7 @@ list_free (list_type *list)
free (LIST_DATA (*list));
}
}
-
+
/* The list consists entirely of pointers to objects. We allocate the
space for the objects pointed to here, though, and return a pointer to
the newly-created final element in the list. */
diff --git a/lib/logreport.c b/lib/logreport.c
index ce202b5..3dd386d 100644
--- a/lib/logreport.c
+++ b/lib/logreport.c
@@ -1,20 +1,21 @@
-/* logreport.c: showing information to the user.
+# logreport.c: showing information to the user.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/make-prefix.c b/lib/make-prefix.c
index 9c73ead..a278e11 100644
--- a/lib/make-prefix.c
+++ b/lib/make-prefix.c
@@ -1,20 +1,21 @@
-/* make-prefix.c: construct a pathname prefix.
+# make-prefix.c: construct a pathname prefix.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/make-suffix.c b/lib/make-suffix.c
index aa32e85..bc8a851 100644
--- a/lib/make-suffix.c
+++ b/lib/make-suffix.c
@@ -1,20 +1,21 @@
-/* make-suffix.c: unconditionally add a filename suffix.
+# make-suffix.c: unconditionally add a filename suffix.
+#
+# 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/>.
+#
-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. */
#include "config.h"
#include "c-pathch.h"
diff --git a/lib/math.c b/lib/math.c
index 1aaa16c..f6cab57 100644
--- a/lib/math.c
+++ b/lib/math.c
@@ -1,20 +1,21 @@
-/* math.c: define some simple array operations, and other functions.
+# math.c: define some simple array operations, and other functions.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -123,8 +124,6 @@ points_adjacent_p (int row1, int col1, int row2, int col2)
}
-
-
/* Find the largest and smallest elements in an array of reals. */
void
@@ -149,7 +148,7 @@ find_bounds (real *values, unsigned value_count, real *min, real *max)
}
-
+
/* Map a range of numbers, some positive and some negative, into all
positive, with the greatest being at one and the least at zero.
diff --git a/lib/now.c b/lib/now.c
index cf87fb4..cb42e16 100644
--- a/lib/now.c
+++ b/lib/now.c
@@ -1,20 +1,21 @@
-/* time.c: the current date and time.
+# time.c: the current date and time.
+#
+# 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/>.
+#
-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. */
#include "config.h"
#include "c-time.h"
diff --git a/lib/numtoa.c b/lib/numtoa.c
index f9458e1..4c049d5 100644
--- a/lib/numtoa.c
+++ b/lib/numtoa.c
@@ -1,20 +1,21 @@
-/* numtoa.c: change numbers back to strings.
+# numtoa.c: change numbers back to strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/pathsrch.c b/lib/pathsrch.c
index 5982355..f75b9cf 100644
--- a/lib/pathsrch.c
+++ b/lib/pathsrch.c
@@ -1,24 +1,25 @@
-/* pathsrch.c: look for files based on paths, i.e., colon-separated
- lists of directories.
-
- We should allow % specifiers in the paths for the resolution, mode
- name, etc.
-
-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, 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. */
+# pathsrch.c: look for files based on paths, i.e., colon-separated
+# lists of directories.
+#
+# 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/>.
+#
+
+
+# We should allow % specifiers in the paths for the resolution, mode
+# name, etc.
#include "config.h"
@@ -42,7 +43,7 @@ static string *find_dir_list P1H(string);
static string readable P1H(string);
static void save_dir_list P2H(string, string *);
static string truncate_pathname P1H(string);
-
+
/* If FILENAME is absolute or explicitly relative (i.e., starts with
`/', `./', or `../'), or if DIR_LIST is null, we return whether
FILENAME is readable as-is. Otherwise, we test if FILENAME is in any of
@@ -195,7 +196,7 @@ absolute_p P1C(string, filename)
return absolute || explicit_relative;
}
-
+
/* Return a NULL-terminated array of directory names, each name ending
with PATH_SEP, created by parsing the PATH_DELIMITER-separated list
in the value of the environment variable ENV_NAME, or DEFAULT_PATH if
@@ -281,7 +282,7 @@ initialize_path_list P2C(string, env_name, string, default_path)
return dir_list;
}
-
+
/* Subroutines for `initialize_path_list'. */
/* Add a newly-allocated copy of DIR to the end of the array pointed to
@@ -380,7 +381,7 @@ expand_subdir (dir_list_ptr, dir_count_ptr, dirname)
closedir (dir);
}
-
+
/* These routines, while not strictly needed to be exported, are
plausibly useful to be called by outsiders. */
@@ -461,7 +462,7 @@ expand_tilde P1C(string, name)
return expansion;
#endif /* not (DOS or VMS or VM/CMS) */
}
-
+
/* Routines to save and retrieve a directory list keyed by the original
colon-separated path. This is useful because 1) it can take a
significant amount of time to discover all the subdirectories of a
diff --git a/lib/progname.c b/lib/progname.c
index 3221147..f8f964d 100644
--- a/lib/progname.c
+++ b/lib/progname.c
@@ -1,20 +1,21 @@
-/* progname.c: the executable name we were invoked as; general initialization.
+# progname.c: the executable name we were invoked as; general initialization.
+#
+# Copyright (C) 1994, 1996, 1997, 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/>.
+#
-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 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. */
#include "config.h"
#include "c-pathch.h"
@@ -52,7 +53,7 @@ string program_invocation_short_name = NULL;
#endif
/* And the variable for the program we pretend to be. */
string kpse_program_name = NULL;
-
+
/* Return directory for NAME. This is "." if NAME contains no directory
separators (should never happen for selfdir), else whatever precedes
the final directory separator, but with multiple separators stripped.
@@ -86,7 +87,7 @@ my_dirname P1C(const_string, name)
return ret;
}
-
+
#ifndef WIN32
/* From a standalone program `ll' to expand symlinks written by Kimbo Mundy.
Don't bother to compile if we don't have symlinks; thus we can assume
@@ -284,7 +285,7 @@ expand_symlinks (s)
#else /* not S_ISLNK */
#define expand_symlinks(s) (s)
#endif /* not S_ISLNK */
-
+
/* Remove .'s and ..'s in DIR, to avoid problems with relative symlinks
as the program name, etc. This does not canonicalize symlinks. */
@@ -353,7 +354,7 @@ remove_dots P1C(string, dir)
return ret;
#endif /* not AMIGA */
}
-
+
/* Return directory ARGV0 comes from. Check PATH if ARGV0 is not
absolute. */
@@ -424,7 +425,7 @@ selfdir P1C(const_string, argv0)
return ret;
}
#endif /* not WIN32 */
-
+
void
kpse_set_program_name P2C(const_string, argv0, const_string, progname)
{
@@ -592,7 +593,7 @@ kpse_set_progname P1C(const_string, argv0)
{
kpse_set_program_name (argv0, NULL);
}
-
+
#ifdef TEST
void
main (int argc, char **argv)
diff --git a/lib/rand.c b/lib/rand.c
index ef1b169..660a099 100644
--- a/lib/rand.c
+++ b/lib/rand.c
@@ -1,20 +1,21 @@
-/* rand.c: a simple pseudo-random number generator.
+# rand.c: a simple pseudo-random number generator.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/report.c b/lib/report.c
index 32efc96..53110ec 100644
--- a/lib/report.c
+++ b/lib/report.c
@@ -1,20 +1,20 @@
-/* report.c: showing information to the user online.
-
-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 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. */
+# report.c: showing information to the user online.
+#
+# 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 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/rm-suffix.c b/lib/rm-suffix.c
index dcf061b..326826c 100644
--- a/lib/rm-suffix.c
+++ b/lib/rm-suffix.c
@@ -1,20 +1,21 @@
-/* rm-suffix.c: remove any suffix.
+# rm-suffix.c: remove any suffix.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/safe-free.c b/lib/safe-free.c
index a5181ad..4d3a1f8 100644
--- a/lib/safe-free.c
+++ b/lib/safe-free.c
@@ -1,20 +1,21 @@
-/* safe-free.c: free with error checking.
+# safe-free.c: free 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/scaled-num.c b/lib/scaled-num.c
index 18a262b..2345877 100644
--- a/lib/scaled-num.c
+++ b/lib/scaled-num.c
@@ -1,21 +1,22 @@
-/* scaled-num.c: conversions on ``scaled'' numbers, which are a 32-bit
- word with 16 bits of fraction.
+# scaled-num.c: conversions on ``scaled'' numbers, which are a 32-bit
+# word with 16 bits of fraction.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/spline.c b/lib/spline.c
index e3a28c8..454f409 100644
--- a/lib/spline.c
+++ b/lib/spline.c
@@ -1,20 +1,21 @@
-/* spline.c: spline and spline list (represented as arrays) manipulation.
+# spline.c: spline and spline list (represented as arrays) manipulation.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -65,7 +66,6 @@ print_spline (FILE *f, spline_type s)
-
/* Evaluate the spline S at a given T value. This is an implementation
of de Casteljau's algorithm. See Schneider's thesis (reference in
../limn/README), p.37. The variable names are taken from there. */
@@ -94,7 +94,7 @@ evaluate_spline (spline_type s, real t)
-
+
/* Return a new, empty, spline list. */
spline_list_type *
@@ -171,7 +171,7 @@ concat_spline_lists (spline_list_type *s1, spline_list_type s2)
}
-
+
/* Return a new, empty, spline list array. */
spline_list_array_type
diff --git a/lib/statistics.c b/lib/statistics.c
index 9cba0a3..635b6ee 100644
--- a/lib/statistics.c
+++ b/lib/statistics.c
@@ -1,20 +1,21 @@
-/* statistics.c: find various statistics.
+# statistics.c: find various statistics.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/str-lcase.c b/lib/str-lcase.c
index 996114e..39c49bc 100644
--- a/lib/str-lcase.c
+++ b/lib/str-lcase.c
@@ -1,22 +1,21 @@
-/* str-casefold.c: make a string either all uppercase or all lowercase.
+# str-casefold.c: make a string either all uppercase or all lowercase.
+#
+# 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/>.
+#
-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 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,
-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 the GNU C Library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA. */
#include "config.h"
diff --git a/lib/str-list.c b/lib/str-list.c
index d39f155..a780d2b 100644
--- a/lib/str-list.c
+++ b/lib/str-list.c
@@ -1,20 +1,21 @@
-/* str-list.c: define routines for string lists.
+# str-list.c: define routines for string lists.
+#
+# 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 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/>.
+#
-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 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. */
#include "config.h"
diff --git a/lib/str-to-bit.c b/lib/str-to-bit.c
index 4ffdd7b..169c879 100644
--- a/lib/str-to-bit.c
+++ b/lib/str-to-bit.c
@@ -1,20 +1,21 @@
-/* str-to-bit.c: typeset a text string in some font, producing a bitmap.
+# str-to-bit.c: typeset a text string in some font, producing a bitmap.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/substring.c b/lib/substring.c
index a92215c..8733a24 100644
--- a/lib/substring.c
+++ b/lib/substring.c
@@ -1,20 +1,21 @@
-/* substring.c: copy a chunk from a string.
+# substring.c: copy a chunk from a string.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/varstring.c b/lib/varstring.c
index b84f67f..c759abc 100644
--- a/lib/varstring.c
+++ b/lib/varstring.c
@@ -1,20 +1,21 @@
-/* varstring.c: variable-length strings.
+# varstring.c: variable-length strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/vector.c b/lib/vector.c
index 6f7abf5..0a30532 100644
--- a/lib/vector.c
+++ b/lib/vector.c
@@ -1,20 +1,21 @@
-/* vector.c: vector/point operations.
+# vector.c: vector/point operations.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -49,7 +50,7 @@ vector_to_point (const vector_type v)
}
-
+
const real
magnitude (const vector_type v)
{
@@ -160,7 +161,7 @@ Vabs (const vector_type v)
}
-
+
/* Operations on points. */
/* This is a macro now. */
@@ -202,7 +203,7 @@ Psubtract (const real_coordinate_type c1, const real_coordinate_type c2)
}
-
+
/* Operations on integer points. */
const vector_type
diff --git a/lib/xcalloc.c b/lib/xcalloc.c
index b33f4d5..637d00c 100644
--- a/lib/xcalloc.c
+++ b/lib/xcalloc.c
@@ -1,20 +1,21 @@
-/* xcalloc.c: calloc with error checking.
+# xcalloc.c: calloc 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/xmessage.c b/lib/xmessage.c
index eeeae69..31fcf67 100644
--- a/lib/xmessage.c
+++ b/lib/xmessage.c
@@ -1,20 +1,21 @@
-/* xmessage.c: pop up a message for five seconds and then go away.
+# xmessage.c: pop up a message for five seconds and then go away.
+#
+# 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/>.
+#
-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. */
#ifndef X_DISPLAY_MISSING /* whole file */
@@ -29,7 +30,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
static void message_over (XtPointer, XtIntervalId *);
-
+
/* Make a popup child of the widget PARENT displaying the string S. We
pass the ARGS and N_ARGS parameters to the creation routine. */
@@ -89,7 +90,7 @@ x_warning (Widget parent, string s)
}
-
+
static void
message_over (XtPointer client_data, XtIntervalId *interval_id)
{
diff --git a/lib/xopendir.c b/lib/xopendir.c
index 14f6e7a..a597e12 100644
--- a/lib/xopendir.c
+++ b/lib/xopendir.c
@@ -1,20 +1,21 @@
-/* xopendir.c: opendir and closedir with error checking.
+# xopendir.c: opendir and closedir 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/xrealloc.c b/lib/xrealloc.c
index 057d889..ab190e7 100644
--- a/lib/xrealloc.c
+++ b/lib/xrealloc.c
@@ -1,20 +1,21 @@
-/* xrealloc.c: realloc with error checking.
+# xrealloc.c: realloc 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/>.
+#
-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. */
/* 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/xrename.c b/lib/xrename.c
index e60f02b..e8c941a 100644
--- a/lib/xrename.c
+++ b/lib/xrename.c
@@ -1,20 +1,21 @@
-/* xrename.c: conceptually rename with error checking.
+# xrename.c: conceptually rename 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/xstrdup.c b/lib/xstrdup.c
index 6feef4c..06881c9 100644
--- a/lib/xstrdup.c
+++ b/lib/xstrdup.c
@@ -1,20 +1,21 @@
-/* xstrdup.c: strdup with error checking.
+# xstrdup.c: strdup with error checking.
+#
+# 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 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/>.
+#
-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 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. */
#include "config.h"