Well, I found a bug in my virtual host fd cacheing and reved B73 accordingly.
Seems there were some funny interaction with log file rotating via
a SIGHUP.
I'm getting more and more frustrated trying to wedge stuff into
a large program that was not well architected. I think
we need to start pondering building our own framework....
The more I look at the code, the more I realize that this
seemed like an experiment in writing a UNIX program, rather than
something real :( It's funny to see how the same thing is done in
different ways (ie error_log is a FILE *, and xfer_log is a fd),
come on...make up your mind :) I also love how the traditional
mode 0666 is not used as the third argument to open. This
means the process umask is not payed enough attention to, agh...
Building the broken mode into a static variable, was well, kinda
different...maybe a little learning about C was going on here
too. :/
It's late, I'm very tired, and I've just had it with this code.
You can add honey to shit, but you just get sweet tasting shit.
No matter what you add to shit, you end up with some form of shit.
I am not proud of the patches I need to do, but there is no clean
easy was of integrating the junk.
Maybe I should not break my rule about waiting 24 hours to
send a flame...nah...I'll probably regret this in the AM.
Good night,
Cliff
Seems there were some funny interaction with log file rotating via
a SIGHUP.
I'm getting more and more frustrated trying to wedge stuff into
a large program that was not well architected. I think
we need to start pondering building our own framework....
The more I look at the code, the more I realize that this
seemed like an experiment in writing a UNIX program, rather than
something real :( It's funny to see how the same thing is done in
different ways (ie error_log is a FILE *, and xfer_log is a fd),
come on...make up your mind :) I also love how the traditional
mode 0666 is not used as the third argument to open. This
means the process umask is not payed enough attention to, agh...
Building the broken mode into a static variable, was well, kinda
different...maybe a little learning about C was going on here
too. :/
It's late, I'm very tired, and I've just had it with this code.
You can add honey to shit, but you just get sweet tasting shit.
No matter what you add to shit, you end up with some form of shit.
I am not proud of the patches I need to do, but there is no clean
easy was of integrating the junk.
Maybe I should not break my rule about waiting 24 hours to
send a flame...nah...I'll probably regret this in the AM.
Good night,
Cliff