]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
autogen upgrade
authorHarlan Stenn <stenn@ntp.org>
Mon, 25 Sep 2006 05:53:46 +0000 (01:53 -0400)
committerHarlan Stenn <stenn@ntp.org>
Mon, 25 Sep 2006 05:53:46 +0000 (01:53 -0400)
bk: 45176eeahq9ttAY79dSHdb65WPGwIQ

92 files changed:
NEWS
clockstuff/clktest-opts.c
clockstuff/clktest-opts.h
libopts/autoopts.c
libopts/autoopts.h
libopts/autoopts/options.h
libopts/autoopts/usage-txt.h
libopts/boolean.c
libopts/compat/compat.h
libopts/compat/pathfind.c
libopts/compat/strchr.c
libopts/compat/windows-config.h
libopts/configfile.c
libopts/cook.c
libopts/enumeration.c
libopts/environment.c
libopts/genshell.c
libopts/genshell.h
libopts/load.c
libopts/m4/libopts.m4
libopts/m4/liboptschk.m4
libopts/makeshell.c
libopts/nested.c
libopts/numeric.c
libopts/pgusage.c
libopts/proto.h
libopts/putshell.c
libopts/restore.c
libopts/save.c
libopts/sort.c
libopts/stack.c
libopts/streqvcmp.c
libopts/text_mmap.c
libopts/tokenize.c
libopts/usage.c
libopts/version.c
ntpd/ntpd-opts.c
ntpd/ntpd-opts.h
ntpd/ntpd-opts.texi
ntpd/ntpd.1
ntpd/ntpdsim-opts.c
ntpd/ntpdsim-opts.h
ntpd/ntpdsim-opts.texi
ntpd/ntpdsim.1
ntpdc/ntpdc-opts.c
ntpdc/ntpdc-opts.h
ntpdc/ntpdc-opts.texi
ntpdc/ntpdc.1
ntpq/ntpq-opts.c
ntpq/ntpq-opts.h
ntpq/ntpq-opts.texi
ntpq/ntpq.1
sntp/libopts/autoopts.c
sntp/libopts/autoopts.h
sntp/libopts/autoopts/options.h
sntp/libopts/autoopts/usage-txt.h
sntp/libopts/boolean.c
sntp/libopts/compat/compat.h
sntp/libopts/compat/pathfind.c
sntp/libopts/compat/strchr.c
sntp/libopts/compat/windows-config.h
sntp/libopts/configfile.c
sntp/libopts/cook.c
sntp/libopts/enumeration.c
sntp/libopts/environment.c
sntp/libopts/genshell.c
sntp/libopts/genshell.h
sntp/libopts/load.c
sntp/libopts/m4/libopts.m4
sntp/libopts/m4/liboptschk.m4
sntp/libopts/makeshell.c
sntp/libopts/nested.c
sntp/libopts/numeric.c
sntp/libopts/pgusage.c
sntp/libopts/proto.h
sntp/libopts/putshell.c
sntp/libopts/restore.c
sntp/libopts/save.c
sntp/libopts/sort.c
sntp/libopts/stack.c
sntp/libopts/streqvcmp.c
sntp/libopts/text_mmap.c
sntp/libopts/tokenize.c
sntp/libopts/usage.c
sntp/libopts/version.c
sntp/sntp-opts.c
sntp/sntp-opts.h
sntp/sntp-opts.texi
util/ntp-keygen-opts.c
util/ntp-keygen-opts.h
util/ntp-keygen-opts.texi
util/ntp-keygen.1

diff --git a/NEWS b/NEWS
index cf9b9a75c56a36e25d97277a0992c9cea41179db..8b92efda5df98b375f71ae59da839d5d7af9479b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,12 @@
+* K&R C support is being deprecated.
 * [Bug 714] ntpq -p should conflict with -i, not -c.
 * WWV refclock improvements from Dave Mills.
 * [Bug 689] Deprecate HEATH GC-1001 II; the driver never worked.
-* [Bug 342] Deprecate broken TRAK refclock driver
-* [Bug 340] Deprecate broken MSF EES refclock driver
-* Support separate PPS devices for PARSE refclocks
-* [Bug 637, 51?] Dynamic interface scanning can now be done
-* Options processing now uses GNU AutoGen
+* [Bug 342] Deprecate broken TRAK refclock driver.
+* [Bug 340] Deprecate broken MSF EES refclock driver.
+* Support separate PPS devices for PARSE refclocks.
+* [Bug 637, 51?] Dynamic interface scanning can now be done.
+* Options processing now uses GNU AutoGen.
 \f
 (4.2.2p4) Released by Harlan Stenn <stenn@ntp.isc.org>
  * [Bug 710] compat getnameinfo() has off-by-one error
index 20077cc662014f24a250d1f7025bbf308cb83175..6c917eefb032e6d81df162faef8b667d64f87cce 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (clktest-opts.c)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 02:18:25 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:20 AM EDT
  *  From the definitions    clktest-opts.def
  *  and the template file   options
  */
@@ -36,7 +36,7 @@ tSCC zCopyright[] =
        "clktest copyright (c) 1970-2006 ntp.org, all rights reserved";
 tSCC zCopyrightNotice[] =
        
-/* extracted from /backroom/ntp-dev/include/copyright.def near line 8 */
+/* extracted from /deacon/backroom/ntp-dev/include/copyright.def near line 8 */
 "see html/copyright.html";
 extern tUsageProc optionUsage;
 
