It was thus said that the Great Jeffrey Sharp once stated:
I'm testing the code I've written to spamproof the ClassicCmp web site and
archives. I call the system SpamCamo. The file filter works great and
produces links as it should. The CGI program is not behaving and is giving
me some *very* wierd behavior. I'm stumped.
I get the same results on two FreeBSD boxen. One is running 4.5-RELEASE and
the other is running 4.6-STABLE. I'd like to think this is something I've
done wrong and not a bug in libc. Any ideas?
Hard to say without seeing the code. I do have a library I wrote (in C,
GPLed) that handles CGI requests that has an *extensive* debugging facility
built in you could use (I can even supply sample CGI programs) that I've
used on multiple Unix platforms (IRIX, Linux (Intel and DEC Alpha---actually
found a libc bug on the DEC Alpha with my code), OpenBSD---not sure about
FreeBSD but it should compile fine).
Conversely if you want, I can take a look at the code and possibly figure
out what's wrong (I do have access to Linux on Intel and DEC Alpha, OpenBSD
and Solaris 8x (and maybe HP-UX 10.20 in a day or two)). That might
actually isolate the problem to FreeBSD (or your code).
-spc (Have C compiler, will code)