OSSP CVS Repository

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

ossp-pkg/rc/rc_config.c 1.40 -> 1.41

--- rc_config.c  2003/07/11 09:18:20     1.40
+++ rc_config.c  2003/07/11 09:38:29     1.41
@@ -29,11 +29,16 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <dirent.h>         /* For opendir(3) */
+#include <dirent.h>     /* For opendir(3) */
 
 #include "rc.h"
 #include "rc_config.h"
-#include "rc_const.h"       /* String constants                     */
+#include "rc_const.h"   /* String constants */
+
+/* Cludge the version id */
+#define _RC_VERSION_C_AS_HEADER_
+#include "rc_version.c"
+#undef  _RC_VERSION_C_AS_HEADER_
 
 static int m_nLocks = 0;    /* Server locks, not thread-safe FIXME  */
 
@@ -264,7 +269,7 @@
             bStop = TRUE;
         }
         else if (configGetval(RC_VER_VAL)) {
-            fprintf(stdout, "OSSP rc %s\n", RC_VERSION);
+            fprintf(stdout, "OSSP rc %s\n", rc_version.v_short);
             bStop = TRUE;
         }
     }

CVSTrac 2.0.1