Closing Topic Error - 12/15/2001 9:35 PM
I get this error when I try to close a topic:
Here are lines above and after line 572:
quote:
An error has occured:
Can't obtain exclusive lock: Bad file descriptor at /home/coders-n/public_html/ultanime/cgi-bin/ubb_lib_files.cgi line 572.
Please inform the board administration of this error so that they may fix the problem. Thank you!
Here are lines above and after line 572:
quote:
sub sh_lock {
flock(FILE, LOCK_SH) or die "Can't obtain shared lock: $!";
} #end shared lock sr
sub lock {
flock(FILE, LOCK_EX) or die "Can't obtain exclusive lock: $! ";
} #end lock sr
sub unlock {
flock(FILE, LOCK_UN) or die "Can't release lock: $!";
} # end unlock sr