Commit 8358302d authored by Bruce Momjian's avatar Bruce Momjian

This patch fixes minor bugs in dictionary generator in contrib/tsearch

(contrib/tsearch/makedict/makedict.pl)

[ Backpatched to 7.3.]

Teodor Sigaev
parent e60b5d53
......@@ -4,7 +4,7 @@ use Getopt::Std;
use locale;
my %opt;
getopts('l:he:s:ap:om:f', \%opt);
getopts('l:he:s:ap:o:m:f', \%opt);
if ( $opt{h} || ! ($opt{e}||$opt{s}) || !$opt{l} ) {
print<<EOT;
......@@ -94,6 +94,8 @@ print {$fh} <<EOT;
*/
#ifdef DICT_BODY
#include <ctype.h>
typedef struct {
uint8 val;
uint8 flag;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment