project-zs patches by psxc
--------------------------

These two patches will add a feature to only run a script on .nfo files. I
made the patches to work around a bug in glftpd's post_check, and to prevent the
script from checking all files, as it will do if you use zs-c's accept_script.

When you install the patches, or replaces the original files with the ones in
src/, you have two more config items in zsconfig.h, called "enable_nfo_script"
and "nfo_script". They work just the same as accept_script, but they will only
run on .nfo files.

To patch:

cd project-zs
patch -p1 zipscript/src/zipscript-c.c < /path/to/patches/zipscript-c.c.patch
patch -p1 zipscript/conf/zsconfig.h < /path/to/patches/zsconfig.h.patch

Or copy the files in src/ over the original files. These are from the original
project-zs-022302.tgz release, so if you have already patched them or modified
them (you usually modify zsconfig.h), then try to patch first.

- psxc

