Added warning again
This commit is contained in:
parent
bbacbd595d
commit
14232958a4
@ -2,6 +2,7 @@ $Id$
|
||||
|
||||
v0.39.3 26-Nov-2003
|
||||
|
||||
WARNING: DO NOT USE, PROBLEMS EXIST IN THIS CVS VERSION !!!!!!!!!!!!
|
||||
general:
|
||||
Since this version Posix threads are being used, please let
|
||||
me know if this doesn't compile on you system.
|
||||
@ -24,6 +25,9 @@ v0.39.3 26-Nov-2003
|
||||
libmsgbase:
|
||||
In JAM_Open replaced a strcpy with memmove.
|
||||
|
||||
libdbase:
|
||||
Code cleanup in dbdupe.
|
||||
|
||||
mbcico:
|
||||
Dropped binkp CRC support because it will be incompatible with
|
||||
future extensions.
|
||||
|
@ -57,7 +57,9 @@ void InitDupes()
|
||||
{
|
||||
int i;
|
||||
|
||||
Syslog('N', "Init Dupes");
|
||||
Syslog('n', "Init Dupes");
|
||||
memset(dupes, 0, sizeof(dupes));
|
||||
|
||||
for (i = 0; i < 3; i++) {
|
||||
dupes[i].crcs= NULL;
|
||||
dupes[i].loaded = FALSE;
|
||||
@ -104,6 +106,7 @@ int CheckDupe(unsigned long crc, int idx, int max)
|
||||
else
|
||||
dupes[idx].peak = max + 5000;
|
||||
dupes[idx].crcs = (unsigned long *)malloc(dupes[idx].peak * sizeof(unsigned long));
|
||||
memset(dupes[idx].crcs, 0, dupes[idx].peak * sizeof(unsigned long));
|
||||
|
||||
/*
|
||||
* Load dupe records
|
||||
|
@ -41,6 +41,8 @@
|
||||
#include "makestat.h"
|
||||
|
||||
|
||||
extern int do_quiet;
|
||||
|
||||
|
||||
|
||||
FILE *newpage(char *, FILE *);
|
||||
@ -124,6 +126,11 @@ void MakeStat(void)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!do_quiet) {
|
||||
printf("\rMaking statistical HTML pages");
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
Syslog('+', "Start making statistic HTML pages");
|
||||
name = calloc(128, sizeof(char));
|
||||
if (Miy == 0)
|
||||
@ -166,7 +173,10 @@ void MakeStat(void)
|
||||
fclose(fg);
|
||||
}
|
||||
|
||||
|
||||
if (!do_quiet) {
|
||||
printf(".");
|
||||
fflush(stdout);
|
||||
}
|
||||
sprintf(name, "%s/etc/mareas.data", getenv("MBSE_ROOT"));
|
||||
if ((fg = fopen(name, "r")) == NULL) {
|
||||
WriteError("$Can't open %s", name);
|
||||
@ -211,6 +221,10 @@ void MakeStat(void)
|
||||
fclose(fg);
|
||||
}
|
||||
|
||||
if (!do_quiet) {
|
||||
printf(".");
|
||||
fflush(stdout);
|
||||
}
|
||||
sprintf(name, "%s/etc/fgroups.data", getenv("MBSE_ROOT"));
|
||||
if ((fg = fopen(name, "r")) == NULL) {
|
||||
WriteError("$Can't open %s", name);
|
||||
@ -245,6 +259,10 @@ void MakeStat(void)
|
||||
fclose(fg);
|
||||
}
|
||||
|
||||
if (!do_quiet) {
|
||||
printf(".");
|
||||
fflush(stdout);
|
||||
}
|
||||
sprintf(name, "%s/etc/tic.data", getenv("MBSE_ROOT"));
|
||||
if ((fg = fopen(name, "r")) == NULL) {
|
||||
WriteError("$Can't open %s", name);
|
||||
@ -280,6 +298,10 @@ void MakeStat(void)
|
||||
fclose(fg);
|
||||
}
|
||||
|
||||
if (!do_quiet) {
|
||||
printf(".");
|
||||
fflush(stdout);
|
||||
}
|
||||
sprintf(name, "%s/etc/nodes.data", getenv("MBSE_ROOT"));
|
||||
if ((fg = fopen(name, "r")) == NULL) {
|
||||
WriteError("$Can't open %s", name);
|
||||
@ -326,6 +348,10 @@ void MakeStat(void)
|
||||
fclose(fg);
|
||||
}
|
||||
|
||||
if (!do_quiet) {
|
||||
printf(".");
|
||||
fflush(stdout);
|
||||
}
|
||||
sprintf(name, "%s/var/mailer.hist", getenv("MBSE_ROOT"));
|
||||
if ((fg = fopen(name, "r")) == NULL) {
|
||||
WriteError("$Can't open %s", name);
|
||||
@ -369,6 +395,10 @@ void MakeStat(void)
|
||||
fclose(fg);
|
||||
}
|
||||
|
||||
if (!do_quiet) {
|
||||
printf(".");
|
||||
fflush(stdout);
|
||||
}
|
||||
sprintf(name, "%s/etc/sysinfo.data", getenv("MBSE_ROOT"));
|
||||
if ((fg = fopen(name, "r")) != NULL ) {
|
||||
if ((fi = OpenMacro("html.sysinfo", 'E', TRUE)) == NULL) {
|
||||
@ -396,6 +426,11 @@ void MakeStat(void)
|
||||
|
||||
free(name);
|
||||
Syslog('+', "Finished making statistic HTML pages");
|
||||
|
||||
if (!do_quiet) {
|
||||
printf("\r \r");
|
||||
fflush(stdout);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user