Date:	Friday April 27, 2001 @ 21:42
Author:	cameron

Update of /home/netrek/cvsroot/Vanilla/tools
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv19436/tools

Modified Files:
	Makefile.in ltd_convert.c sortdb.c 
Added Files:
	nuke.c 
Log Message:
Sat Apr 28 11:39:39 2001  Benjamin `Quisar' Lerman  <quisar at quisar.ambre.net>

	* configure.in, docs/sample_sysdef.in, docs/Makefile.in,
	INSTALL.INL: change configure --with-inl to also set .sysdef and
	update installation instructions.

	* ntserv/commands.c, robotd/util.c, robots/inlcmds.c: remove
	compiler warnings.

	* tools/nuke.c, tools/Makefile.in: restore nuke for systems that
	do not have ipcrm(8).
	
	* tools/ltd_convert.c, tools/sortdb.c: return must give value.



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

Index: Vanilla/tools/Makefile.in
diff -u Vanilla/tools/Makefile.in:1.1 Vanilla/tools/Makefile.in:1.2
--- Vanilla/tools/Makefile.in:1.1	Thu Apr 26 19:45:20 2001
+++ Vanilla/tools/Makefile.in	Fri Apr 27 21:42:34 2001
@@ -36,7 +36,7 @@
 	${srcdir}/newscores.c ${srcdir}/planets.c ${srcdir}/players.c \
 	${srcdir}/scores.c ${srcdir}/setgalaxy.c ${srcdir}/showgalaxy.c \
 	${srcdir}/stat.c ${srcdir}/trimscores.c ${srcdir}/watchmes.c \
-	${srcdir}/fun.c ${srcdir}/xtkill.c ${srcdir}/keyman.c \
+	${srcdir}/fun.c ${srcdir}/xtkill.c ${srcdir}/keyman.c ${srcdir}/nuke.c \
 	${srcdir}/../ntserv/getpath.c ${srcdir}/../ntserv/data.c \
 	${srcdir}/../ntserv/distress.c ${srcdir}/../ntserv/getship.c \
 	${srcdir}/update.c ${srcdir}/../ntserv/openmem.c ${srcdir}/convert.c \
@@ -48,7 +48,7 @@
 EXECS =	loadchecker mess message newscores planets players scores \
         setgalaxy showgalaxy stat trimscores watchmes xtkill \
         mergescores keyman updated fun conq_vert convert sortdb cambot \
-        ntpasswd ltd_dump ltd_convert
+        ntpasswd ltd_dump ltd_convert nuke
 
 all: $(PMAKE) $(EXECS)
 
@@ -70,6 +70,7 @@
 	$(INSTALLPROG) $(INSTALLOPTS) newscores $(LIBDIR)/tools/newscores
 	$(INSTALLPROG) $(INSTALLOPTS) planets $(LIBDIR)/tools/planets
 	$(INSTALLPROG) $(INSTALLOPTS) players $(LIBDIR)/tools/players
+	$(INSTALLPROG) $(INSTALLOPTS) nuke $(LIBDIR)/tools/nuke
 	$(INSTALLPROG) $(INSTALLOPTS) scores $(LIBDIR)/tools/scores
 	$(INSTALLPROG) $(INSTALLOPTS) setgalaxy $(LIBDIR)/tools/setgalaxy
 	$(INSTALLPROG) $(INSTALLOPTS) showgalaxy $(LIBDIR)/tools/showgalaxy
@@ -118,6 +119,9 @@
 
 players: players.o $(STRUCTS) $(M_OBJS) $(RANDOMO)
 	$(CC) -o $@ $(CFLAGS) ${LDFLAGS} players.o $(M_OBJS) $(RANDOMO) $(LIBS)
+
+nuke: nuke.o $(STRUCTS) $(M_OBJS) $(RANDOMO)
+	$(CC) -o $@ $(CFLAGS) ${LDFLAGS} nuke.o $(M_OBJS) $(RANDOMO) $(LIBS)
 
 # some weird problem with the MIPS RISC compiler for DECstations...
 # gcc seems to compile working executables (TC)
Index: Vanilla/tools/ltd_convert.c
diff -u Vanilla/tools/ltd_convert.c:1.3 Vanilla/tools/ltd_convert.c:1.4
--- Vanilla/tools/ltd_convert.c:1.3	Fri Apr 27 20:37:25 2001
+++ Vanilla/tools/ltd_convert.c	Fri Apr 27 21:42:34 2001
@@ -1,5 +1,5 @@
 /*
- * $Id: ltd_convert.c,v 1.3 2001/04/28 01:37:25 cameron Exp $
+ * $Id: ltd_convert.c,v 1.4 2001/04/28 02:42:34 cameron Exp $
  *
  * ahn at users.sourceforge.net
  *
@@ -33,13 +33,13 @@
 # if defined(LTD_PER_RACE)
   printf("ltd_convert: LTD_PER_RACE mode is not supported.\n");
 # endif
-  return;
+  return 1;
 
 }
 
 #else
 
-const char rcsid[] = "$Id: ltd_convert.c,v 1.3 2001/04/28 01:37:25 cameron Exp $";
+const char rcsid[] = "$Id: ltd_convert.c,v 1.4 2001/04/28 02:42:34 cameron Exp $";
 
 void error(const char *fmt, ...) {
 
Index: Vanilla/tools/sortdb.c
diff -u Vanilla/tools/sortdb.c:1.5 Vanilla/tools/sortdb.c:1.6
--- Vanilla/tools/sortdb.c:1.5	Fri Apr 27 20:37:25 2001
+++ Vanilla/tools/sortdb.c	Fri Apr 27 21:42:34 2001
@@ -135,4 +135,5 @@
     printf("Sorted.. saving out\n");
 
     write_files();
+    return 0;
 }