Fixes for Fedora Linux

This commit is contained in:
Michiel Broek 2004-04-09 18:31:22 +00:00
parent ef422b88f0
commit 1d076afea1
9 changed files with 169 additions and 145 deletions

View File

@ -30,11 +30,28 @@ v0.51.3 22-Mar-2003
announces of files like FP-DEF.ZIP.
Fixed (I hope for real now) the double announce of the files
like FP-DEF.ZIP received twice a day.
Fixed SIGCHLD logmessages on Fedora.
mbfile:
Fixed SIGCHLD logmessages on Fedora.
mbdiff:
Fixed SIGCHLD logmessages on Fedora.
mbtask:
Fixed crash on NetBSD Sparc when getsysinfo was called.
Fixed disk search check when /opt/mbse is a symlink on a non-
root disk to display the correct partition.
Fixed SIGCHLD logmessages on Fedora.
mbsebbs:
Fixed SIGCHLD logmessages on Fedora.
mbnewusr:
Fixed SIGCHLD logmessages on Fedora.
mball:
Fixed SIGCHLD logmessages on Fedora.
mblogin:
Changed some defines for NetBSD 1.6.2

3
TODO
View File

@ -14,9 +14,6 @@ $Id$
L = Cosmetic or nice to have.
X = Will not be done unless it's really needed.
general:
N: Investigate the wait logmessages on Fedora.
everything:
L: Consider XML format for databases.

View File

@ -14,20 +14,19 @@
</HEAD>
<BODY>
<BLOCKQUOTE>
<div align='right'><h5>Last update 30-Jan-2001</h5></div>
<div align='right'><h5>Last update 09-Apr-2004</h5></div>
<div align='center'><H1>MBSE BBS Setup - Create Sitedocs.</H1></div>
<H3>Create Sitedocs</H3>
<P>
This option creates 3 documents in the doc directory under the home directory
of MBSE BBS, site.doc, xref.doc and stat.doc. Only the file site.doc is more
or less complete, the other 2 are heavily under construction. These three
files are a complete reference of your BBS setup. Especially the site.doc is
a large document, think at least four times before you send it to a printer.
The document xref.doc will contain lists with data from your setup that
depends on eachother. The file stat.doc will be a listing of all statistic
counters that are present in several data files.
This option creates everal documents in the share/doc and share/doc/html
directories under the home directory of MBSE BBS. In the first directory is a
file called site.doc that is formatted to print. In the html directory are
a lot of html pages with cross reference links. Since these pages contain
confidentional information of your users and links, you should not make these
html pages public available, but you can browse these with a browser with open
file and point to /opt/mbse/share/html/index.html.
<P>
<A HREF="./"><IMG SRC="../images/larrow.png" ALT="Back" Border="0">Back to index</A>&nbsp;

View File

@ -127,6 +127,8 @@ int main(int argc, char **argv)
for (i = 0; i < NSIG; i++) {
if ((i == SIGHUP) || (i == SIGINT) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV))
signal(i, (void (*))die);
else if (i == SIGCHLD)
signal(i, SIG_DFL);
else if ((i != SIGKILL) && (i != SIGSTOP))
signal(i, SIG_IGN);
}

View File

@ -312,6 +312,8 @@ int main(int argc, char **argv)
if ((i == SIGINT) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV) || (i == SIGTERM))
signal(i, (void (*))die);
else if (i == SIGCHLD)
signal(i, SIG_DFL);
else if ((i != SIGKILL) && (i != SIGSTOP))
signal(i, SIG_IGN);
}

View File

@ -86,6 +86,8 @@ int main(int argc, char **argv)
for (i = 0; i < NSIG; i++) {
if ((i == SIGHUP) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV) || (i == SIGTERM))
signal(i, (void (*))die);
else if (i == SIGCHLD)
signal(i, SIG_DFL);
else if ((i != SIGKILL) && (i != SIGSTOP))
signal(i, SIG_IGN);
}

View File

@ -142,6 +142,8 @@ int main(int argc, char **argv)
for (i = 0; i < NSIG; i++) {
if ((i == SIGHUP) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV) || (i == SIGTERM))
signal(i, (void (*))die);
else if (i == SIGCHLD)
signal(i, SIG_DFL);
else if ((i != SIGKILL) && (i != SIGSTOP))
signal(i, SIG_IGN);
}

View File

@ -49,10 +49,9 @@ char *StartTime;
int main(int argc, char **argv)
{
char *p, *tty;
char *p, *tty, temp[PATH_MAX];
FILE *pTty;
int i;
char temp[PATH_MAX];
struct passwd *pw;
printf("\n\nLoading MBSE BBS New User Registration ...\n\n");
@ -136,9 +135,11 @@ int main(int argc, char **argv)
/*
* Trap signals
*/
for(i = 0; i < NSIG; i++) {
for (i = 0; i < NSIG; i++) {
if ((i == SIGHUP) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV) || (i == SIGTERM) || (i == SIGKILL))
signal(i, (void (*))die);
else if (i == SIGCHLD)
signal(i, SIG_DFL);
else
signal(i, SIG_IGN);
}

View File

@ -143,6 +143,8 @@ int main(int argc, char **argv)
for(i = 0; i < NSIG; i++) {
if ((i == SIGHUP) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV) || (i == SIGTERM))
signal(i, (void (*))die);
else if (i == SIGCHLD)
signal(i, SIG_DFL);
else if ((i != SIGKILL) && (i != SIGSTOP))
signal(i, SIG_IGN);
}