View | Details | Raw Unified
Collapse All | Expand All

(-) hunspell-1.1.3.orig/src/tools/Makefile.am (-5 / +5 lines)
 Lines 1-13    Link Here 
bin_PROGRAMS=munch unmunch example hunspell hunmorph hunstem
bin_PROGRAMS=hunspell-munch hunspell-unmunch hunspell-example hunspell hunmorph hunstem
INCLUDES=-I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers
INCLUDES=-I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers
munch_SOURCES=munch.c
hunspell_munch_SOURCES=munch.c
unmunch_SOURCES=unmunch.c
hunspell_unmunch_SOURCES=unmunch.c
include_HEADERS=munch.h unmunch.h
include_HEADERS=munch.h unmunch.h
example_SOURCES=example.cxx
hunspell_example_SOURCES=example.cxx
example_LDADD = ../hunspell/libhunspell.la
hunspell_example_LDADD = ../hunspell/libhunspell.la
hunspell_SOURCES=hunspell.cxx
hunspell_SOURCES=hunspell.cxx
hunspell_LDADD = @LIBINTL@ ../hunspell/libhunspell.la \
hunspell_LDADD = @LIBINTL@ ../hunspell/libhunspell.la \
(-) hunspell-1.1.3.orig/src/tools/example.cxx (-3 / +3 lines)
 Lines 24-44    Link Here 
       af = mystrdup(argv[1]);
       af = mystrdup(argv[1]);
  } else {
  } else {
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"example affix_file dictionary_file file_of_words_to_check\n");
    fprintf(stderr,"hunspell-example affix_file dictionary_file file_of_words_to_check\n");
    exit(1);
    exit(1);
  }
  }
  if (argv[2]) {
  if (argv[2]) {
       df = mystrdup(argv[2]);
       df = mystrdup(argv[2]);
  } else {
  } else {
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"example affix_file dictionary_file file_of_words_to_check\n");
    fprintf(stderr,"hunspell-example affix_file dictionary_file file_of_words_to_check\n");
    exit(1);
    exit(1);
  }
  }
  if (argv[3]) {
  if (argv[3]) {
       wtc = mystrdup(argv[3]);
       wtc = mystrdup(argv[3]);
  } else {
  } else {
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"example affix_file dictionary_file file_of_words_to_check\n");
    fprintf(stderr,"hunspell-example affix_file dictionary_file file_of_words_to_check\n");
    exit(1);
    exit(1);
  }
  }
(-) hunspell-1.1.3.orig/src/tools/hunmorph.cxx (-1 / +1 lines)
 Lines 26-32    Link Here 
    for (i = 1; i < 3; i++)
    for (i = 1; i < 3; i++)
	if (!argv[i]) {
	if (!argv[i]) {
	    fprintf(stderr, "correct syntax is:\nexample affix_file");
	    fprintf(stderr, "correct syntax is:\nhunmorph affix_file");
	    fprintf(stderr, " dictionary_file file_of_words_to_check\n");
	    fprintf(stderr, " dictionary_file file_of_words_to_check\n");
	    exit(1);
	    exit(1);
	}
	}
(-) hunspell-1.1.3.orig/src/tools/hunstem.cxx (-1 / +1 lines)
 Lines 25-31    Link Here 
    for (i = 1; i < 3; i++)
    for (i = 1; i < 3; i++)
	if (!argv[i]) {
	if (!argv[i]) {
	    fprintf(stderr, "correct syntax is:\nexample affix_file");
	    fprintf(stderr, "correct syntax is:\nhunstem affix_file");
	    fprintf(stderr, " dictionary_file file_of_words_to_check\n");
	    fprintf(stderr, " dictionary_file file_of_words_to_check\n");
	    exit(1);
	    exit(1);
	}
	}
(-) hunspell-1.1.3.orig/src/tools/munch.c (-2 / +2 lines)
 Lines 42-55    Link Here 
       wf = mystrdup(argv[1]);
       wf = mystrdup(argv[1]);
  } else {
  } else {
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"munch word_list_file affix_file\n");
    fprintf(stderr,"hunspell-munch word_list_file affix_file\n");
    exit(1);
    exit(1);
  }
  }
  if (argv[2]) {
  if (argv[2]) {
       af = mystrdup(argv[2]);
       af = mystrdup(argv[2]);
  } else {
  } else {
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"munch word_list_file affix_file\n");
    fprintf(stderr,"hunspell-munch word_list_file affix_file\n");
    exit(1);
    exit(1);
  }
  }
(-) hunspell-1.1.3.orig/src/tools/unmunch.c (-2 / +2 lines)
 Lines 39-52    Link Here 
       wf = mystrdup(argv[1]);
       wf = mystrdup(argv[1]);
  } else {
  } else {
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"unmunch dic_file affix_file\n");
    fprintf(stderr,"hunspell-unmunch dic_file affix_file\n");
    exit(1);
    exit(1);
  }
  }
  if (argv[2]) {
  if (argv[2]) {
       af = mystrdup(argv[2]);
       af = mystrdup(argv[2]);
  } else {
  } else {
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"correct syntax is:\n"); 
    fprintf(stderr,"unmunch dic_file affix_file\n");
    fprintf(stderr,"hunspell-unmunch dic_file affix_file\n");
    exit(1);
    exit(1);
  }
  }