Category : C Source Code
Archive   : CDBDEV.ZIP
Filename : DBINIT.C
/* This program is used to build the initial data base.
It constructs all files and indexes.
There is no data loaded,
and any existing files are deleted. */
#include
#include "cdata.h"
extern char *dbfiles [];
extern void file_create();
main ()
{
int f = 0;
extern int rlen();
char fname [13];
while (dbfiles [f]) {
sprintf(fname, "%.8s.dat", dbfiles [f]);
file_create(fname, rlen(f));
printf("\nCreating file %s with length %d",
fname, rlen(f));
build_index("", f);
f++;
}
}
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/