diff --git a/src/libraries/libansi/strerror.c b/src/libraries/libansi/strerror.c index 7673b53bc87c86d27b50b773944637161c704a64..f70e0c4df3da9ffe17a3be711c2dbfab94b81323 100644 --- a/src/libraries/libansi/strerror.c +++ b/src/libraries/libansi/strerror.c @@ -1,6 +1,9 @@ /* ** strerror.c */ + +static char *rcsid = "$Id: strerror.c,v 0.3 1991/08/30 10:16:37 ceder Exp $"; + #include <m-config.h> #ifndef HAVE_STRERROR diff --git a/src/libraries/libcommon/kom-errno.c b/src/libraries/libcommon/kom-errno.c index 16d9a2954d3585d76ab1d460dd3edf607ce0540b..f9e2145bb9d238634c9222913d433267f50c854e 100644 --- a/src/libraries/libcommon/kom-errno.c +++ b/src/libraries/libcommon/kom-errno.c @@ -6,6 +6,8 @@ */ +static char *rcsid = "$Id: kom-errno.c,v 0.2 1991/08/30 10:16:57 ceder Exp $"; + #include <stdio.h> #include <config.h> diff --git a/src/libraries/libcommon/misc-parser.c b/src/libraries/libcommon/misc-parser.c index e32561b500373c0c374c0e6a4e7024b73b061008..46dd8ebc7170fb75bba33af6a5ebdab87df472c9 100644 --- a/src/libraries/libcommon/misc-parser.c +++ b/src/libraries/libcommon/misc-parser.c @@ -23,6 +23,7 @@ * even if so stated. */ +static char *rcsid = "$Id: misc-parser.c,v 0.2 1991/08/30 10:16:55 ceder Exp $"; #include "misc-parser.h" diff --git a/src/libraries/libcommon/misc-parser.h b/src/libraries/libcommon/misc-parser.h index f5b1b18796e4e71d9482d88f6ffb9c20c711d949..3627aae3a2f2219eb5d7757825fed4139faf9cf5 100644 --- a/src/libraries/libcommon/misc-parser.h +++ b/src/libraries/libcommon/misc-parser.h @@ -1,4 +1,6 @@ /* + * $Id: misc-parser.h,v 0.2 1991/08/30 10:16:54 ceder Exp $ + * * misc-parser.h * Parse a list of "misc-item":s for a text in LysKOM * diff --git a/src/libraries/libcommon/parser.c b/src/libraries/libcommon/parser.c index fd445f717c840aa2c5b723323bd1c10ecf488cd0..4c06142c0c05dc3a7d16884916517c0923fea543 100644 --- a/src/libraries/libcommon/parser.c +++ b/src/libraries/libcommon/parser.c @@ -23,6 +23,7 @@ */ +static char *rcsid = "$Id: parser.c,v 0.2 1991/08/30 10:16:53 ceder Exp $"; #include <stddef.h> diff --git a/src/libraries/libcommon/parser.h b/src/libraries/libcommon/parser.h index 922bb4416e9fe7ba4a42295f4ef54c3999e3aaff..8b46c4aa9d5278f1b2a9e44c3b06fa83f56e75ba 100644 --- a/src/libraries/libcommon/parser.h +++ b/src/libraries/libcommon/parser.h @@ -1,4 +1,6 @@ /* + * $Id: parser.h,v 0.2 1991/08/30 10:16:51 ceder Exp $ + * * client/parser.h -- Header file for LysKOM command parsing routines * * diff --git a/src/libraries/libmisc/numlist.c b/src/libraries/libmisc/numlist.c index fe5caa4ec988f6ed5701c15dcf966ed320bf53d6..f0cb67fd8d5eeba90fbf55d01c2dde7a12f681bd 100644 --- a/src/libraries/libmisc/numlist.c +++ b/src/libraries/libmisc/numlist.c @@ -9,6 +9,8 @@ * Three plus signs (+++) denote places where more work may be needed. */ +static char *rcsid = "$Id: numlist.c,v 0.2 1991/08/30 10:17:55 ceder Exp $"; + #include <stdio.h> #include <stdlib.h> diff --git a/src/libraries/libmisc/numlist.h b/src/libraries/libmisc/numlist.h index c0f4c0f94b20f52fc44b319bf52ee7f8965c7513..3d2153875150ebe658e295c1db3265bd1ad312ac 100644 --- a/src/libraries/libmisc/numlist.h +++ b/src/libraries/libmisc/numlist.h @@ -1,4 +1,6 @@ /* + * $Id: numlist.h,v 0.2 1991/08/30 10:17:54 ceder Exp $ + * * File: numlist.h * * A numlist is an ordered list of numbers. One of the big features diff --git a/src/libraries/libmisc/numlist2.c b/src/libraries/libmisc/numlist2.c index 2124a45400692a7ae1bdf578960744b3ddd5298c..e2fb56444b67cf49aa1fe55f77b93512e9b6cc57 100644 --- a/src/libraries/libmisc/numlist2.c +++ b/src/libraries/libmisc/numlist2.c @@ -6,6 +6,7 @@ * Author: Inge Wallin */ +static char *rcsid = "$Id: numlist2.c,v 0.2 1991/08/30 10:17:53 ceder Exp $"; #include <stdio.h> #include <stdlib.h> diff --git a/src/libraries/libmisc/numlist2.h b/src/libraries/libmisc/numlist2.h index da0a594120bd80d0535c2a8b4e2e0090803725ad..bb7fa692504389f3b3f154d22587127020735d33 100644 --- a/src/libraries/libmisc/numlist2.h +++ b/src/libraries/libmisc/numlist2.h @@ -1,4 +1,6 @@ /* + * $Id: numlist2.h,v 0.2 1991/08/30 10:17:52 ceder Exp $ + * * File: numlist2.h * * This file is supposed to be a reference while testing numlist. diff --git a/src/libraries/libmisc/pom.c b/src/libraries/libmisc/pom.c index 4b26fb2430adafa02233eecdd66be31979380f88..14504ffe9e782bcdb8acb95d45e32478c40e226d 100644 --- a/src/libraries/libmisc/pom.c +++ b/src/libraries/libmisc/pom.c @@ -6,6 +6,8 @@ * Modified by Thomas Bellman 1991-01-29 */ +static char *rcsid = "$Id: pom.c,v 1.2 1991/08/30 10:17:50 ceder Exp $"; + #include <sys/types.h> #include <time.h> #include <math.h> diff --git a/src/libraries/libmisc/pom.h b/src/libraries/libmisc/pom.h index f0f7c32d17f76a52befd8582ff0e19d56cfa8d98..565159d29fd6c244eacc791cbf7f0fcffb92b3c3 100644 --- a/src/libraries/libmisc/pom.h +++ b/src/libraries/libmisc/pom.h @@ -1,4 +1,6 @@ /* + * $Id: pom.h,v 1.1 1991/08/30 10:17:49 ceder Exp $ + * * pom.h * Calculate the phase of the moon at any given time. * diff --git a/src/libraries/libmisc/s-collat-tabs.c b/src/libraries/libmisc/s-collat-tabs.c index b16990a1c1b041c086830fca9759b7a9ca8b0b6b..5a0ad7444b43e07412a38ae07f8fa003fa0774c8 100644 --- a/src/libraries/libmisc/s-collat-tabs.c +++ b/src/libraries/libmisc/s-collat-tabs.c @@ -18,6 +18,7 @@ * email: Bellman@Lysator.LiU.SE */ +static char *rcsid = "$Id: s-collat-tabs.c,v 1.2 1991/08/30 10:17:48 ceder Exp $"; #include "s-collat-tabs.h" @@ -31,42 +32,124 @@ * letters are equal. */ - +/* + * swedish_collate_tab is now in ISO-8859-1. + */ char swedish_collate_tab [ COLLAT_TAB_SIZE ] = { - '\000', '\001', '\002', '\003', '\004', '\005', '\006', '\007', - '\010', '\011', '\012', '\013', '\014', '\015', '\016', '\017', - '\020', '\021', '\022', '\023', '\024', '\025', '\026', '\027', - '\030', '\031', '\032', '\033', '\034', '\035', '\036', '\037', - ' ', '!', '"', '#', '$', '%', '&', '\'', - '(', ')', '*', '+', ',', '-', '.', '/', - '0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', ':', ';', '<', '=', '>', '?', - '@', 'a', 'b', 'c', 'd', 'e', 'f', 'g', - 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', - 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', - 'x', 'y', 'z', '}', '{', '|', '~', '_', - '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g', - 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', - 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', - 'x', 'y', 'z', '}', '{', '|', '~', '', - 'Ä', 'Å', 'Ç', 'É', 'Ñ', 'Ö', 'Ü', 'á', - 'à', 'â', 'ä', 'ã', 'å', 'ç', 'é', 'è', - 'ê', 'ë', 'í', 'ì', 'î', 'ï', 'ñ', 'ó', - 'ò', 'ô', 'ö', 'õ', 'ú', 'ù', 'û', 'ü', - '†', '°', '¢', '£', '§', '•', '¶', 'ß', - '®', '©', '™', '´', '¨', '≠', 'Æ', 'Ø', - '∞', '±', '≤', '≥', '¥', 'µ', '∂', '∑', - '∏', 'π', '∫', 'ª', 'º', 'Ω', 'æ', 'ø', - '¿', '¡', '¬', '√', 'ƒ', '≈', '∆', '«', - '»', '…', ' ', 'À', 'Ã', 'Õ', 'Œ', 'œ', - '–', '—', '“', '”', '‘', '’', '÷', '◊', - 'ÿ', 'Ÿ', '⁄', '€', '‹', '›', 'fi', 'fl', - '‡', '·', '‚', '„', '‰', 'Â', 'Ê', 'Á', - 'Ë', 'È', 'Í', 'Î', 'Ï', 'Ì', 'Ó', 'Ô', - '', 'Ò', 'Ú', 'Û', 'Ù', 'ı', 'ˆ', '˜', - '¯', '˘', '˙', '˚', '¸', '˝', '˛', 'ˇ' + /* NU SH SX EX ET EQ AK BL */ + 0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007, + + /* BS HT LF VT FF CR SO SI */ + 0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017, + + /* DL D1 D2 D3 D4 NK SY EB */ + 0020, 0021, 0022, 0023, 0024, 0025, 0026, 0027, + + /* CN EM SB EC FS GS RS US */ + 0030, 0031, 0032, 0033, 0034, 0035, 0036, 0037, + + /* # $ */ + /* SP ! " Nb DO % & ' */ + 0040, 0041, 0042, 0043, 0044, 0045, 0046, 0047, + + /* ( ) * + , - . / */ + 0050, 0051, 0052, 0053, 0054, 0055, 0056, 0057, + + /* 0 1 2 3 4 5 6 7 */ + 0060, 0061, 0062, 0063, 0064, 0065, 0066, 0067, + + /* 8 9 : ; < = > ? */ + 0070, 0071, 0072, 0073, 0074, 0075, 0076, 0077, + + /* @ */ + /* At A B C D E F G */ + 0100, 0101, 0102, 0103, 0104, 0105, 0106, 0107, + + /* H I J K L M N O */ + 0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117, + + /* P Q R S T U V W */ + 0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127, + + /* [ \ ] ^ */ + /* X Y Z <( // )> '> _ */ + 0130, 0131, 0132, 0134, 0135, 0133, 0136, 0137, + + /* ` */ + /* '! a b c d e f g */ + /* 0140, 0141, 0142, 0143, 0144, 0145, 0146, 0147, */ + 0140, 0101, 0102, 0103, 0104, 0105, 0106, 0107, + + /* h i j k l m n o */ + /* 0150, 0151, 0152, 0153, 0154, 0155, 0156, 0157, */ + 0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117, + + /* p q r s t u v w */ + /* 0160, 0161, 0162, 0163, 0164, 0165, 0166, 0167, */ + 0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127, + + /* { | } ~ */ + /* x y z (! !! !) '? DT */ + /* 0170, 0171, 0172, 0173, 0174, 0175, 0176, 0177, */ + 0130, 0131, 0132, 0134, 0135, 0133, 0176, 0177, + + /* PA HO BH NH IN NL SA ES */ + 0200, 0201, 0202, 0203, 0204, 0205, 0206, 0207, + + /* HS HJ VS PD PU RI S2 S3 */ + 0210, 0211, 0212, 0213, 0214, 0215, 0216, 0217, + + /* DC P1 P2 TS CC MW SG EG */ + 0220, 0221, 0222, 0223, 0224, 0225, 0226, 0227, + + /* SS GC SC CI ST OC PM AC */ + 0230, 0231, 0232, 0233, 0234, 0235, 0236, 0237, + + /* NS !I Ct Pd Cu Ye BB SE */ + 0240, 0041, 0242, 0243, 0244, 0245, 0246, 0247, + + /* ': Co -a << NO -- Rg '- */ + 0250, 0251, 0252, 0253, 0254, 0255, 0256, 0257, + + /* DG +- 2S 3S '' My PI .M */ + 0260, 0261, 0262, 0263, 0264, 0265, 0266, 0267, + + /* ', 1S -o >> 14 12 34 ?I */ + 0270, 0271, 0272, 0273, 0274, 0275, 0276, 0277, + + /* A! A' A> A? A: AA AE C, */ + /* 0300, 0301, 0302, 0303, 0304, 0305, 0306, 0307, */ + 0101, 0101, 0101, 0101, 0134, 0133, 0134, 0103, + + /* E! E' E> E: I! I' I> I: */ + /* 0310, 0311, 0312, 0313, 0314, 0315, 0316, 0317, */ + 0105, 0105, 0105, 0105, 0111, 0111, 0111, 0111, + + /* D- N? O! O' O> O? O: *X */ + /* 0320, 0321, 0322, 0323, 0324, 0325, 0326, 0327, */ + 0320, 0116, 0117, 0117, 0117, 0117, 0135, 0052, + + /* O/ U! U' U> U: Y' TH ss */ + /* 0330, 0331, 0332, 0333, 0334, 0335, 0336, 0337, */ + 0135, 0125, 0125, 0125, 0131, 0131, 0336, 0337, + + /* a! a' a> a? a: aa ae c, */ + /* 0340, 0341, 0342, 0343, 0344, 0345, 0346, 0347, */ + 0101, 0101, 0101, 0101, 0134, 0133, 0134, 0103, + + /* e! e' e> e: i! i' i> i: */ + /* 0350, 0351, 0352, 0353, 0354, 0355, 0356, 0357, */ + 0105, 0105, 0105, 0105, 0111, 0111, 0111, 0111, + + /* d- n? o! o' o> o? o: -: */ + /* 0360, 0361, 0362, 0363, 0364, 0365, 0366, 0367, */ + 0360, 0116, 0117, 0117, 0117, 0117, 0135, 0057, + + /* o/ u! u' u> u: y' th y: */ + /* 0370, 0371, 0372, 0373, 0374, 0375, 0376, 0377, */ + 0135, 0125, 0125, 0125, 0131, 0131, 0376, 0377 }; diff --git a/src/libraries/libmisc/s-collat-tabs.h b/src/libraries/libmisc/s-collat-tabs.h index 0c47985f8d2455a02085358be6993a30bb3da125..d9897f61b51a62ecf02063d522468a1b170ef7ec 100644 --- a/src/libraries/libmisc/s-collat-tabs.h +++ b/src/libraries/libmisc/s-collat-tabs.h @@ -1,4 +1,6 @@ /* + * $Id: s-collat-tabs.h,v 1.1 1991/08/30 10:17:47 ceder Exp $ + * * s-collat-tables.h -- Declarations for collating tables * * diff --git a/src/libraries/libmisc/s-string.c b/src/libraries/libmisc/s-string.c index 7874163b6d62bdc94de51098df3cfb9434e69443..ed4fc160dae02dd3f23c33f0da4fc528bdeab4f3 100644 --- a/src/libraries/libmisc/s-string.c +++ b/src/libraries/libmisc/s-string.c @@ -22,6 +22,7 @@ * even if so stated. */ +static char *rcsid = "$Id: s-string.c,v 1.4 1991/08/30 10:17:45 ceder Exp $"; #include <sys/types.h> #include <stdio.h> @@ -471,7 +472,7 @@ s_strcmp (String str1, * works as if bitcopying a 2's complement nuber to an unsigned * number. * - * NOTE: This code might need to be modified for some arhitectures. + * NOTE: This code might need to be modified for some architectures. */ #define POS_INDEX(index) ((u_char)(index)) diff --git a/src/libraries/libmisc/s-string.h b/src/libraries/libmisc/s-string.h index 18a5b96228d326acda51e6c6caf32223ee9f4688..4241d6adf92eb7481f7484295f2e382428b5c6bd 100644 --- a/src/libraries/libmisc/s-string.h +++ b/src/libraries/libmisc/s-string.h @@ -1,4 +1,6 @@ /* + * $Id: s-string.h,v 1.3 1991/08/30 10:17:44 ceder Exp $ + * * s-string.h * Our own string type. Definition of string type, * and functions to manipulate these strings. diff --git a/src/libraries/libmisc/testnumlist.c b/src/libraries/libmisc/testnumlist.c index e63e154732a8f90777901d4febe4e3242719cf63..c29b6286f954d9ff55f6cf4c32113a0f22ccba48 100644 --- a/src/libraries/libmisc/testnumlist.c +++ b/src/libraries/libmisc/testnumlist.c @@ -1,3 +1,4 @@ +static char *rcsid = "$Id: testnumlist.c,v 0.2 1991/08/30 10:17:43 ceder Exp $"; #include <stdio.h> #include <stdlib.h> diff --git a/src/libraries/libmisc/zmalloc.c b/src/libraries/libmisc/zmalloc.c index 80a20070789245120d7da8acd95c6dc768a110f7..0defbf6e68f5bf4d7c540487fc41b83cb49774e7 100644 --- a/src/libraries/libmisc/zmalloc.c +++ b/src/libraries/libmisc/zmalloc.c @@ -24,6 +24,7 @@ */ +static char *rcsid = "$Id: zmalloc.c,v 1.1 1991/08/30 10:17:41 ceder Exp $"; #include <stddef.h> #include <malloc.h> diff --git a/src/libraries/libmisc/zmalloc.h b/src/libraries/libmisc/zmalloc.h index a11a8c256b6959ea832492097e8cd41d9425f52f..996f2d760ee718c121e7b536919c5d966fdedf95 100644 --- a/src/libraries/libmisc/zmalloc.h +++ b/src/libraries/libmisc/zmalloc.h @@ -1,4 +1,6 @@ /* + * $Id: zmalloc.h,v 1.1 1991/08/30 10:17:40 ceder Exp $ + * * zmalloc.h -- Memory allocation routines with reference counts * *