Skip to content
Snippets Groups Projects
Commit 49d8904d authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed a few bugs.

Rev: bin/feature_list:1.8
parent 469b5383
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ testfont binary
/Makefile foreign_ident
/NT/tools/install-sh foreign_ident
/bin/export.pike foreign_ident
/bin/feature_list foreign_ident
/bin/httpd.pike foreign_ident
/bin/make_ci.pike foreign_ident
/bin/mkpeep.pike foreign_ident
......
#!/usr/local/bin/pike
// $Id: feature_list,v 1.8 2000/01/19 19:23:24 grubba Exp $
int main(int argc, string *argv)
{
write("Features: ");
......@@ -15,10 +17,12 @@ int main(int argc, string *argv)
"_Image_TIFF","_Image_TTF","MIME","Msql","Mysql","Odbc","Oracle",
"Perl", "Postgres","Ssleay","WideValues","X","Yp" }),
string modname) {
catch { if (sizeof(indices(master()->resolv(modname))))
catch {
if (sizeof(indices(master()->resolv(modname) || ({})))) {
if(modname[0] == '_')
modname = replace(modname[1..], "_", ".");;
modname = replace(modname[1..], "_", ".");
write(modname+" ");
}
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment