Previous 15994 Revisions Next

r5256 Thursday 16th July, 2009 at 16:17:21 UTC by Wilbert Pol
Merged fix for split.c from mame.
[src/tools]split.c

src/tools/split.c
r5255r5256
1515#include <ctype.h>
1616#include "astring.h"
1717#include "corefile.h"
18#include "corestr.h"
1819#include "sha1.h"
1920
2021#define DEFAULT_SPLIT_SIZE      100
r5255r5256
396397      goto usage;
397398
398399   /* split command */
399   if (stricmp(argv[1], "-split") == 0)
400   if (core_stricmp(argv[1], "-split") == 0)
400401   {
401402      if (argc != 4 && argc != 5)
402403         goto usage;
r5255r5256
404405   }
405406
406407   /* join command */
407   else if (stricmp(argv[1], "-join") == 0)
408   else if (core_stricmp(argv[1], "-join") == 0)
408409   {
409410      if (argc != 3 && argc != 4)
410411         goto usage;
r5255r5256
412413   }
413414
414415   /* verify command */
415   else if (stricmp(argv[1], "-verify") == 0)
416   else if (core_stricmp(argv[1], "-verify") == 0)
416417   {
417418      if (argc != 3)
418419         goto usage;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team