Vanilla Development Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/newstartd



Date:	Monday March 15, 1999 @ 4:20
Author:	cameron

Update of /home/netrek/cvsroot/Vanilla/newstartd
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv788/newstartd

Modified Files:
	newstartd.c 
Log Message:
add server version to newstartd 2596

****************************************

Index: Vanilla/newstartd/newstartd.c
diff -u Vanilla/newstartd/newstartd.c:1.8 Vanilla/newstartd/newstartd.c:1.9
--- Vanilla/newstartd/newstartd.c:1.8	Fri Mar 12 18:34:08 1999
+++ Vanilla/newstartd/newstartd.c	Mon Mar 15 04:20:49 1999
@@ -1,7 +1,7 @@
-/* 	$Id: newstartd.c,v 1.8 1999/03/13 00:34:08 cameron Exp $	 */
+/* 	$Id: newstartd.c,v 1.9 1999/03/15 10:20:49 cameron Exp $	 */
 
 #ifndef lint
-static char vcid[] = "$Id: newstartd.c,v 1.8 1999/03/13 00:34:08 cameron Exp $";
+static char vcid[] = "$Id: newstartd.c,v 1.9 1999/03/15 10:20:49 cameron Exp $";
 #endif /* lint */
 
 /*
@@ -51,6 +51,8 @@
 #include INC_STRINGS
 #include INC_FCNTL
 #include "../ntserv/data.h"
+#include "../version.h"
+#include "../patchlevel.h"
 
 int restart;		/* global flag, set by SIGHUP, cleared by read	*/
 int debug = 0;		/* programmers' debugging flag			*/
@@ -133,6 +135,7 @@
 
   /* record our process id and announce ourselves */
   putpid ();
+  fprintf (stderr, "Vanilla Netrek Listener %spl%d\n", mvers, PATCHLEVEL );
   fprintf (stderr, "%s\n", vcid );
   fprintf (stderr, "using %s\n", portfile );
 
@@ -403,7 +406,7 @@
 		   prog[i].forks );
 	}
       }
-      fprintf (client, "\n%s\n", vcid);
+      fprintf (client, "\n%spl%d %s\n", vcid, mvers, PATCHLEVEL );
       fflush (client);
       if (fclose (client) < 0) perror("fclose");
     } else {