namazu-users-en
[Top] [All Lists]

[Namazu-users-en] mknmz broken?

2006-04-30 17:57:14
I tried searching the lists, but didn't find this...

I upgraded my namazu to the latest namazu2-2.0.16 via FreeBSD ports. It was
working fine, but now mknmz is dying with this error:

[root]/home/alex/example.com/archive# /usr/local/bin/mknmz --check-filesize
--update=./search --output-dir=./search --template-dir=./search/templates ./html
Use of uninitialized value in split at /usr/local/bin/mknmz line 1149.
Use of uninitialized value in chdir at /usr/local/bin/mknmz line 1153.
Use of chdir('') or chdir(undef) as chdir() is deprecated at
/usr/local/bin/mknmz line 1153.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/mknmz line 1154.
Usage: mknmz [options] <target>...
Try `mknmz --help' for more information.

I opened up mknmz, but a quick glance didn't find the error. Ideas?

I did find a different error though - the line:

sub process_file ($$$$$$) {

should be:

sub process_file ($$$$$$$) {

The number of prototypes is wrong, based on what @_ gets assigned to in the
next line.

Thanks,
Alex

_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en

<Prev in Thread] Current Thread [Next in Thread>