@@ -421,7 +421,7 @@ static tOptDesc optDesc[ OPTION_CT ] = {
  */
 tSCC   zPROGNAME[]   = "CLKTEST";
 tSCC   zUsageTitle[] =
-"clktest - test the clock line discipline - Ver. 4.2.3p49\n\
+"clktest - test the clock line discipline - Ver. 4.2.3p50\n\
 USAGE:  %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... <tty_device>\n";
 tSCC   zRcName[]     = ".ntprc";
 tSCC*  apzHomeList[] = {
@@ -606,6 +606,7 @@ doOptMagic1(
     tOptions*   pOptions,
     tOptDesc*   pOptDesc )
 {
+    /* extracted from clktest-opts.def, line 102 */
     unsigned long tmp;
 
     if (!atouint(pOptDesc->pzLastArg, &tmp)) {
@@ -629,6 +630,7 @@ doOptSpeed(
     tOptions*   pOptions,
     tOptDesc*   pOptDesc )
 {
+    /* extracted from clktest-opts.def, line 125 */
     /*
      * speed table
      */
@@ -680,6 +682,7 @@ doOptCrmod(
     tOptions*   pOptions,
     tOptDesc*   pOptDesc )
 {
+    /* extracted from clktest-opts.def, line 179 */
     ttflags |= CRMOD;
 }
 
index 4aeaeacb223a333c391483f67517f187e351e11b..542581bd8e770762c7f9eb59195a82a3260ebcef 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (clktest-opts.h)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 02:18:25 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:19 AM EDT
  *  From the definitions    clktest-opts.def
  *  and the template file   options
  */
@@ -67,8 +67,8 @@ typedef enum {
 } teOptIndex;
 
 #define OPTION_CT    13
-#define CLKTEST_VERSION       "4.2.3p49"
-#define CLKTEST_FULL_VERSION  "clktest - test the clock line discipline - Ver. 4.2.3p49"
+#define CLKTEST_VERSION       "4.2.3p50"
+#define CLKTEST_FULL_VERSION  "clktest - test the clock line discipline - Ver. 4.2.3p50"
 
 /*
  *  Interface defines for all options.  Replace "n" with the UPPER_CASED
index 712be238fd766c9238f1724f63a376a23e87c2d6..c0888508359937a733df39af51b3745c57d3c000 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: autoopts.c,v 4.24 2006/09/23 00:12:48 bkorb Exp $
+ *  $Id: autoopts.c,v 4.26 2006/09/24 02:10:44 bkorb Exp $
  *  Time-stamp:      "2006-09-22 18:21:53 bkorb"
  *
  *  This file contains all of the routines that must be linked into
@@ -1083,7 +1083,6 @@ optionProcess(
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/autoopts.c */
index e6fcd90bce912d7f5782f21031c86ed82a10716a..b7805fe745845a9ee807d0924c03ca6700f7f318 100644 (file)
@@ -2,7 +2,7 @@
 /*
  *  Time-stamp:      "2006-09-10 14:43:25 bkorb"
  *
- *  autoopts.h  $Id: autoopts.h,v 4.28 2006/09/23 00:12:48 bkorb Exp $
+ *  autoopts.h  $Id: autoopts.h,v 4.29 2006/09/24 02:10:45 bkorb Exp $
  *  Time-stamp:      "2005-02-14 05:59:50 bkorb"
  *
  *  This file defines all the global structures and special values
@@ -331,7 +331,6 @@ extern tOptProc optionPrintVersion, optionPagedUsage, optionLoadOpt;
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/autoopts.h */
index da129fd29adbb2e8f2a6b6cb98b605ba3ac95550..1dfc6f0d80417640da9e7e9f802f421ab3e3fa31 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (options.h)
  *  
- *  It has been AutoGen-ed  Friday September 22, 2006 at 06:21:59 PM PDT
+ *  It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:25 PM PDT
  *  From the definitions    funcs.def
  *  and the template file   options_h
  *
@@ -718,7 +718,7 @@ extern void optionUnloadNested( const tOptionValue* );
 extern char const* optionVersion( void );
 
 
-/* From: ../compat/pathfind.c line 33
+/* From: ../compat/pathfind.c line 34
  *
  * pathfind - fild a file in a list of directories
  *
index 849b8aa8080a67432b70e504d475f79dc968d060..8bc08065b8665b462950ef35e54d725549a2784c 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (usage-txt.h)
  *  
- *  It has been AutoGen-ed  Friday September 22, 2006 at 06:21:57 PM PDT
+ *  It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:22 PM PDT
  *  From the definitions    usage-txt.def
  *  and the template file   usage-txt.tpl
  *
@@ -183,7 +183,7 @@ extern usage_text_t option_usage_text;
   static char    eng_zGnuKeyLArg[] = "=Mbr";
   static char    eng_zGnuNumArg[] = "=num";
   static char    eng_zGnuStrArg[] = "=str";
-static const char usage_txt[3202] =
+static char const usage_txt[3202] =
     "AutoOpts function called without option descriptor\n\0"
     "\tThis exceeds the compiled library version:  \0"
     "Automated Options Processing Error!\n"
index ad80794a5ca0f117f0264693736493b66ea78c3e..7549113fe270bb76036e4ec0820357ced67c13fb 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: boolean.c,v 4.6 2006/03/25 19:23:28 bkorb Exp $
+ *  $Id: boolean.c,v 4.8 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:13:34 bkorb"
  *
  *   Automated Options Paged Usage module.
@@ -96,7 +96,6 @@ optionBooleanVal( tOptions* pOpts, tOptDesc* pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/boolean.c */
index 15ea0c6bc3208f5325e558dbd88500b692bb3fe5..38e38d58396926579685293e4315732cf74142cb 100644 (file)
@@ -7,7 +7,7 @@
  * Author:           Gary V Vaughan <gvaughan@oranda.demon.co.uk>
  * Created:          Mon Jun 30 15:54:46 1997
  *
- * $Id: compat.h,v 4.13 2006/09/16 19:58:35 bkorb Exp $
+ * $Id: compat.h,v 4.14 2006/09/24 02:10:45 bkorb Exp $
  */
 #ifndef COMPAT_H_GUARD
 #define COMPAT_H_GUARD 1
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of compat/compat.h */
index ab3d173bab92538c0463076ee169de73ad15741b..e74a8f63fe0c45ce07be5ac132244aa54c4f9ffe 100644 (file)
@@ -4,11 +4,12 @@
 
 /*
  * Author:           Gary V Vaughan <gvaughan@oranda.demon.co.uk>
+ * Time-stamp:       "2006-09-23 19:46:16 bkorb"
  * Created:          Tue Jun 24 15:07:31 1997
- * Last Modified:    $Date: 2006/09/23 00:48:05 $
+ * Last Modified:    $Date: 2006/09/24 02:57:02 $
  *            by: bkorb
  *
- * $Id: pathfind.c,v 4.8 2006/09/23 00:48:05 bkorb Exp $
+ * $Id: pathfind.c,v 4.10 2006/09/24 02:57:02 bkorb Exp $
  */
 
 /* Code: */
@@ -333,7 +334,6 @@ extract_colon_unit( char* pzDir, char const *string, int *p_index )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of compat/pathfind.c */
index ca8a517a89eaf77048384c461abe76d7c9b7e6dd..413f999ff934adc9aa651663681cc5435b67326f 100644 (file)
@@ -55,7 +55,6 @@ strrchr( char const *s, int c)
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of compat/strsignal.c */
index 359b17b69a4c5d25283c3658fad4f74472392e56..02f81160df450adf1e045acc758cdbc923d56c2c 100644 (file)
@@ -1,3 +1,9 @@
+
+/*
+ * Time-stamp:        "2006-09-23 19:44:29 bkorb"
+ *             by: bkorb
+ * Last Committed:    $Date: 2006/09/24 02:57:02 $
+ */
 #ifndef WINDOWS_CONFIG_HACKERY
 #define WINDOWS_CONFIG_HACKERY 1
 
index 64deccdd385145524a79cc0ca326168c02de01c0..bdde8de8055372561ab4c6faba9f6279c0907679 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  $Id: configfile.c,v 4.26 2006/09/23 00:12:48 bkorb Exp $
- *  Time-stamp:      "2006-09-22 18:01:50 bkorb"
+ *  $Id: configfile.c,v 4.28 2006/09/24 02:10:45 bkorb Exp $
+ *  Time-stamp:      "2006-09-24 15:18:51 bkorb"
  *
  *  configuration/rc/ini file handling.
  */
@@ -204,8 +204,8 @@ optionFindValue( const tOptDesc* pOptDesc,
 
     else do {
         tArgList* pAL = pOptDesc->optCookie;
-        int ct = pAL->useCt;
-        tCC** ppOV = pAL->apzArgs;
+        int    ct   = pAL->useCt;
+        void** ppOV = (void**)(pAL->apzArgs);
 
         if (ct == 0) {
             errno = ENOENT;
@@ -218,7 +218,7 @@ optionFindValue( const tOptDesc* pOptDesc,
         }
 
         while (--ct >= 0) {
-            const tOptionValue* pOV = (tOptionValue*)*(ppOV++);
+            const tOptionValue* pOV = *(ppOV++);
             const tOptionValue* pRV = optionGetValue( pOV, pzName );
 
             if (pRV == NULL)
@@ -281,8 +281,8 @@ optionFindNextValue( const tOptDesc* pOptDesc, const tOptionValue* pPrevVal,
 
     else do {
         tArgList* pAL = pOptDesc->optCookie;
-        int ct = pAL->useCt;
-        tCC** ppOV = pAL->apzArgs;
+        int    ct   = pAL->useCt;
+        void** ppOV = (void**)pAL->apzArgs;
 
         if (ct == 0) {
             errno = ENOENT;
@@ -290,7 +290,7 @@ optionFindNextValue( const tOptDesc* pOptDesc, const tOptionValue* pPrevVal,
         }
 
         while (--ct >= 0) {
-            tOptionValue* pOV = (tOptionValue*)*(ppOV++);
+            tOptionValue* pOV = *(ppOV++);
             if (foundOldVal) {
                 pRes = pOV;
                 break;
@@ -344,15 +344,15 @@ optionGetValue( const tOptionValue* pOld, char const* pzValName )
     pAL = pOld->v.nestVal;
 
     if (pAL->useCt > 0) {
-        int ct = pAL->useCt;
-        tCC** papOV = pAL->apzArgs;
+        int    ct    = pAL->useCt;
+        void** papOV = (void**)(pAL->apzArgs);
 
         if (pzValName == NULL) {
             pRes = (tOptionValue*)*papOV;
         }
 
         else do {
-            tOptionValue* pOV = (tOptionValue*)*(papOV++);
+            tOptionValue* pOV = *(papOV++);
             if (strcmp( pOV->pzName, pzValName ) == 0) {
                 pRes = pOV;
                 break;
@@ -405,11 +405,11 @@ optionNextValue( const tOptionValue* pOVList, const tOptionValue* pOldOV )
     }
     pAL = pOVList->v.nestVal;
     {
-        int   ct   = pAL->useCt;
-        tCC** papNV = pAL->apzArgs;
+        int    ct    = pAL->useCt;
+        void** papNV = (void**)(pAL->apzArgs);
 
         while (ct-- > 0) {
-            tOptionValue* pNV = (tOptionValue*)*(papNV++);
+            tOptionValue* pNV = *(papNV++);
             if (pNV == pOldOV) {
                 if (ct == 0) {
                     err = ENOENT;
@@ -461,14 +461,14 @@ filePreset(
         st.flags = OPTST_SET;
 
     do  {
-        while (isspace( *pzFileText ))  pzFileText++;
+        while (isspace( (int)*pzFileText ))  pzFileText++;
 
-        if (isalpha( *pzFileText )) {
+        if (isalpha( (int)*pzFileText )) {
             pzFileText = handleConfig( pOpts, &st, pzFileText, direction );
 
         } else switch (*pzFileText) {
         case '<':
-            if (isalpha( pzFileText[1] ))
+            if (isalpha( (int)pzFileText[1] ))
                 pzFileText = handleStructure(pOpts, &st, pzFileText, direction);
 
             else switch (pzFileText[1]) {
@@ -544,8 +544,8 @@ handleConfig(
     if (pzEnd == NULL)
         return pzText + strlen(pzText);
 
-    while (ISNAMECHAR( *pzText ))  pzText++;
-    while (isspace( *pzText )) pzText++;
+    while (ISNAMECHAR( (int)*pzText ))  pzText++;
+    while (isspace( (int)*pzText )) pzText++;
     if (pzText > pzEnd) {
     name_only:
         *pzEnd++ = NUL;
@@ -559,10 +559,10 @@ handleConfig(
      *  is an invalid format and we give up parsing the text.
      */
     if ((*pzText == '=') || (*pzText == ':')) {
-        while (isspace( *++pzText ))   ;
+        while (isspace( (int)*++pzText ))   ;
         if (pzText > pzEnd)
             goto name_only;
-    } else if (! isspace(pzText[-1]))
+    } else if (! isspace((int)pzText[-1]))
         return NULL;
 
     /*
@@ -626,7 +626,7 @@ handleDirective(
     size_t name_len;
 
     if (  (strncmp( pzText+2, zProg, title_len ) != 0)
-       || (! isspace( pzText[title_len+2] )) )  {
+       || (! isspace( (int)pzText[title_len+2] )) )  {
         pzText = strchr( pzText+2, '>' );
         if (pzText != NULL)
             pzText++;
@@ -640,8 +640,8 @@ handleDirective(
     do  {
         pzText += title_len;
 
-        if (isspace(*pzText)) {
-            while (isspace(*pzText))  pzText++;
+        if (isspace((int)*pzText)) {
+            while (isspace((int)*pzText))  pzText++;
             if (  (strneqvcmp( pzText, pOpts->pzProgName, (int)name_len) == 0)
                && (pzText[name_len] == '>'))  {
                 pzText += name_len + 1;
@@ -991,7 +991,7 @@ parseAttributes(
             break;
         }
 
-        while (isspace( *++pzText ))   ;
+        while (isspace( (int)*++pzText ))   ;
 
         if (strncmp( pzText, zLoadType, lenLoadType ) == 0) {
             pzText = parseValueType( pzText+lenLoadType, pType );
@@ -1046,7 +1046,7 @@ parseLoadMode(
         if (strncmp( pzText, zLoadCooked, len ) == 0) {
             if (  (pzText[len] == '>')
                || (pzText[len] == '/')
-               || isspace(pzText[len])) {
+               || isspace((int)pzText[len])) {
                 *pMode = OPTION_LOAD_COOKED;
                 return pzText + len;
             }
@@ -1059,7 +1059,7 @@ parseLoadMode(
         if (strncmp( pzText, zLoadUncooked, len ) == 0) {
             if (  (pzText[len] == '>')
                || (pzText[len] == '/')
-               || isspace(pzText[len])) {
+               || isspace((int)pzText[len])) {
                 *pMode = OPTION_LOAD_UNCOOKED;
                 return pzText + len;
             }
@@ -1072,7 +1072,7 @@ parseLoadMode(
         if (strncmp( pzText, zLoadKeep, len ) == 0) {
             if (  (pzText[len] == '>')
                || (pzText[len] == '/')
-               || isspace(pzText[len])) {
+               || isspace((int)pzText[len])) {
                 *pMode = OPTION_LOAD_KEEP;
                 return pzText + len;
             }
@@ -1113,7 +1113,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeString);
         if (strncmp( pzText, zLtypeString, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_STRING;
                 return pzText + len;
             }
@@ -1124,7 +1124,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeInteger);
         if (strncmp( pzText, zLtypeInteger, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_NUMERIC;
                 return pzText + len;
             }
@@ -1146,7 +1146,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeKeyword);
         if (strncmp( pzText, zLtypeKeyword, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_ENUMERATION;
                 return pzText + len;
             }
@@ -1157,7 +1157,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeSetMembership);
         if (strncmp( pzText, zLtypeSetMembership, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_MEMBERSHIP;
                 return pzText + len;
             }
@@ -1168,7 +1168,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeNest);
         if (strncmp( pzText, zLtypeNest, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_HIERARCHY;
                 return pzText + len;
             }
@@ -1190,7 +1190,7 @@ static char*
 skipUnknown( char* pzText )
 {
     for (;; pzText++) {
-        if (isspace( *pzText ))  return pzText;
+        if (isspace( (int)*pzText ))  return pzText;
         switch (*pzText) {
         case NUL: return NULL;
         case '/':
@@ -1273,7 +1273,6 @@ validateOptionsStruct( tOptions* pOpts, char const* pzProgram )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/configfile.c */
index 00503959a7aa36180e4aa6042241905a431be251..9685d0641664482bb3837ee9192886f67e7419e7 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
- *  $Id: cook.c,v 4.7 2006/09/23 00:12:48 bkorb Exp $
- *  Time-stamp:      "2006-06-24 11:29:58 bkorb"
+ *  $Id: cook.c,v 4.8 2006/09/24 02:10:45 bkorb Exp $
+ *  Time-stamp:      "2006-09-24 15:21:02 bkorb"
  *
  *  This file contains the routines that deal with processing quoted strings
  *  into an internal format.
@@ -106,7 +106,7 @@ ao_string_cook_escape_char( char const* pzIn, char* pRes, u_int nl )
     case 'v': *pRes = '\v'; break;
 
     case 'x':         /* HEX Escape       */
-        if (isxdigit( *pzIn ))  {
+        if (isxdigit( (int)*pzIn ))  {
             unsigned int  val;
             unsigned char ch = *pzIn++;
 
@@ -140,7 +140,7 @@ ao_string_cook_escape_char( char const* pzIn, char* pRes, u_int nl )
          *  IF the character copied was an octal digit,
          *  THEN set the output character to an octal value
          */
-        if (isdigit( *pRes ) && (*pRes < '8'))  {
+        if (isdigit( (int)*pRes ) && (*pRes < '8'))  {
             unsigned int  val = *pRes - '0';
             unsigned char ch  = *pzIn++;
 
@@ -239,7 +239,7 @@ ao_string_cook( char* pzScan, int* pLineCt )
             pzS++;
 
         scan_for_quote:
-            while (isspace(*pzS))
+            while (isspace((int)*pzS))
                 if (*(pzS++) == '\n')
                     (*pLineCt)++;
 
@@ -349,7 +349,6 @@ ao_string_cook( char* pzScan, int* pLineCt )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/cook.c */
index 29f624fa2b76a69c1a56f44eb02f386895ddf3cd..4586967c782f7e10f48dea6ec2777123041b1550 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: enumeration.c,v 4.12 2006/09/23 00:12:48 bkorb Exp $
+ *  $Id: enumeration.c,v 4.14 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:00:53 bkorb"
  *
  *   Automated Options Paged Usage module.
@@ -479,7 +479,6 @@ optionSetMembers(
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/enumeration.c */
index aacb253b0a2c581b198d72891d6b4bd712d22120..1ac3fe8ebd93ff75faeac84f8750b85d5fab4e32 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: environment.c,v 4.11 2006/09/23 00:12:48 bkorb Exp $
+ *  $Id: environment.c,v 4.12 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2005-10-29 13:23:59 bkorb"
  *
  *  This file contains all of the routines that must be linked into
@@ -255,7 +255,6 @@ doEnvPresets( tOptions* pOpts, teEnvPresetType type )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/environment.c */
index f7549c8817ae5c39be4e9934c31b060e559b90e6..7c5e12f74199065f0fc5c7dbe60fa167087074cf 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (genshell.c)
  *  
- *  It has been AutoGen-ed  Friday September 22, 2006 at 06:22:00 PM PDT
+ *  It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:26 PM PDT
  *  From the definitions    genshell.def
  *  and the template file   options
  */
index bbb8ec3c55974386712543c89f3518ac242d452c..44760b784d84863ba5ea4030b59521f873bbfeb4 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (genshell.h)
  *  
- *  It has been AutoGen-ed  Friday September 22, 2006 at 06:21:59 PM PDT
+ *  It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:26 PM PDT
  *  From the definitions    genshell.def
  *  and the template file   options
  */
index 18ea27f4dec2481306f02adf9c44009c4463468e..46ac97dc2d1da410d1111a96b5a4e8a0d7091206 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
- *  $Id: load.c,v 4.24 2006/09/23 00:12:48 bkorb Exp $
- *  Time-stamp:      "2006-07-01 12:43:03 bkorb"
+ *  $Id: load.c,v 4.25 2006/09/24 02:10:45 bkorb Exp $
+ *  Time-stamp:      "2006-09-24 15:23:01 bkorb"
  *
  *  This file contains the routines that deal with processing text strings
  *  for options, either from a NUL-terminated string passed in or from an
@@ -258,10 +258,10 @@ insertEnvVal(
     char* pzDir = pzBuf;
 
     for (;;) {
-        char ch = *++pzName;
+        int ch = (int)*++pzName;
         if (! ISNAMECHAR( ch ))
             break;
-        *(pzDir++) = ch;
+        *(pzDir++) = (char)ch;
     }
 
     if (pzDir == pzBuf)
@@ -293,16 +293,16 @@ mungeString( char* pzTxt, tOptionLoadMode mode )
     if (mode == OPTION_LOAD_KEEP)
         return;
 
-    if (isspace( *pzTxt )) {
+    if (isspace( (int)*pzTxt )) {
         char* pzS = pzTxt;
         char* pzD = pzTxt;
-        while (isspace( *++pzS ))  ;
+        while (isspace( (int)*++pzS ))  ;
         while ((*(pzD++) = *(pzS++)) != NUL)   ;
         pzE = pzD-1;
     } else
         pzE = pzTxt + strlen( pzTxt );
 
-    while ((pzE > pzTxt) && isspace( pzE[-1] ))  pzE--;
+    while ((pzE > pzTxt) && isspace( (int)pzE[-1] ))  pzE--;
     *pzE = NUL;
 
     if (mode == OPTION_LOAD_UNCOOKED)
@@ -352,9 +352,9 @@ assembleArgValue( char* pzTxt, tOptionLoadMode mode )
      *  because we'll have to skip over an immediately following ':' or '='
      *  (and the white space following *that*).
      */
-    space_break = isspace(*pzEnd);
+    space_break = isspace((int)*pzEnd);
     *(pzEnd++) = NUL;
-    while (isspace(*pzEnd))  pzEnd++;
+    while (isspace((int)*pzEnd))  pzEnd++;
     if (space_break && ((*pzEnd == ':') || (*pzEnd == '=')))
         pzEnd++;
 
@@ -377,7 +377,7 @@ loadOptionLine(
     tDirection  direction,
     tOptionLoadMode   load_mode )
 {
-    while (isspace( *pzLine ))  pzLine++;
+    while (isspace( (int)*pzLine ))  pzLine++;
 
     {
         char* pzArg = assembleArgValue( pzLine, load_mode );
@@ -514,7 +514,6 @@ optionLoadLine(
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/load.c */
index 3c9c214b7add982f54aebc85964fbafc779d1444..6fea8bfd753c0f6016187b51aaee8080dd27a1c3 100644 (file)
@@ -2,7 +2,7 @@ dnl  -*- buffer-read-only: t -*- vi: set ro:
 dnl 
 dnl DO NOT EDIT THIS FILE   (libopts.m4)
 dnl 
-dnl It has been AutoGen-ed  Friday September 22, 2006 at 06:22:01 PM PDT
+dnl It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:29 PM PDT
 dnl From the definitions    libopts.def
 dnl and the template file   conftest.tpl
 dnl
@@ -400,6 +400,9 @@ AC_DEFUN([INVOKE_LIBOPTS_MACROS],[
 
 dnl @synopsis  LIBOPTS_CHECK
 dnl
+dnl Time-stamp:        "2006-09-23 19:36:24 bkorb"
+dnl Last Committed:    $Date: 2006/09/24 02:57:02 $
+dnl
 dnl If autoopts-config works, add the linking information to LIBS.
 dnl Otherwise, add ``libopts-${ao_rev}'' to SUBDIRS and run all
 dnl the config tests that the library needs.  Invoke the
index 26f9c241e9b020ce1bfc01fd82c6f149e84f67ef..2c473a08ae15d5248edcfc6a19bfead3523c5114 100644 (file)
@@ -3,7 +3,10 @@ dnl Copyright (C) 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
-dnl
+
+dnl Time-stamp:        "2006-09-23 19:42:31 bkorb"
+dnl Last Committed:    $Date: 2006/09/24 02:57:02 $
+
 dnl This file can can be used in projects which are not available under
 dnl the GNU General Public License or the GNU Library General Public
 dnl License but which still want to provide support for the GNU gettext
index 36d3201d6dc641b502666c8a1622d58f4b329f6d..4051a27b580df3c0c9deeab4c6827b6d5a271745 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: makeshell.c,v 4.15 2006/09/23 00:12:48 bkorb Exp $
+ *  $Id: makeshell.c,v 4.17 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:19:24 bkorb"
  *
  *  This module will interpret the options set in the tOptions
@@ -1104,7 +1104,6 @@ genshelloptUsage( tOptions*  pOpts, int exitCode )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/makeshell.c */
index f4e665068d6e83e8a6854118b2ba3525c1636c4a..013b742c3161a281fba2cbef19cd2bc9230e7b5f 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
- *  $Id: nested.c,v 4.11 2006/09/23 00:12:48 bkorb Exp $
- *  Time-stamp:      "2006-09-22 18:14:12 bkorb"
+ *  $Id: nested.c,v 4.13 2006/09/24 02:10:45 bkorb Exp $
+ *  Time-stamp:      "2006-09-24 15:27:32 bkorb"
  *
  *   Automated Options Nested Values module.
  */
@@ -197,12 +197,12 @@ addBoolValue( void** pp, char const* pzName, size_t nameLen,
     pNV = AGALOC( sz, "option name/bool value pair" );
     if (pNV == NULL)
         return NULL;
-    while (isspace( *pzValue ) && (dataLen > 0)) {
+    while (isspace( (int)*pzValue ) && (dataLen > 0)) {
         dataLen--; pzValue++;
     }
     if (dataLen == 0)
         pNV->v.boolVal = 0;
-    else if (isdigit( *pzValue ))
+    else if (isdigit( (int)*pzValue ))
         pNV->v.boolVal = atoi( pzValue );
     else switch (*pzValue) {
     case 'f':
@@ -237,7 +237,7 @@ addNumberValue( void** pp, char const* pzName, size_t nameLen,
     pNV = AGALOC( sz, "option name/bool value pair" );
     if (pNV == NULL)
         return NULL;
-    while (isspace( *pzValue ) && (dataLen > 0)) {
+    while (isspace( (int)*pzValue ) && (dataLen > 0)) {
         dataLen--; pzValue++;
     }
     if (dataLen == 0)
@@ -300,9 +300,9 @@ scanNameEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
     size_t nameLen = 1;
     size_t dataLen = 0;
 
-    while (ISNAMECHAR( *pzScan ))  { pzScan++; nameLen++; }
+    while (ISNAMECHAR( (int)*pzScan ))  { pzScan++; nameLen++; }
 
-    while (isspace( *pzScan )) {
+    while (isspace( (int)*pzScan )) {
         char ch = *(pzScan++);
         if ((ch == '\n') || (ch == ',')) {
             addStringValue( &(pRes->v.nestVal), pzName, nameLen, NULL, 0 );
@@ -313,7 +313,7 @@ scanNameEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
     switch (*pzScan) {
     case '=':
     case ':':
-        while (isspace( *++pzScan ))  ;
+        while (isspace( (int)*++pzScan ))  ;
         switch (*pzScan) {
         case ',':  goto comma_char;
         case '"':
@@ -390,7 +390,7 @@ scanXmlEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
     tOptionValue  valu;
     tOptionValue* pNewVal;
 
-    if (! isalpha(*pzName)) {
+    if (! isalpha((int)*pzName)) {
         switch (*pzName) {
         default:
             pzName = NULL;
@@ -411,7 +411,7 @@ scanXmlEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
         return pzName;
     }
 
-    while (isalpha( *++pzScan ))  nameLen++;
+    while (isalpha( (int)*++pzScan ))  nameLen++;
     if (nameLen > 64)
         return NULL;
     valu.valType = OPARG_TYPE_STRING;
@@ -461,7 +461,7 @@ scanXmlEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
             return NULL;
         valLen = (pzScan - pzVal);
         pzScan += nameLen + 3;
-        while (isspace( *pzScan ))  pzScan++;
+        while (isspace(  (int)*pzScan ))  pzScan++;
     }
 
     switch (valu.valType) {
@@ -514,7 +514,7 @@ unloadNestedArglist( tArgList* pAL )
     tCC** ppNV = pAL->apzArgs;
 
     while (ct-- > 0) {
-        tOptionValue* pNV = (tOptionValue*)*(ppNV++);
+        tOptionValue* pNV = (tOptionValue*)(void*)*(ppNV++);
         if (pNV->valType == OPARG_TYPE_HIERARCHY)
             unloadNestedArglist( pNV->v.nestVal );
         free( pNV );
@@ -566,8 +566,8 @@ sortNestedList( tArgList* pAL )
      */
     for (ix = 0; ++ix < lm;) {
         int iy = ix-1;
-        tOptionValue* pNewNV = (tOptionValue*)pAL->apzArgs[ix];
-        tOptionValue* pOldNV = (tOptionValue*)pAL->apzArgs[iy];
+        tOptionValue* pNewNV = (tOptionValue*)(void*)(pAL->apzArgs[ix]);
+        tOptionValue* pOldNV = (tOptionValue*)(void*)(pAL->apzArgs[iy]);
 
         /*
          *  For as long as the new entry precedes the "old" entry,
@@ -576,7 +576,7 @@ sortNestedList( tArgList* pAL )
          */
         while (strcmp( pOldNV->pzName, pNewNV->pzName ) > 0) {
             pAL->apzArgs[iy+1] = (void*)pOldNV;
-            pOldNV = (tOptionValue*)pAL->apzArgs[--iy];
+            pOldNV = (tOptionValue*)(void*)(pAL->apzArgs[--iy]);
             if (iy < 0)
                 break;
         }
@@ -621,7 +621,7 @@ optionLoadNested( char const* pzTxt, char const* pzName, size_t nameLen,
         errno = EINVAL;
         return NULL;
     }
-    while (isspace( *pzTxt ))  pzTxt++;
+    while (isspace( (int)*pzTxt ))  pzTxt++;
     if (*pzTxt == NUL) {
         errno = ENOENT;
         return NULL;
@@ -649,8 +649,8 @@ optionLoadNested( char const* pzTxt, char const* pzName, size_t nameLen,
      *  Scan until we hit a NUL.
      */
     do  {
-        while (isspace( *pzTxt ))  pzTxt++;
-        if (isalpha( *pzTxt )) {
+        while (isspace( (int)*pzTxt ))  pzTxt++;
+        if (isalpha( (int)*pzTxt )) {
             pzTxt = scanNameEntry( pzTxt, pRes, mode );
         }
         else switch (*pzTxt) {
@@ -699,7 +699,6 @@ optionNestedVal( tOptions* pOpts, tOptDesc* pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/nested.c */
index d21c927e165fde1d39a981597837486ed6caaf3b..486981fb5cce4ac78362946c17b764328621b15e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: numeric.c,v 4.7 2006/03/25 19:23:28 bkorb Exp $
+ *  $Id: numeric.c,v 4.9 2006/09/24 02:10:45 bkorb Exp $
  *  Time-stamp:      "2006-09-22 18:14:38 bkorb"
  */
 
@@ -83,7 +83,6 @@ optionNumericVal( tOptions* pOpts, tOptDesc* pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/numeric.c */
index 61684555d7f8fa9edff4b9b68b924110777d3f73..85b558c0d9fafce0ca70f987680519f31ae30fc9 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: pgusage.c,v 4.12 2006/07/16 15:27:50 bkorb Exp $
+ *  $Id: pgusage.c,v 4.13 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-07-16 08:13:26 bkorb"
  *
  *   Automated Options Paged Usage module.
@@ -152,7 +152,6 @@ optionPagedUsage( tOptions* pOptions, tOptDesc* pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/pgusage.c */
index 55bf229b5f2ab0ceb275069e82d6155b4d568331..80f1d06e393dc25ed203b1974c7141f63268d9e4 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- buffer-read-only: t -*- vi: set ro:
  *
  * Prototypes for autoopts
- * Generated Fri Sep 22 18:22:00 PDT 2006
+ * Generated Sun Sep 24 15:28:27 PDT 2006
  */
 #ifndef AUTOOPTS_PROTO_H_GUARD
 #define AUTOOPTS_PROTO_H_GUARD 1
index b5b4d80ea24f31e91c2fcc83ec24691651f439ab..fda77eea75016ff8164fed0c08e1a0b25fe2cc46 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
- *  $Id: putshell.c,v 4.12 2006/07/16 15:27:50 bkorb Exp $
- * Time-stamp:      "2006-09-22 18:08:30 bkorb"
+ *  $Id: putshell.c,v 4.14 2006/09/24 02:10:45 bkorb Exp $
+ * Time-stamp:      "2006-09-24 15:28:15 bkorb"
  *
  *  This module will interpret the options set in the tOptions
  *  structure and print them to standard out in a fashion that
@@ -192,7 +192,7 @@ optionPutShell( tOptions* pOpts )
                 printf( "typeset -x -i %s_", pOD->pz_NAME );
                 pz += strspn( pz, " +\t\n\f" );
                 for (;;) {
-                    char ch = *(pz++);
+                    int ch = *(pz++);
                          if (islower( ch ))  fputc( toupper( ch ), stdout );
                     else if (isalnum( ch ))  fputc( ch, stdout );
                     else if (isspace( ch )
@@ -327,7 +327,6 @@ optionPutShell( tOptions* pOpts )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/putshell.c */
index ce788b3303c62cf41d5fef44a5280831b3f73aa6..0bd7e1f07f8b5fc7c5e27588af7a8055ab41a2ca 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  restore.c  $Id: restore.c,v 4.7 2006/03/25 19:23:28 bkorb Exp $
+ *  restore.c  $Id: restore.c,v 4.8 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2005-02-23 15:10:20 bkorb"
  *
  *  This module's routines will save the current option state to memory
@@ -201,7 +201,6 @@ optionFree( tOptions* pOpts )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/restore.c */
index 6aeb3b877065d2576c4c1cd9aec4f9bf81e9f3cd..6c5666e0c8b253033f2b6a67e2b8d0fbe664bfa7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  save.c  $Id: save.c,v 4.17 2006/09/23 00:09:48 bkorb Exp $
+ *  save.c  $Id: save.c,v 4.19 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:11:20 bkorb"
  *
  *  This module's routines will take the currently set options and
@@ -495,7 +495,6 @@ optionSaveFile( tOptions* pOpts )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/save.c */
index de0bd5634d1bfa997d7f71a81f343d0cacca5de8..3b5eafd427f941a25bf480345b430d6cb2df00aa 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  sort.c  $Id: sort.c,v 4.10 2006/06/24 23:34:51 bkorb Exp $
+ *  sort.c  $Id: sort.c,v 4.11 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-06-24 10:53:35 bkorb"
  *
  *  This module implements argument sorting.
@@ -363,7 +363,6 @@ optionSort( tOptions* pOpts )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/sort.c */
index a5eb00407957bee75fc90c57a3c369f52bf43b9f..fb78898e134e0484755f9bb85cffd8fbab7e12f6 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
  *  stack.c
- *  $Id: stack.c,v 4.10 2006/07/14 04:20:17 bkorb Exp $
+ *  $Id: stack.c,v 4.12 2006/09/24 02:10:45 bkorb Exp $
  *  Time-stamp:      "2006-09-22 18:13:19 bkorb"
  *
  *  This is a special option processing routine that will save the
@@ -259,7 +259,6 @@ optionStackArg(
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/stack.c */
index e16debd15e26fae4a4b51cd7960bc316f05fd3b2..257ce88404878f7804d751ffecb9982b17ee85b0 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: streqvcmp.c,v 4.11 2006/09/23 00:09:48 bkorb Exp $
+ *  $Id: streqvcmp.c,v 4.12 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-07-26 18:25:53 bkorb"
  *
  *  String Equivalence Comparison
@@ -284,7 +284,6 @@ strtransform( char* d, char const* s )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/streqvcmp.c */
index 3455fd5ec6f80b5aea094b0b39b415d4c17a3811..ef70a9c11985afec209627dc752d395fa1492213 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: text_mmap.c,v 4.15 2006/09/23 00:09:48 bkorb Exp $
+ * $Id: text_mmap.c,v 4.16 2006/09/24 02:10:45 bkorb Exp $
  *
  * Time-stamp:      "2006-09-10 14:50:04 bkorb"
  */
@@ -357,7 +357,6 @@ text_munmap( tmap_info_t* pMI )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/text_mmap.c */
index c1b4c9ba1e5b1fbe9bd6d75e754ae6f453f1f613..0e576ce26d0ac9487955d2333b5137d1c1ca593b 100644 (file)
@@ -316,7 +316,6 @@ main( int argc, char** argv )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/tokenize.c */
index 4f0531823a2db61839aa841ffbee0f970e4525dd..f4798af17822195c9ab2891ab237f3128e496cc7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  usage.c  $Id: usage.c,v 4.16 2006/09/23 00:09:48 bkorb Exp $
+ *  usage.c  $Id: usage.c,v 4.17 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-07-01 12:41:02 bkorb"
  *
  *  This module implements the default usage procedure for
@@ -726,7 +726,6 @@ setStdOptFmts( tOptions* pOpts, tCC** ppT )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/usage.c */
index 6b1e6917fdf56128193c41b0c03a35e600194d52..f528699d3e6e6cfd2df3cbc375fe75bf00db6c62 100644 (file)
@@ -1,5 +1,5 @@
 
-/*  $Id: version.c,v 4.10 2006/09/23 00:09:48 bkorb Exp $
+/*  $Id: version.c,v 4.12 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:15:00 bkorb"
  *
  *  This module implements the default usage procedure for
@@ -171,7 +171,6 @@ optionVersionStderr( tOptions*  pOpts, tOptDesc*  pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/version.c */
index d22dd6f9dee96b04f0e9662ae5fec239446c8ddb..40aa143cda6f55e2b3dc6767c581081fa2c15c6b 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntpd-opts.c)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:20:44 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:23 AM EDT
  *  From the definitions    ntpd-opts.def
  *  and the template file   options
  */
@@ -36,7 +36,7 @@ tSCC zCopyright[] =
        "ntpd copyright (c) 1970-2006 ntp.org, all rights reserved";
 tSCC zCopyrightNotice[] =
        
-/* extracted from ../include/copyright.def near line 8 */
+/* extracted from /deacon/backroom/ntp-dev/include/copyright.def near line 8 */
 "see html/copyright.html";
 extern tUsageProc optionUsage;
 
@@ -941,6 +941,7 @@ doOptSet_Debug_Level(
     tOptions*   pOptions,
     tOptDesc*   pOptDesc )
 {
+    /* extracted from /deacon/backroom/ntp-dev/include/debug-opt.def, line 29 */
 DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );
 }
 #endif /* defined DEBUG */
index c34e82483868e8cdfe9b1ef0e7abd6a96c8d4ce3..3ab7116f021d9e9cf1c465c782e44592eda2bc43 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntpd-opts.h)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:20:43 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:22 AM EDT
  *  From the definitions    ntpd-opts.def
  *  and the template file   options
  */
index 83c23d6e764d4d5b80d003be51f8eb47b1a360cf..ac8aee1bfcbb2b61e7c9593762ab5f77b3592349 100644 (file)
@@ -7,7 +7,7 @@
 # 
 # DO NOT EDIT THIS FILE   (ntpd-opts.texi)
 # 
-# It has been AutoGen-ed  Sunday September 24, 2006 at 05:20:47 AM EDT
+# It has been AutoGen-ed  Monday September 25, 2006 at 12:42:00 AM EDT
 # From the definitions    ntpd-opts.def
 # and the template file   aginfo.tpl
 @end ignore
@@ -116,9 +116,9 @@ or by a single hyphen and the flag character.
 
 The following option preset mechanisms are supported:
  - reading file /users/stenn/.ntprc
- - reading file /deacon/backroom/snaps/ntp-dev/ntpd/.ntprc
+ - reading file /deacon/backroom/ntp-dev/ntpd/.ntprc
  - reading file /users/stenn/.ntprc
- - reading file /deacon/backroom/snaps/ntp-dev/ntpd/.ntprc
+ - reading file /deacon/backroom/ntp-dev/ntpd/.ntprc
  - examining environment variables named NTPD_*
 
 
index d7ae7c4d58019c754e548132098acf28a16fb288..d9994d1c038b5b919f19789fab45d66d5fa20a6f 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPD 1 2006-09-24 "( 4.2.3p50)" "Programmer's Manual"
+.TH NTPD 1 2006-09-25 "( 4.2.3p50)" "Programmer's Manual"
 .\"  DO NOT EDIT THIS FILE   (ntpd.1)
 .\"  
-.\"  It has been AutoGen-ed  Sunday September 24, 2006 at 05:20:45 AM EDT
+.\"  It has been AutoGen-ed  Monday September 25, 2006 at 12:41:59 AM EDT
 .\"  From the definitions    ntpd-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index f97b4c0c9994c0b3f188535431c89dc72f54c133..d5e2f58d282aff06ceb6df4761a60631ea97ac3c 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntpdsim-opts.c)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:20:49 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:25 AM EDT
  *  From the definitions    ntpdsim-opts.def
  *  and the template file   options
  */
@@ -36,7 +36,7 @@ tSCC zCopyright[] =
        "ntpdsim copyright (c) 1970-2006 ntp.org, all rights reserved";
 tSCC zCopyrightNotice[] =
        
-/* extracted from ../include/copyright.def near line 8 */
+/* extracted from /deacon/backroom/ntp-dev/include/copyright.def near line 8 */
 "see html/copyright.html";
 extern tUsageProc optionUsage;
 
@@ -1139,6 +1139,7 @@ doOptSet_Debug_Level(
     tOptions*   pOptions,
     tOptDesc*   pOptDesc )
 {
+    /* extracted from /deacon/backroom/ntp-dev/include/debug-opt.def, line 29 */
 DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );
 }
 #endif /* defined DEBUG */
index 8feb30576f0966d74e73186c2e7f3ee674d05b66..d542934162cabd80f92aa89350effe34843a9a23 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntpdsim-opts.h)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:20:48 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:24 AM EDT
  *  From the definitions    ntpdsim-opts.def
  *  and the template file   options
  */
index eabddf4ee2c6d2f89d1fba2e3afa3f7f27e20143..9d20a5fd01699bd872952e6ffe5a92dc2326be7b 100644 (file)
@@ -7,7 +7,7 @@
 # 
 # DO NOT EDIT THIS FILE   (ntpdsim-opts.texi)
 # 
-# It has been AutoGen-ed  Sunday September 24, 2006 at 05:20:52 AM EDT
+# It has been AutoGen-ed  Monday September 25, 2006 at 12:42:12 AM EDT
 # From the definitions    ntpdsim-opts.def
 # and the template file   aginfo.tpl
 @end ignore
@@ -134,9 +134,9 @@ or by a single hyphen and the flag character.
 
 The following option preset mechanisms are supported:
  - reading file /users/stenn/.ntprc
- - reading file /deacon/backroom/snaps/ntp-dev/ntpd/.ntprc
+ - reading file /deacon/backroom/ntp-dev/ntpd/.ntprc
  - reading file /users/stenn/.ntprc
- - reading file /deacon/backroom/snaps/ntp-dev/ntpd/.ntprc
+ - reading file /deacon/backroom/ntp-dev/ntpd/.ntprc
  - examining environment variables named NTPDSIM_*
 
 
index 0db142d2fb9661ef7e712a58d7d23fc9c505abc7..b2d6ad2569e42f8baff908361aeeb176550bdeff 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPDSIM 1 2006-09-24 "( 4.2.3p50)" "Programmer's Manual"
+.TH NTPDSIM 1 2006-09-25 "( 4.2.3p50)" "Programmer's Manual"
 .\"  DO NOT EDIT THIS FILE   (ntpdsim.1)
 .\"  
-.\"  It has been AutoGen-ed  Sunday September 24, 2006 at 05:20:51 AM EDT
+.\"  It has been AutoGen-ed  Monday September 25, 2006 at 12:42:08 AM EDT
 .\"  From the definitions    ntpdsim-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index c3fb186e600f524155a33d438da120b629fa8265..63a0ec5ac3f4eb7a2cc511ecf88b9f771616ac52 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntpdc-opts.c)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:27:21 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:28 AM EDT
  *  From the definitions    ntpdc-opts.def
  *  and the template file   options
  */
@@ -36,7 +36,7 @@ tSCC zCopyright[] =
        "ntpdc copyright (c) 1970-2006 ntp.org, all rights reserved";
 tSCC zCopyrightNotice[] =
        
-/* extracted from ../include/copyright.def near line 8 */
+/* extracted from /deacon/backroom/ntp-dev/include/copyright.def near line 8 */
 "see html/copyright.html";
 extern tUsageProc optionUsage;
 
@@ -543,6 +543,7 @@ doOptSet_Debug_Level(
     tOptions*   pOptions,
     tOptDesc*   pOptDesc )
 {
+    /* extracted from /deacon/backroom/ntp-dev/include/debug-opt.def, line 29 */
 DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );
 }
 #endif /* defined DEBUG */
index d6bca712a12a7714eab4d0b684a72c3255ef9c78..ed65d786811e2cb384a4e559b573f16262b5736e 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntpdc-opts.h)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:27:20 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:27 AM EDT
  *  From the definitions    ntpdc-opts.def
  *  and the template file   options
  */
index 8ffd0196139260c5b8c4e453c58ecef55a1eb114..6865e746c163b5e554ba7864da827184fae2af9d 100644 (file)
@@ -7,7 +7,7 @@
 # 
 # DO NOT EDIT THIS FILE   (ntpdc-opts.texi)
 # 
-# It has been AutoGen-ed  Sunday September 24, 2006 at 05:27:23 AM EDT
+# It has been AutoGen-ed  Monday September 25, 2006 at 12:57:05 AM EDT
 # From the definitions    ntpdc-opts.def
 # and the template file   aginfo.tpl
 @end ignore
@@ -100,7 +100,7 @@ or by a single hyphen and the flag character.
 
 The following option preset mechanisms are supported:
  - reading file /users/stenn/.ntprc
- - reading file /deacon/backroom/snaps/ntp-dev/ntpdc/.ntprc
+ - reading file /deacon/backroom/ntp-dev/ntpdc/.ntprc
  - examining environment variables named NTPDC_*
 
 The
index 1c91d7ac4fd0af0dd67638d50391bc99ea46de0a..7db38a2ea1b45e7355156588b1b73ba95079de9f 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPDC 1 2006-09-24 "( 4.2.3p50)" "Programmer's Manual"
+.TH NTPDC 1 2006-09-25 "( 4.2.3p50)" "Programmer's Manual"
 .\"  DO NOT EDIT THIS FILE   (ntpdc.1)
 .\"  
-.\"  It has been AutoGen-ed  Sunday September 24, 2006 at 05:27:22 AM EDT
+.\"  It has been AutoGen-ed  Monday September 25, 2006 at 12:57:05 AM EDT
 .\"  From the definitions    ntpdc-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index 00786f14aff3ec906d61c28a80d72724949264d5..34f4659b035c63357561ba456d1ea9673e9226b5 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntpq-opts.c)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:27:51 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:30 AM EDT
  *  From the definitions    ntpq-opts.def
  *  and the template file   options
  */
@@ -36,7 +36,7 @@ tSCC zCopyright[] =
        "ntpq copyright (c) 1970-2006 ntp.org, all rights reserved";
 tSCC zCopyrightNotice[] =
        
-/* extracted from ../include/copyright.def near line 8 */
+/* extracted from /deacon/backroom/ntp-dev/include/copyright.def near line 8 */
 "see html/copyright.html";
 extern tUsageProc optionUsage;
 
@@ -483,6 +483,7 @@ doOptSet_Debug_Level(
     tOptions*   pOptions,
     tOptDesc*   pOptDesc )
 {
+    /* extracted from /deacon/backroom/ntp-dev/include/debug-opt.def, line 29 */
 DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );
 }
 #endif /* defined DEBUG */
index 081b0ab049261c34b4da6cddc721a142ab3fd79a..9dad3f7b8b1cc0c61ce05174f1a1e5f339c3fd5d 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntpq-opts.h)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:27:50 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:29 AM EDT
  *  From the definitions    ntpq-opts.def
  *  and the template file   options
  */
index 33f6a0fc26ac548edadee97e1c58e0fb3822c399..bd4258f71f517db30f4f8afe06bacbe3e0469660 100644 (file)
@@ -7,7 +7,7 @@
 # 
 # DO NOT EDIT THIS FILE   (ntpq-opts.texi)
 # 
-# It has been AutoGen-ed  Sunday September 24, 2006 at 05:27:53 AM EDT
+# It has been AutoGen-ed  Monday September 25, 2006 at 12:57:36 AM EDT
 # From the definitions    ntpq-opts.def
 # and the template file   aginfo.tpl
 @end ignore
@@ -80,9 +80,9 @@ or by a single hyphen and the flag character.
 
 The following option preset mechanisms are supported:
  - reading file /users/stenn/.ntprc
- - reading file /deacon/backroom/snaps/ntp-dev/ntpq/.ntprc
+ - reading file /deacon/backroom/ntp-dev/ntpq/.ntprc
  - reading file /users/stenn/.ntprc
- - reading file /deacon/backroom/snaps/ntp-dev/ntpq/.ntprc
+ - reading file /deacon/backroom/ntp-dev/ntpq/.ntprc
  - examining environment variables named NTPQ_*
 
 The
index dc4dd7003022b39ec36a82100bfa0b948e456200..ac01fa3fa61e502b439cf50298f298361403986d 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTPQ 1 2006-09-24 "( 4.2.3p50)" "Programmer's Manual"
+.TH NTPQ 1 2006-09-25 "( 4.2.3p50)" "Programmer's Manual"
 .\"  DO NOT EDIT THIS FILE   (ntpq.1)
 .\"  
-.\"  It has been AutoGen-ed  Sunday September 24, 2006 at 05:27:52 AM EDT
+.\"  It has been AutoGen-ed  Monday September 25, 2006 at 12:57:35 AM EDT
 .\"  From the definitions    ntpq-opts.def
 .\"  and the template file   agman1.tpl
 .\"
index 712be238fd766c9238f1724f63a376a23e87c2d6..c0888508359937a733df39af51b3745c57d3c000 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: autoopts.c,v 4.24 2006/09/23 00:12:48 bkorb Exp $
+ *  $Id: autoopts.c,v 4.26 2006/09/24 02:10:44 bkorb Exp $
  *  Time-stamp:      "2006-09-22 18:21:53 bkorb"
  *
  *  This file contains all of the routines that must be linked into
@@ -1083,7 +1083,6 @@ optionProcess(
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/autoopts.c */
index e6fcd90bce912d7f5782f21031c86ed82a10716a..b7805fe745845a9ee807d0924c03ca6700f7f318 100644 (file)
@@ -2,7 +2,7 @@
 /*
  *  Time-stamp:      "2006-09-10 14:43:25 bkorb"
  *
- *  autoopts.h  $Id: autoopts.h,v 4.28 2006/09/23 00:12:48 bkorb Exp $
+ *  autoopts.h  $Id: autoopts.h,v 4.29 2006/09/24 02:10:45 bkorb Exp $
  *  Time-stamp:      "2005-02-14 05:59:50 bkorb"
  *
  *  This file defines all the global structures and special values
@@ -331,7 +331,6 @@ extern tOptProc optionPrintVersion, optionPagedUsage, optionLoadOpt;
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/autoopts.h */
index da129fd29adbb2e8f2a6b6cb98b605ba3ac95550..1dfc6f0d80417640da9e7e9f802f421ab3e3fa31 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (options.h)
  *  
- *  It has been AutoGen-ed  Friday September 22, 2006 at 06:21:59 PM PDT
+ *  It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:25 PM PDT
  *  From the definitions    funcs.def
  *  and the template file   options_h
  *
@@ -718,7 +718,7 @@ extern void optionUnloadNested( const tOptionValue* );
 extern char const* optionVersion( void );
 
 
-/* From: ../compat/pathfind.c line 33
+/* From: ../compat/pathfind.c line 34
  *
  * pathfind - fild a file in a list of directories
  *
index 849b8aa8080a67432b70e504d475f79dc968d060..8bc08065b8665b462950ef35e54d725549a2784c 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (usage-txt.h)
  *  
- *  It has been AutoGen-ed  Friday September 22, 2006 at 06:21:57 PM PDT
+ *  It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:22 PM PDT
  *  From the definitions    usage-txt.def
  *  and the template file   usage-txt.tpl
  *
@@ -183,7 +183,7 @@ extern usage_text_t option_usage_text;
   static char    eng_zGnuKeyLArg[] = "=Mbr";
   static char    eng_zGnuNumArg[] = "=num";
   static char    eng_zGnuStrArg[] = "=str";
-static const char usage_txt[3202] =
+static char const usage_txt[3202] =
     "AutoOpts function called without option descriptor\n\0"
     "\tThis exceeds the compiled library version:  \0"
     "Automated Options Processing Error!\n"
index ad80794a5ca0f117f0264693736493b66ea78c3e..7549113fe270bb76036e4ec0820357ced67c13fb 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: boolean.c,v 4.6 2006/03/25 19:23:28 bkorb Exp $
+ *  $Id: boolean.c,v 4.8 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:13:34 bkorb"
  *
  *   Automated Options Paged Usage module.
@@ -96,7 +96,6 @@ optionBooleanVal( tOptions* pOpts, tOptDesc* pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/boolean.c */
index 15ea0c6bc3208f5325e558dbd88500b692bb3fe5..38e38d58396926579685293e4315732cf74142cb 100644 (file)
@@ -7,7 +7,7 @@
  * Author:           Gary V Vaughan <gvaughan@oranda.demon.co.uk>
  * Created:          Mon Jun 30 15:54:46 1997
  *
- * $Id: compat.h,v 4.13 2006/09/16 19:58:35 bkorb Exp $
+ * $Id: compat.h,v 4.14 2006/09/24 02:10:45 bkorb Exp $
  */
 #ifndef COMPAT_H_GUARD
 #define COMPAT_H_GUARD 1
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of compat/compat.h */
index ab3d173bab92538c0463076ee169de73ad15741b..e74a8f63fe0c45ce07be5ac132244aa54c4f9ffe 100644 (file)
@@ -4,11 +4,12 @@
 
 /*
  * Author:           Gary V Vaughan <gvaughan@oranda.demon.co.uk>
+ * Time-stamp:       "2006-09-23 19:46:16 bkorb"
  * Created:          Tue Jun 24 15:07:31 1997
- * Last Modified:    $Date: 2006/09/23 00:48:05 $
+ * Last Modified:    $Date: 2006/09/24 02:57:02 $
  *            by: bkorb
  *
- * $Id: pathfind.c,v 4.8 2006/09/23 00:48:05 bkorb Exp $
+ * $Id: pathfind.c,v 4.10 2006/09/24 02:57:02 bkorb Exp $
  */
 
 /* Code: */
@@ -333,7 +334,6 @@ extract_colon_unit( char* pzDir, char const *string, int *p_index )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of compat/pathfind.c */
index ca8a517a89eaf77048384c461abe76d7c9b7e6dd..413f999ff934adc9aa651663681cc5435b67326f 100644 (file)
@@ -55,7 +55,6 @@ strrchr( char const *s, int c)
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of compat/strsignal.c */
index ebacf04191beebc11ecaeb10cc8f9ae7468ec9dd..02f81160df450adf1e045acc758cdbc923d56c2c 100644 (file)
@@ -1,3 +1,9 @@
+
+/*
+ * Time-stamp:        "2006-09-23 19:44:29 bkorb"
+ *             by: bkorb
+ * Last Committed:    $Date: 2006/09/24 02:57:02 $
+ */
 #ifndef WINDOWS_CONFIG_HACKERY
 #define WINDOWS_CONFIG_HACKERY 1
 
@@ -36,7 +42,7 @@
  * # define HAVE_VSPRINTF
  * # define HAVE_SNPRINTF
  * # define HAVE_VSNPRINTF
- * # define HAVE_PROTOTYPES            /* from ntpq.mak * /
+ * # define HAVE_PROTOTYPES             /* from ntpq.mak * /
  * # define HAVE_MEMMOVE
  * # define HAVE_TERMIOS_H
  * # define HAVE_ERRNO_H
@@ -48,7 +54,7 @@
  * # define ISC_PLATFORM_NEEDNTOP
  * # define ISC_PLATFORM_NEEDPTON
  * # define NEED_S_CHAR_TYPEDEF
- * # define USE_PROTOTYPES             /* for ntp_types.h * /
+ * # define USE_PROTOTYPES              /* for ntp_types.h * /
  *
  * #define ULONG_CONST(a) a ## UL
  */
@@ -71,7 +77,7 @@
 
 /* Prevent inclusion of winsock.h in windows.h */
 #ifndef _WINSOCKAPI_
-#define _WINSOCKAPI_  
+#define _WINSOCKAPI_
 #endif
 
 #ifndef __RPCASYNC_H__
@@ -83,7 +89,7 @@
 #include <winsock2.h>
 
 /*
- * Compatibility declarations for Windows, assuming SYS_WINNT 
+ * Compatibility declarations for Windows, assuming SYS_WINNT
  * has been defined.
  */
 #define strdup  _strdup
 
 #include <io.h>
 #define open    _open
-#define close   _close 
+#define close   _close
 #define read    _read
 #define write   _write
 #define lseek   _lseek
 #define dup2    _dup2
 
 #define O_RDWR     _O_RDWR
-#define O_RDONLY   _O_RDONLY 
+#define O_RDONLY   _O_RDONLY
 #define O_EXCL     _O_EXCL
 
-#ifndef        S_ISREG
+#ifndef S_ISREG
 #  define S_IFREG _S_IFREG
-#  define      S_ISREG(mode)   (((mode) & S_IFREG) == S_IFREG)
+#  define       S_ISREG(mode)   (((mode) & S_IFREG) == S_IFREG)
 #endif
 
-#ifndef        S_ISDIR
+#ifndef S_ISDIR
 #  define S_IFDIR _S_IFDIR
-#  define      S_ISDIR(mode)   (((mode) & S_IFDIR) == S_IFDIR)
+#  define       S_ISDIR(mode)   (((mode) & S_IFDIR) == S_IFDIR)
 #endif
 
 #endif /* WINDOWS_CONFIG_HACKERY */
index 64deccdd385145524a79cc0ca326168c02de01c0..bdde8de8055372561ab4c6faba9f6279c0907679 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  $Id: configfile.c,v 4.26 2006/09/23 00:12:48 bkorb Exp $
- *  Time-stamp:      "2006-09-22 18:01:50 bkorb"
+ *  $Id: configfile.c,v 4.28 2006/09/24 02:10:45 bkorb Exp $
+ *  Time-stamp:      "2006-09-24 15:18:51 bkorb"
  *
  *  configuration/rc/ini file handling.
  */
@@ -204,8 +204,8 @@ optionFindValue( const tOptDesc* pOptDesc,
 
     else do {
         tArgList* pAL = pOptDesc->optCookie;
-        int ct = pAL->useCt;
-        tCC** ppOV = pAL->apzArgs;
+        int    ct   = pAL->useCt;
+        void** ppOV = (void**)(pAL->apzArgs);
 
         if (ct == 0) {
             errno = ENOENT;
@@ -218,7 +218,7 @@ optionFindValue( const tOptDesc* pOptDesc,
         }
 
         while (--ct >= 0) {
-            const tOptionValue* pOV = (tOptionValue*)*(ppOV++);
+            const tOptionValue* pOV = *(ppOV++);
             const tOptionValue* pRV = optionGetValue( pOV, pzName );
 
             if (pRV == NULL)
@@ -281,8 +281,8 @@ optionFindNextValue( const tOptDesc* pOptDesc, const tOptionValue* pPrevVal,
 
     else do {
         tArgList* pAL = pOptDesc->optCookie;
-        int ct = pAL->useCt;
-        tCC** ppOV = pAL->apzArgs;
+        int    ct   = pAL->useCt;
+        void** ppOV = (void**)pAL->apzArgs;
 
         if (ct == 0) {
             errno = ENOENT;
@@ -290,7 +290,7 @@ optionFindNextValue( const tOptDesc* pOptDesc, const tOptionValue* pPrevVal,
         }
 
         while (--ct >= 0) {
-            tOptionValue* pOV = (tOptionValue*)*(ppOV++);
+            tOptionValue* pOV = *(ppOV++);
             if (foundOldVal) {
                 pRes = pOV;
                 break;
@@ -344,15 +344,15 @@ optionGetValue( const tOptionValue* pOld, char const* pzValName )
     pAL = pOld->v.nestVal;
 
     if (pAL->useCt > 0) {
-        int ct = pAL->useCt;
-        tCC** papOV = pAL->apzArgs;
+        int    ct    = pAL->useCt;
+        void** papOV = (void**)(pAL->apzArgs);
 
         if (pzValName == NULL) {
             pRes = (tOptionValue*)*papOV;
         }
 
         else do {
-            tOptionValue* pOV = (tOptionValue*)*(papOV++);
+            tOptionValue* pOV = *(papOV++);
             if (strcmp( pOV->pzName, pzValName ) == 0) {
                 pRes = pOV;
                 break;
@@ -405,11 +405,11 @@ optionNextValue( const tOptionValue* pOVList, const tOptionValue* pOldOV )
     }
     pAL = pOVList->v.nestVal;
     {
-        int   ct   = pAL->useCt;
-        tCC** papNV = pAL->apzArgs;
+        int    ct    = pAL->useCt;
+        void** papNV = (void**)(pAL->apzArgs);
 
         while (ct-- > 0) {
-            tOptionValue* pNV = (tOptionValue*)*(papNV++);
+            tOptionValue* pNV = *(papNV++);
             if (pNV == pOldOV) {
                 if (ct == 0) {
                     err = ENOENT;
@@ -461,14 +461,14 @@ filePreset(
         st.flags = OPTST_SET;
 
     do  {
-        while (isspace( *pzFileText ))  pzFileText++;
+        while (isspace( (int)*pzFileText ))  pzFileText++;
 
-        if (isalpha( *pzFileText )) {
+        if (isalpha( (int)*pzFileText )) {
             pzFileText = handleConfig( pOpts, &st, pzFileText, direction );
 
         } else switch (*pzFileText) {
         case '<':
-            if (isalpha( pzFileText[1] ))
+            if (isalpha( (int)pzFileText[1] ))
                 pzFileText = handleStructure(pOpts, &st, pzFileText, direction);
 
             else switch (pzFileText[1]) {
@@ -544,8 +544,8 @@ handleConfig(
     if (pzEnd == NULL)
         return pzText + strlen(pzText);
 
-    while (ISNAMECHAR( *pzText ))  pzText++;
-    while (isspace( *pzText )) pzText++;
+    while (ISNAMECHAR( (int)*pzText ))  pzText++;
+    while (isspace( (int)*pzText )) pzText++;
     if (pzText > pzEnd) {
     name_only:
         *pzEnd++ = NUL;
@@ -559,10 +559,10 @@ handleConfig(
      *  is an invalid format and we give up parsing the text.
      */
     if ((*pzText == '=') || (*pzText == ':')) {
-        while (isspace( *++pzText ))   ;
+        while (isspace( (int)*++pzText ))   ;
         if (pzText > pzEnd)
             goto name_only;
-    } else if (! isspace(pzText[-1]))
+    } else if (! isspace((int)pzText[-1]))
         return NULL;
 
     /*
@@ -626,7 +626,7 @@ handleDirective(
     size_t name_len;
 
     if (  (strncmp( pzText+2, zProg, title_len ) != 0)
-       || (! isspace( pzText[title_len+2] )) )  {
+       || (! isspace( (int)pzText[title_len+2] )) )  {
         pzText = strchr( pzText+2, '>' );
         if (pzText != NULL)
             pzText++;
@@ -640,8 +640,8 @@ handleDirective(
     do  {
         pzText += title_len;
 
-        if (isspace(*pzText)) {
-            while (isspace(*pzText))  pzText++;
+        if (isspace((int)*pzText)) {
+            while (isspace((int)*pzText))  pzText++;
             if (  (strneqvcmp( pzText, pOpts->pzProgName, (int)name_len) == 0)
                && (pzText[name_len] == '>'))  {
                 pzText += name_len + 1;
@@ -991,7 +991,7 @@ parseAttributes(
             break;
         }
 
-        while (isspace( *++pzText ))   ;
+        while (isspace( (int)*++pzText ))   ;
 
         if (strncmp( pzText, zLoadType, lenLoadType ) == 0) {
             pzText = parseValueType( pzText+lenLoadType, pType );
@@ -1046,7 +1046,7 @@ parseLoadMode(
         if (strncmp( pzText, zLoadCooked, len ) == 0) {
             if (  (pzText[len] == '>')
                || (pzText[len] == '/')
-               || isspace(pzText[len])) {
+               || isspace((int)pzText[len])) {
                 *pMode = OPTION_LOAD_COOKED;
                 return pzText + len;
             }
@@ -1059,7 +1059,7 @@ parseLoadMode(
         if (strncmp( pzText, zLoadUncooked, len ) == 0) {
             if (  (pzText[len] == '>')
                || (pzText[len] == '/')
-               || isspace(pzText[len])) {
+               || isspace((int)pzText[len])) {
                 *pMode = OPTION_LOAD_UNCOOKED;
                 return pzText + len;
             }
@@ -1072,7 +1072,7 @@ parseLoadMode(
         if (strncmp( pzText, zLoadKeep, len ) == 0) {
             if (  (pzText[len] == '>')
                || (pzText[len] == '/')
-               || isspace(pzText[len])) {
+               || isspace((int)pzText[len])) {
                 *pMode = OPTION_LOAD_KEEP;
                 return pzText + len;
             }
@@ -1113,7 +1113,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeString);
         if (strncmp( pzText, zLtypeString, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_STRING;
                 return pzText + len;
             }
@@ -1124,7 +1124,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeInteger);
         if (strncmp( pzText, zLtypeInteger, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_NUMERIC;
                 return pzText + len;
             }
@@ -1146,7 +1146,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeKeyword);
         if (strncmp( pzText, zLtypeKeyword, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_ENUMERATION;
                 return pzText + len;
             }
@@ -1157,7 +1157,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeSetMembership);
         if (strncmp( pzText, zLtypeSetMembership, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_MEMBERSHIP;
                 return pzText + len;
             }
@@ -1168,7 +1168,7 @@ parseValueType(
     {
         size_t len = strlen(zLtypeNest);
         if (strncmp( pzText, zLtypeNest, len ) == 0) {
-            if ((pzText[len] == '>') || isspace(pzText[len])) {
+            if ((pzText[len] == '>') || isspace((int)pzText[len])) {
                 pType->valType = OPARG_TYPE_HIERARCHY;
                 return pzText + len;
             }
@@ -1190,7 +1190,7 @@ static char*
 skipUnknown( char* pzText )
 {
     for (;; pzText++) {
-        if (isspace( *pzText ))  return pzText;
+        if (isspace( (int)*pzText ))  return pzText;
         switch (*pzText) {
         case NUL: return NULL;
         case '/':
@@ -1273,7 +1273,6 @@ validateOptionsStruct( tOptions* pOpts, char const* pzProgram )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/configfile.c */
index 00503959a7aa36180e4aa6042241905a431be251..9685d0641664482bb3837ee9192886f67e7419e7 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
- *  $Id: cook.c,v 4.7 2006/09/23 00:12:48 bkorb Exp $
- *  Time-stamp:      "2006-06-24 11:29:58 bkorb"
+ *  $Id: cook.c,v 4.8 2006/09/24 02:10:45 bkorb Exp $
+ *  Time-stamp:      "2006-09-24 15:21:02 bkorb"
  *
  *  This file contains the routines that deal with processing quoted strings
  *  into an internal format.
@@ -106,7 +106,7 @@ ao_string_cook_escape_char( char const* pzIn, char* pRes, u_int nl )
     case 'v': *pRes = '\v'; break;
 
     case 'x':         /* HEX Escape       */
-        if (isxdigit( *pzIn ))  {
+        if (isxdigit( (int)*pzIn ))  {
             unsigned int  val;
             unsigned char ch = *pzIn++;
 
@@ -140,7 +140,7 @@ ao_string_cook_escape_char( char const* pzIn, char* pRes, u_int nl )
          *  IF the character copied was an octal digit,
          *  THEN set the output character to an octal value
          */
-        if (isdigit( *pRes ) && (*pRes < '8'))  {
+        if (isdigit( (int)*pRes ) && (*pRes < '8'))  {
             unsigned int  val = *pRes - '0';
             unsigned char ch  = *pzIn++;
 
@@ -239,7 +239,7 @@ ao_string_cook( char* pzScan, int* pLineCt )
             pzS++;
 
         scan_for_quote:
-            while (isspace(*pzS))
+            while (isspace((int)*pzS))
                 if (*(pzS++) == '\n')
                     (*pLineCt)++;
 
@@ -349,7 +349,6 @@ ao_string_cook( char* pzScan, int* pLineCt )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/cook.c */
index 29f624fa2b76a69c1a56f44eb02f386895ddf3cd..4586967c782f7e10f48dea6ec2777123041b1550 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: enumeration.c,v 4.12 2006/09/23 00:12:48 bkorb Exp $
+ *  $Id: enumeration.c,v 4.14 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:00:53 bkorb"
  *
  *   Automated Options Paged Usage module.
@@ -479,7 +479,6 @@ optionSetMembers(
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/enumeration.c */
index aacb253b0a2c581b198d72891d6b4bd712d22120..1ac3fe8ebd93ff75faeac84f8750b85d5fab4e32 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: environment.c,v 4.11 2006/09/23 00:12:48 bkorb Exp $
+ *  $Id: environment.c,v 4.12 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2005-10-29 13:23:59 bkorb"
  *
  *  This file contains all of the routines that must be linked into
@@ -255,7 +255,6 @@ doEnvPresets( tOptions* pOpts, teEnvPresetType type )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/environment.c */
index f7549c8817ae5c39be4e9934c31b060e559b90e6..7c5e12f74199065f0fc5c7dbe60fa167087074cf 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (genshell.c)
  *  
- *  It has been AutoGen-ed  Friday September 22, 2006 at 06:22:00 PM PDT
+ *  It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:26 PM PDT
  *  From the definitions    genshell.def
  *  and the template file   options
  */
index bbb8ec3c55974386712543c89f3518ac242d452c..44760b784d84863ba5ea4030b59521f873bbfeb4 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (genshell.h)
  *  
- *  It has been AutoGen-ed  Friday September 22, 2006 at 06:21:59 PM PDT
+ *  It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:26 PM PDT
  *  From the definitions    genshell.def
  *  and the template file   options
  */
index 18ea27f4dec2481306f02adf9c44009c4463468e..46ac97dc2d1da410d1111a96b5a4e8a0d7091206 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
- *  $Id: load.c,v 4.24 2006/09/23 00:12:48 bkorb Exp $
- *  Time-stamp:      "2006-07-01 12:43:03 bkorb"
+ *  $Id: load.c,v 4.25 2006/09/24 02:10:45 bkorb Exp $
+ *  Time-stamp:      "2006-09-24 15:23:01 bkorb"
  *
  *  This file contains the routines that deal with processing text strings
  *  for options, either from a NUL-terminated string passed in or from an
@@ -258,10 +258,10 @@ insertEnvVal(
     char* pzDir = pzBuf;
 
     for (;;) {
-        char ch = *++pzName;
+        int ch = (int)*++pzName;
         if (! ISNAMECHAR( ch ))
             break;
-        *(pzDir++) = ch;
+        *(pzDir++) = (char)ch;
     }
 
     if (pzDir == pzBuf)
@@ -293,16 +293,16 @@ mungeString( char* pzTxt, tOptionLoadMode mode )
     if (mode == OPTION_LOAD_KEEP)
         return;
 
-    if (isspace( *pzTxt )) {
+    if (isspace( (int)*pzTxt )) {
         char* pzS = pzTxt;
         char* pzD = pzTxt;
-        while (isspace( *++pzS ))  ;
+        while (isspace( (int)*++pzS ))  ;
         while ((*(pzD++) = *(pzS++)) != NUL)   ;
         pzE = pzD-1;
     } else
         pzE = pzTxt + strlen( pzTxt );
 
-    while ((pzE > pzTxt) && isspace( pzE[-1] ))  pzE--;
+    while ((pzE > pzTxt) && isspace( (int)pzE[-1] ))  pzE--;
     *pzE = NUL;
 
     if (mode == OPTION_LOAD_UNCOOKED)
@@ -352,9 +352,9 @@ assembleArgValue( char* pzTxt, tOptionLoadMode mode )
      *  because we'll have to skip over an immediately following ':' or '='
      *  (and the white space following *that*).
      */
-    space_break = isspace(*pzEnd);
+    space_break = isspace((int)*pzEnd);
     *(pzEnd++) = NUL;
-    while (isspace(*pzEnd))  pzEnd++;
+    while (isspace((int)*pzEnd))  pzEnd++;
     if (space_break && ((*pzEnd == ':') || (*pzEnd == '=')))
         pzEnd++;
 
@@ -377,7 +377,7 @@ loadOptionLine(
     tDirection  direction,
     tOptionLoadMode   load_mode )
 {
-    while (isspace( *pzLine ))  pzLine++;
+    while (isspace( (int)*pzLine ))  pzLine++;
 
     {
         char* pzArg = assembleArgValue( pzLine, load_mode );
@@ -514,7 +514,6 @@ optionLoadLine(
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/load.c */
index 3c9c214b7add982f54aebc85964fbafc779d1444..6fea8bfd753c0f6016187b51aaee8080dd27a1c3 100644 (file)
@@ -2,7 +2,7 @@ dnl  -*- buffer-read-only: t -*- vi: set ro:
 dnl 
 dnl DO NOT EDIT THIS FILE   (libopts.m4)
 dnl 
-dnl It has been AutoGen-ed  Friday September 22, 2006 at 06:22:01 PM PDT
+dnl It has been AutoGen-ed  Sunday September 24, 2006 at 03:28:29 PM PDT
 dnl From the definitions    libopts.def
 dnl and the template file   conftest.tpl
 dnl
@@ -400,6 +400,9 @@ AC_DEFUN([INVOKE_LIBOPTS_MACROS],[
 
 dnl @synopsis  LIBOPTS_CHECK
 dnl
+dnl Time-stamp:        "2006-09-23 19:36:24 bkorb"
+dnl Last Committed:    $Date: 2006/09/24 02:57:02 $
+dnl
 dnl If autoopts-config works, add the linking information to LIBS.
 dnl Otherwise, add ``libopts-${ao_rev}'' to SUBDIRS and run all
 dnl the config tests that the library needs.  Invoke the
index 26f9c241e9b020ce1bfc01fd82c6f149e84f67ef..2c473a08ae15d5248edcfc6a19bfead3523c5114 100644 (file)
@@ -3,7 +3,10 @@ dnl Copyright (C) 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
-dnl
+
+dnl Time-stamp:        "2006-09-23 19:42:31 bkorb"
+dnl Last Committed:    $Date: 2006/09/24 02:57:02 $
+
 dnl This file can can be used in projects which are not available under
 dnl the GNU General Public License or the GNU Library General Public
 dnl License but which still want to provide support for the GNU gettext
index 36d3201d6dc641b502666c8a1622d58f4b329f6d..4051a27b580df3c0c9deeab4c6827b6d5a271745 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: makeshell.c,v 4.15 2006/09/23 00:12:48 bkorb Exp $
+ *  $Id: makeshell.c,v 4.17 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:19:24 bkorb"
  *
  *  This module will interpret the options set in the tOptions
@@ -1104,7 +1104,6 @@ genshelloptUsage( tOptions*  pOpts, int exitCode )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/makeshell.c */
index f4e665068d6e83e8a6854118b2ba3525c1636c4a..013b742c3161a281fba2cbef19cd2bc9230e7b5f 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
- *  $Id: nested.c,v 4.11 2006/09/23 00:12:48 bkorb Exp $
- *  Time-stamp:      "2006-09-22 18:14:12 bkorb"
+ *  $Id: nested.c,v 4.13 2006/09/24 02:10:45 bkorb Exp $
+ *  Time-stamp:      "2006-09-24 15:27:32 bkorb"
  *
  *   Automated Options Nested Values module.
  */
@@ -197,12 +197,12 @@ addBoolValue( void** pp, char const* pzName, size_t nameLen,
     pNV = AGALOC( sz, "option name/bool value pair" );
     if (pNV == NULL)
         return NULL;
-    while (isspace( *pzValue ) && (dataLen > 0)) {
+    while (isspace( (int)*pzValue ) && (dataLen > 0)) {
         dataLen--; pzValue++;
     }
     if (dataLen == 0)
         pNV->v.boolVal = 0;
-    else if (isdigit( *pzValue ))
+    else if (isdigit( (int)*pzValue ))
         pNV->v.boolVal = atoi( pzValue );
     else switch (*pzValue) {
     case 'f':
@@ -237,7 +237,7 @@ addNumberValue( void** pp, char const* pzName, size_t nameLen,
     pNV = AGALOC( sz, "option name/bool value pair" );
     if (pNV == NULL)
         return NULL;
-    while (isspace( *pzValue ) && (dataLen > 0)) {
+    while (isspace( (int)*pzValue ) && (dataLen > 0)) {
         dataLen--; pzValue++;
     }
     if (dataLen == 0)
@@ -300,9 +300,9 @@ scanNameEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
     size_t nameLen = 1;
     size_t dataLen = 0;
 
-    while (ISNAMECHAR( *pzScan ))  { pzScan++; nameLen++; }
+    while (ISNAMECHAR( (int)*pzScan ))  { pzScan++; nameLen++; }
 
-    while (isspace( *pzScan )) {
+    while (isspace( (int)*pzScan )) {
         char ch = *(pzScan++);
         if ((ch == '\n') || (ch == ',')) {
             addStringValue( &(pRes->v.nestVal), pzName, nameLen, NULL, 0 );
@@ -313,7 +313,7 @@ scanNameEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
     switch (*pzScan) {
     case '=':
     case ':':
-        while (isspace( *++pzScan ))  ;
+        while (isspace( (int)*++pzScan ))  ;
         switch (*pzScan) {
         case ',':  goto comma_char;
         case '"':
@@ -390,7 +390,7 @@ scanXmlEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
     tOptionValue  valu;
     tOptionValue* pNewVal;
 
-    if (! isalpha(*pzName)) {
+    if (! isalpha((int)*pzName)) {
         switch (*pzName) {
         default:
             pzName = NULL;
@@ -411,7 +411,7 @@ scanXmlEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
         return pzName;
     }
 
-    while (isalpha( *++pzScan ))  nameLen++;
+    while (isalpha( (int)*++pzScan ))  nameLen++;
     if (nameLen > 64)
         return NULL;
     valu.valType = OPARG_TYPE_STRING;
@@ -461,7 +461,7 @@ scanXmlEntry( char const* pzName, tOptionValue* pRes, tOptionLoadMode mode )
             return NULL;
         valLen = (pzScan - pzVal);
         pzScan += nameLen + 3;
-        while (isspace( *pzScan ))  pzScan++;
+        while (isspace(  (int)*pzScan ))  pzScan++;
     }
 
     switch (valu.valType) {
@@ -514,7 +514,7 @@ unloadNestedArglist( tArgList* pAL )
     tCC** ppNV = pAL->apzArgs;
 
     while (ct-- > 0) {
-        tOptionValue* pNV = (tOptionValue*)*(ppNV++);
+        tOptionValue* pNV = (tOptionValue*)(void*)*(ppNV++);
         if (pNV->valType == OPARG_TYPE_HIERARCHY)
             unloadNestedArglist( pNV->v.nestVal );
         free( pNV );
@@ -566,8 +566,8 @@ sortNestedList( tArgList* pAL )
      */
     for (ix = 0; ++ix < lm;) {
         int iy = ix-1;
-        tOptionValue* pNewNV = (tOptionValue*)pAL->apzArgs[ix];
-        tOptionValue* pOldNV = (tOptionValue*)pAL->apzArgs[iy];
+        tOptionValue* pNewNV = (tOptionValue*)(void*)(pAL->apzArgs[ix]);
+        tOptionValue* pOldNV = (tOptionValue*)(void*)(pAL->apzArgs[iy]);
 
         /*
          *  For as long as the new entry precedes the "old" entry,
@@ -576,7 +576,7 @@ sortNestedList( tArgList* pAL )
          */
         while (strcmp( pOldNV->pzName, pNewNV->pzName ) > 0) {
             pAL->apzArgs[iy+1] = (void*)pOldNV;
-            pOldNV = (tOptionValue*)pAL->apzArgs[--iy];
+            pOldNV = (tOptionValue*)(void*)(pAL->apzArgs[--iy]);
             if (iy < 0)
                 break;
         }
@@ -621,7 +621,7 @@ optionLoadNested( char const* pzTxt, char const* pzName, size_t nameLen,
         errno = EINVAL;
         return NULL;
     }
-    while (isspace( *pzTxt ))  pzTxt++;
+    while (isspace( (int)*pzTxt ))  pzTxt++;
     if (*pzTxt == NUL) {
         errno = ENOENT;
         return NULL;
@@ -649,8 +649,8 @@ optionLoadNested( char const* pzTxt, char const* pzName, size_t nameLen,
      *  Scan until we hit a NUL.
      */
     do  {
-        while (isspace( *pzTxt ))  pzTxt++;
-        if (isalpha( *pzTxt )) {
+        while (isspace( (int)*pzTxt ))  pzTxt++;
+        if (isalpha( (int)*pzTxt )) {
             pzTxt = scanNameEntry( pzTxt, pRes, mode );
         }
         else switch (*pzTxt) {
@@ -699,7 +699,6 @@ optionNestedVal( tOptions* pOpts, tOptDesc* pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/nested.c */
index d21c927e165fde1d39a981597837486ed6caaf3b..486981fb5cce4ac78362946c17b764328621b15e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: numeric.c,v 4.7 2006/03/25 19:23:28 bkorb Exp $
+ *  $Id: numeric.c,v 4.9 2006/09/24 02:10:45 bkorb Exp $
  *  Time-stamp:      "2006-09-22 18:14:38 bkorb"
  */
 
@@ -83,7 +83,6 @@ optionNumericVal( tOptions* pOpts, tOptDesc* pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/numeric.c */
index 61684555d7f8fa9edff4b9b68b924110777d3f73..85b558c0d9fafce0ca70f987680519f31ae30fc9 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: pgusage.c,v 4.12 2006/07/16 15:27:50 bkorb Exp $
+ *  $Id: pgusage.c,v 4.13 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-07-16 08:13:26 bkorb"
  *
  *   Automated Options Paged Usage module.
@@ -152,7 +152,6 @@ optionPagedUsage( tOptions* pOptions, tOptDesc* pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/pgusage.c */
index 55bf229b5f2ab0ceb275069e82d6155b4d568331..80f1d06e393dc25ed203b1974c7141f63268d9e4 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- buffer-read-only: t -*- vi: set ro:
  *
  * Prototypes for autoopts
- * Generated Fri Sep 22 18:22:00 PDT 2006
+ * Generated Sun Sep 24 15:28:27 PDT 2006
  */
 #ifndef AUTOOPTS_PROTO_H_GUARD
 #define AUTOOPTS_PROTO_H_GUARD 1
index b5b4d80ea24f31e91c2fcc83ec24691651f439ab..fda77eea75016ff8164fed0c08e1a0b25fe2cc46 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
- *  $Id: putshell.c,v 4.12 2006/07/16 15:27:50 bkorb Exp $
- * Time-stamp:      "2006-09-22 18:08:30 bkorb"
+ *  $Id: putshell.c,v 4.14 2006/09/24 02:10:45 bkorb Exp $
+ * Time-stamp:      "2006-09-24 15:28:15 bkorb"
  *
  *  This module will interpret the options set in the tOptions
  *  structure and print them to standard out in a fashion that
@@ -192,7 +192,7 @@ optionPutShell( tOptions* pOpts )
                 printf( "typeset -x -i %s_", pOD->pz_NAME );
                 pz += strspn( pz, " +\t\n\f" );
                 for (;;) {
-                    char ch = *(pz++);
+                    int ch = *(pz++);
                          if (islower( ch ))  fputc( toupper( ch ), stdout );
                     else if (isalnum( ch ))  fputc( ch, stdout );
                     else if (isspace( ch )
@@ -327,7 +327,6 @@ optionPutShell( tOptions* pOpts )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/putshell.c */
index ce788b3303c62cf41d5fef44a5280831b3f73aa6..0bd7e1f07f8b5fc7c5e27588af7a8055ab41a2ca 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  restore.c  $Id: restore.c,v 4.7 2006/03/25 19:23:28 bkorb Exp $
+ *  restore.c  $Id: restore.c,v 4.8 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2005-02-23 15:10:20 bkorb"
  *
  *  This module's routines will save the current option state to memory
@@ -201,7 +201,6 @@ optionFree( tOptions* pOpts )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/restore.c */
index 6aeb3b877065d2576c4c1cd9aec4f9bf81e9f3cd..6c5666e0c8b253033f2b6a67e2b8d0fbe664bfa7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  save.c  $Id: save.c,v 4.17 2006/09/23 00:09:48 bkorb Exp $
+ *  save.c  $Id: save.c,v 4.19 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:11:20 bkorb"
  *
  *  This module's routines will take the currently set options and
@@ -495,7 +495,6 @@ optionSaveFile( tOptions* pOpts )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/save.c */
index de0bd5634d1bfa997d7f71a81f343d0cacca5de8..3b5eafd427f941a25bf480345b430d6cb2df00aa 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  sort.c  $Id: sort.c,v 4.10 2006/06/24 23:34:51 bkorb Exp $
+ *  sort.c  $Id: sort.c,v 4.11 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-06-24 10:53:35 bkorb"
  *
  *  This module implements argument sorting.
@@ -363,7 +363,6 @@ optionSort( tOptions* pOpts )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/sort.c */
index a5eb00407957bee75fc90c57a3c369f52bf43b9f..fb78898e134e0484755f9bb85cffd8fbab7e12f6 100644 (file)
@@ -1,7 +1,7 @@
 
 /*
  *  stack.c
- *  $Id: stack.c,v 4.10 2006/07/14 04:20:17 bkorb Exp $
+ *  $Id: stack.c,v 4.12 2006/09/24 02:10:45 bkorb Exp $
  *  Time-stamp:      "2006-09-22 18:13:19 bkorb"
  *
  *  This is a special option processing routine that will save the
@@ -259,7 +259,6 @@ optionStackArg(
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/stack.c */
index e16debd15e26fae4a4b51cd7960bc316f05fd3b2..257ce88404878f7804d751ffecb9982b17ee85b0 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  $Id: streqvcmp.c,v 4.11 2006/09/23 00:09:48 bkorb Exp $
+ *  $Id: streqvcmp.c,v 4.12 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-07-26 18:25:53 bkorb"
  *
  *  String Equivalence Comparison
@@ -284,7 +284,6 @@ strtransform( char* d, char const* s )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/streqvcmp.c */
index 3455fd5ec6f80b5aea094b0b39b415d4c17a3811..ef70a9c11985afec209627dc752d395fa1492213 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: text_mmap.c,v 4.15 2006/09/23 00:09:48 bkorb Exp $
+ * $Id: text_mmap.c,v 4.16 2006/09/24 02:10:45 bkorb Exp $
  *
  * Time-stamp:      "2006-09-10 14:50:04 bkorb"
  */
@@ -357,7 +357,6 @@ text_munmap( tmap_info_t* pMI )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/text_mmap.c */
index c1b4c9ba1e5b1fbe9bd6d75e754ae6f453f1f613..0e576ce26d0ac9487955d2333b5137d1c1ca593b 100644 (file)
@@ -316,7 +316,6 @@ main( int argc, char** argv )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/tokenize.c */
index 4f0531823a2db61839aa841ffbee0f970e4525dd..f4798af17822195c9ab2891ab237f3128e496cc7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- *  usage.c  $Id: usage.c,v 4.16 2006/09/23 00:09:48 bkorb Exp $
+ *  usage.c  $Id: usage.c,v 4.17 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-07-01 12:41:02 bkorb"
  *
  *  This module implements the default usage procedure for
@@ -726,7 +726,6 @@ setStdOptFmts( tOptions* pOpts, tCC** ppT )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/usage.c */
index 6b1e6917fdf56128193c41b0c03a35e600194d52..f528699d3e6e6cfd2df3cbc375fe75bf00db6c62 100644 (file)
@@ -1,5 +1,5 @@
 
-/*  $Id: version.c,v 4.10 2006/09/23 00:09:48 bkorb Exp $
+/*  $Id: version.c,v 4.12 2006/09/24 02:10:45 bkorb Exp $
  * Time-stamp:      "2006-09-22 18:15:00 bkorb"
  *
  *  This module implements the default usage procedure for
@@ -171,7 +171,6 @@ optionVersionStderr( tOptions*  pOpts, tOptDesc*  pOD )
  * Local Variables:
  * mode: C
  * c-file-style: "stroustrup"
- * tab-width: 4
  * indent-tabs-mode: nil
  * End:
  * end of autoopts/version.c */
index df7a1c2d3393f9355342168b5edf4d4b61e62f36..288e4760d6e28eec46faf7e8e82f6ef13e9e1d98 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (sntp-opts.c)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:28:21 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:58:04 AM EDT
  *  From the definitions    sntp-opts.def
  *  and the template file   options
  */
index f9d72725265407bc6919cdb386376eb13471b046..2476db6f5e54278c15b7c78d8e28eb4a15009357 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (sntp-opts.h)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:28:20 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:58:03 AM EDT
  *  From the definitions    sntp-opts.def
  *  and the template file   options
  */
index 22effe58e5d31435e46408ef472d67ffacdd05d0..bf8f59a8943d49311ba9cb9091d38f52247b879b 100644 (file)
@@ -7,7 +7,7 @@
 # 
 # DO NOT EDIT THIS FILE   (sntp-opts.texi)
 # 
-# It has been AutoGen-ed  Sunday September 24, 2006 at 05:28:23 AM EDT
+# It has been AutoGen-ed  Monday September 25, 2006 at 12:58:06 AM EDT
 # From the definitions    sntp-opts.def
 # and the template file   aginfo.tpl
 @end ignore
index adfe831c30c152ee22f23d5ba036026318587df3..d4716a9035504960e6e75f1413a8e77bee064a7c 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntp-keygen-opts.c)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:29:37 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:35 AM EDT
  *  From the definitions    ntp-keygen-opts.def
  *  and the template file   options
  */
@@ -36,7 +36,7 @@ tSCC zCopyright[] =
        "ntp-keygen copyright (c) 1970-2006 ntp.org, all rights reserved";
 tSCC zCopyrightNotice[] =
        
-/* extracted from ../include/copyright.def near line 8 */
+/* extracted from /deacon/backroom/ntp-dev/include/copyright.def near line 8 */
 "see html/copyright.html";
 extern tUsageProc optionUsage;
 
@@ -867,6 +867,7 @@ doOptSet_Debug_Level(
     tOptions*   pOptions,
     tOptDesc*   pOptDesc )
 {
+    /* extracted from /deacon/backroom/ntp-dev/include/debug-opt.def, line 29 */
 DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );
 }
 #endif /* defined DEBUG */
index d3e0444a18106d3fa88f46084cd1d7fc2b940580..284f58473cfbba6a09fc0cb6733105d7c839559d 100644 (file)
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (ntp-keygen-opts.h)
  *  
- *  It has been AutoGen-ed  Sunday September 24, 2006 at 05:29:37 AM EDT
+ *  It has been AutoGen-ed  Monday September 25, 2006 at 12:45:34 AM EDT
  *  From the definitions    ntp-keygen-opts.def
  *  and the template file   options
  */
index 3370841ccbac46d58d6bba4e89e4cd6add14128f..f3f5ea73183c98f9666eb6d8efa26c06d479f9e0 100644 (file)
@@ -7,7 +7,7 @@
 # 
 # DO NOT EDIT THIS FILE   (ntp-keygen-opts.texi)
 # 
-# It has been AutoGen-ed  Sunday September 24, 2006 at 05:29:39 AM EDT
+# It has been AutoGen-ed  Monday September 25, 2006 at 12:59:10 AM EDT
 # From the definitions    ntp-keygen-opts.def
 # and the template file   aginfo.tpl
 @end ignore
@@ -91,7 +91,7 @@ or by a single hyphen and the flag character.
 
 The following option preset mechanisms are supported:
  - reading file /users/stenn/.ntprc
- - reading file /deacon/backroom/snaps/ntp-dev/util/.ntprc
+ - reading file /deacon/backroom/ntp-dev/util/.ntprc
  - examining environment variables named NTP_KEYGEN_*
 
 If there is no new host key, look for an existing one.
index c1f3ef5b8125ce0ce7ae5c6725b5df167fc86b78..b640b9a6ea20c010e3553b3868a635cb1b91587f 100644 (file)
@@ -1,7 +1,7 @@
-.TH NTP-KEYGEN 1 2006-09-24 "(ntp 4.2.3p50)" "Programmer's Manual"
+.TH NTP-KEYGEN 1 2006-09-25 "(ntp 4.2.3p50)" "Programmer's Manual"
 .\"  DO NOT EDIT THIS FILE   (ntp-keygen.1)
 .\"  
-.\"  It has been AutoGen-ed  Sunday September 24, 2006 at 05:29:38 AM EDT
+.\"  It has been AutoGen-ed  Monday September 25, 2006 at 12:59:09 AM EDT
 .\"  From the definitions    ntp-keygen-opts.def
 .\"  and the template file   agman1.tpl
 .\"