[Scummvm-cvs-logs] CVS: tools Makefile.mingw,1.13,1.14 md5table.c,1.3,1.4

Travis Howell kirben at users.sourceforge.net
Tue Dec 30 17:30:09 CET 2003


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv10259

Modified Files:
	Makefile.mingw md5table.c 
Log Message:

Add new tools to makefile.
Add change from logix to allow md5table to compile on win32.


Index: Makefile.mingw
===================================================================
RCS file: /cvsroot/scummvm/tools/Makefile.mingw,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Makefile.mingw	28 Nov 2003 07:58:13 -0000	1.13
+++ Makefile.mingw	31 Dec 2003 01:29:09 -0000	1.14
@@ -12,6 +12,7 @@
 	strip descumm.exe -o $(SCUMMVMPATH)/tools/descumm.exe
 	strip desword2.exe -o $(SCUMMVMPATH)/tools/desword2.exe
 	strip extract.exe -o $(SCUMMVMPATH)/tools/extract.exe
+	strip md5table.exe -o $(SCUMMVMPATH)/tools/md5table.exe
 	strip mm_nes_extract.exe -o $(SCUMMVMPATH)/tools/mm_nes_extract.exe
 	strip queenrebuild.exe -o $(SCUMMVMPATH)/tools/queenrebuild.exe
 	strip rescumm.exe -o $(SCUMMVMPATH)/tools/rescumm.exe

Index: md5table.c
===================================================================
RCS file: /cvsroot/scummvm/tools/md5table.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- md5table.c	30 Dec 2003 16:50:41 -0000	1.3
+++ md5table.c	31 Dec 2003 01:29:09 -0000	1.4
@@ -101,12 +101,12 @@
 	assert(line);
 	
 	/* Split at the tabs */
-	entry->desc = strsep(&line, "\t\n\r");
-	entry->platform = strsep(&line, "\t\n\r");
-	entry->language = strsep(&line, "\t\n\r");
-	entry->md5 = strsep(&line, "\t\n\r");
-	entry->target = strsep(&line, "\t\n\r");
-	entry->infoSource = strsep(&line, "\t\n\r");
+	entry->desc = strtok(&line, "\t\n\r");
+	entry->platform = strtok(NULL, "\t\n\r");
+	entry->language = strtok(NULL, "\t\n\r");
+	entry->md5 = strtok(NULL, "\t\n\r");
+	entry->target = strtok(NULL, "\t\n\r");
+	entry->infoSource = strtok(NULL, "\t\n\r");
 }
 
 static bool isEmptyLine(const char *line) {





More information about the Scummvm-git-logs mailing list