OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_config.c versions 1.32 and 1.33
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_config.c 1.32 -> 1.33

--- rc_config.c  2003/06/13 18:33:07     1.32
+++ rc_config.c  2003/06/18 14:35:29     1.33
@@ -74,10 +74,10 @@
     char **pszTemp = NULL;  /* For holding the section string vector */
 
     try {
-        fprintf(stderr, "Run command file: %s\n", configGetrcfile());
+        fprintf(stderr, "# Run command file: %s\n", configGetrcfile());
 
         pszTemp = (char **)configGetsecs();
-        fprintf(stderr, "Sections:");
+        fprintf(stderr, "# Sections:");
         for (i = 0; pszTemp[i]; i++)
             fprintf(stderr, " %s", pszTemp[i]);
         fputc('\n', stderr);
@@ -86,11 +86,12 @@
         for (i = 0; i < RC_NUMOPTS; i++) {
             if (configGetval(i) == NULL); /* NOP */
             else if (!(strcmp(configGetval(i), "1")))
-                fprintf(stderr, "Option %s is on.\n", configGetname(i));
+                fprintf(stderr, "# Option %s is on.\n", configGetname(i));
             else
-                fprintf(stderr, "Option %s is %s.\n", configGetname(i),\
+                fprintf(stderr, "# Option %s is %s.\n", configGetname(i),\
                     configGetval(i));
         }
+        fputc('\n', stderr);
     }
 
     catch(Except)

CVSTrac 2.0.1