From: Marc Murphy <mwmurphy@ro...> - 2002-11-15 08:53:35
I have RedHat 8 and was using bash for my shell. I ran into the problem
where slashd.log is no updated (but slashd is still running), seemingly
breaking whenever freshenup.pl runs and tries to update a story
(writestatus is not ok).
I noticed when I put some print statements after the prog2file call in
freshenup.pl that it seemed to magically fix the problem. Something to
do with output streams perhaps..I wondered if it could be linked to the
perl problem I have with my fresh RH8 install...which is basically print
"hello" won't print, but print "hello\n" will (does anyone know anything
about this...something to do with flushing a buffer...never had to worry
about it before RH8 perl 5.8).
Anyhow, without wanting to put print statements in as a hack I tried csh
instead of bash. Coincidentally...perhaps not, it also allowed perl to
print 'hello' without the newline. Changing to csh also fixed the
problem. If anyone can explain this I'm sure it would be of benefit to
many users out there.
I'm thinking this can be classed as an environment problem...something
is weird about the shell and perl, but thought I should write it up
since other people were reporting the exact same freshenup.pl dying
problem on the slashcode.com website.
Get latest updates about Open Source Projects, Conferences and News.