Lloyd Zusman writes:
Sam Varshavchik <[EMAIL PROTECTED]> writes:Lloyd Zusman writes:Sam Varshavchik <[EMAIL PROTECTED]> writes: [ ... ]No, the filters are NOT invoked in any particular order.Oh ... OK. So, could you point me to the place in the Courier source code where the filters get invoked? [ ... ]courier/cdfilters.C, run_filter(). The code reads the directory, and just opens each socket file that it gets, on the fly. You want to modify run_filter(). This is also very old code, and not something that I'm especially proud ofâ¦Thank you. Yes, I can see that this is done via a couple of simple readdir() loops. How about if I just put something in there that sorts the file names in ascending ASCII sequence? Then, I could make use of prefixes like "00-", "01-", etc. to cause the filters to be invoked in the order that I desire. I'll have some sort of patch within a couple days.
Sounds reasonable.
pgp4DOiwOJPOD.pgp
Description: PGP signature
