Commit 49e03ed7 authored by Christoffer Ackelman's avatar Christoffer Ackelman

Fixed compilation problem with postscript files.

parent 859097a5
......@@ -157,7 +157,7 @@ void CnvClassDep::print_html_classtable( int idx)
sprintf( fname, "%s%s_%s_ctree.html", ctx->dir, classlist[idx].volumename,
classlist[idx].name);
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
dcli_translate_filename( fname, fname);
ofstream fp( fname);
......
......@@ -76,7 +76,7 @@ int CnvWblToHtml::init( char *first)
strcpy( fname, ctx->dir);
strcat( fname, ctx->rw->volume_name);
strcat( fname, "_index.html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
ofstream fp( fname);
......@@ -84,7 +84,7 @@ int CnvWblToHtml::init( char *first)
if ( ctx->setup->group_cnt) {
strcpy( gname, CnvCtx::low(ctx->rw->volume_name));
strcat( gname, "_menu_group.html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
fp <<
......@@ -128,7 +128,7 @@ int CnvWblToHtml::init( char *first)
strcpy( fname, ctx->dir);
strcat( fname, ctx->rw->volume_name);
strcat( fname, "_allclasses.jsf");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_js_all.open( fname);
js_all_first = true;
......@@ -141,7 +141,7 @@ int CnvWblToHtml::init( char *first)
if ( ctx->setup->group_cnt) {
strcpy( fname, ctx->dir);
strcat( fname, gname);
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
ofstream fp( fname);
......@@ -169,7 +169,7 @@ int CnvWblToHtml::init( char *first)
// Put index filename in fname
strcpy( fname, ctx->rw->volume_name);
strcat( fname, "_index.html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp <<
"<A HREF=\"" << fname << "\" TARGET=\"_parent\">AllClasses</A>" << endl <<
......@@ -181,7 +181,7 @@ int CnvWblToHtml::init( char *first)
strcat( fname, "_group_");
strcat( fname, ctx->setup->groups[i]);
strcat( fname, "_index.html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp <<
"<A HREF=\"" << fname << "\" TARGET=\"_parent\">" << ctx->setup->groups[i] << "</A>" << endl <<
......@@ -201,7 +201,7 @@ int CnvWblToHtml::init( char *first)
// Open allclasses file
strcpy( fname, ctx->dir);
strcat( fname, allclasses_name);
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_html_index.open( fname);
ctx->set_dependfile( fname);
......@@ -237,7 +237,7 @@ int CnvWblToHtml::init( char *first)
strcat( fname, "_group_");
strcat( fname, ctx->setup->groups[i]);
strcat( fname, "_index.html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
{
ofstream fp( fname);
......@@ -246,7 +246,7 @@ int CnvWblToHtml::init( char *first)
strcat( fname, "_group_");
strcat( fname, ctx->setup->groups[i]);
strcat( fname, ".html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp <<
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"\"http://www.w3.org/TR/REC-html40/loose.dtd>" << endl <<
......@@ -291,7 +291,7 @@ int CnvWblToHtml::init( char *first)
strcat( fname, "_group_");
strcat( fname, ctx->setup->groups[i]);
strcat( fname, ".html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_html_group[i].open( fname);
strcpy( fname, ctx->dir);
......@@ -299,7 +299,7 @@ int CnvWblToHtml::init( char *first)
strcat( fname, "_group_");
strcat( fname, ctx->setup->groups[i]);
strcat( fname, ".jsf");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_js_group[i].open( fname);
fp_html_group[i] <<
......@@ -336,7 +336,7 @@ ctx->setup->groups[i] << endl <<
strcpy( fname, ctx->dir);
strcat( fname, ctx->rw->volume_name);
strcat( fname, "_groups.jsf");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
ofstream fp( fname);
fp <<
......@@ -350,7 +350,7 @@ ctx->setup->groups[i] << endl <<
strcat( fname, "_group_");
strcat( fname, ctx->setup->groups[i]);
strcat( fname, "_index.html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp <<
" aux = insFld(parent, gFld(\"" << ctx->setup->groups[i] << "\",\"" << fname << "\"))" << endl <<
......@@ -404,7 +404,7 @@ int CnvWblToHtml::close()
strcpy( fname, ctx->dir);
strcat( fname, "index.jsm");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
ofstream fp( fname);
fp <<
......@@ -515,7 +515,7 @@ int CnvWblToHtml::class_exec()
strcpy( fname, ctx->dir);
strcat( fname, html_file_name);
strcat( fname, ".html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
html_clf = new CnvFile();
html_clf->f.open( fname);
......@@ -1180,7 +1180,7 @@ int CnvWblToHtml::typedef_exec()
strcpy( fname, ctx->dir);
strcat( fname, html_file_name);
strcat( fname, ".html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
html_clf = new CnvFile();
html_clf->f.open( fname);
......
......@@ -62,7 +62,7 @@ int CnvWblToPs::init( char *first)
strcpy( fname, ctx->dir);
strcat( fname, ctx->rw->volume_name);
strcat( fname, ".ps");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
tops.set_filename( ps_eFile_Info, fname);
tops.set_filename( ps_eFile_Body, ps_cTmpFile);
......
......@@ -130,7 +130,7 @@ int CnvWblToXtthelp::init( char *first)
strcpy( fname, ctx->dir);
strcat( fname, ctx->rw->volume_name);
strcat( fname, "_xtthelp.dat");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
fp_xtthelp_index.open( fname);
......
......@@ -91,7 +91,7 @@ void CnvXtthelpToHtml::subject_to_fname( char *fname, const char *subject, int p
}
*t = 0;
strcat( fname, ".html");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
void *CnvXtthelpToHtml::insert( navh_eItemType item_type, const char *text1,
......
......@@ -78,7 +78,7 @@ void CnvXtthelpToPdf::subject_to_fname( char *fname, const char *subject, int pa
else
strcpy( fname, ctx->rx->name);
strcat( fname, ".pdf");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
CnvXtthelpToPdf::~CnvXtthelpToPdf()
......
......@@ -78,7 +78,7 @@ void CnvXtthelpToPs::subject_to_fname( char *fname, const char *subject, int pat
else
strcpy( fname, ctx->rx->name);
strcat( fname, ".ps");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
CnvXtthelpToPs::~CnvXtthelpToPs()
......
......@@ -80,7 +80,7 @@ void CnvXtthelpToText::subject_to_fname( char *fname, const char *subject, int p
else
strcpy( fname, ctx->rx->name);
strcat( fname, ".txt");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
CnvXtthelpToText::~CnvXtthelpToText()
......
......@@ -184,7 +184,7 @@ void CnvXtthelpToXml::subject_to_fname( char *fname, const char *subject, int pa
*t = 0;
}
strcat( fname, ".xml");
cdh_ToLower( fname, fname);
//cdh_ToLower( fname, fname); // TODO: remove? Was used historically, but causes trouble on modern Linux OS
}
CnvXtthelpToXml::~CnvXtthelpToXml()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment