X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftstdl.cpp;h=111d44386a70693d9b010bca7cbeb640ca1529be;hb=0ab6e8aba7de1ea5cf109de175f56c9d8f7f49bc;hp=4f3eb661973558aedd57e93f2342aa966b831c28;hpb=cae80f85741d2564d918a0e3285c62e51491a7fc;p=metaproxy-moved-to-github.git diff --git a/src/tstdl.cpp b/src/tstdl.cpp index 4f3eb66..111d443 100644 --- a/src/tstdl.cpp +++ b/src/tstdl.cpp @@ -1,7 +1,22 @@ -/* $Id: tstdl.cpp,v 1.1 2005-12-10 09:59:10 adam Exp $ - Copyright (c) 2005, Index Data. +/* $Id: tstdl.cpp,v 1.6 2007-05-09 21:23:09 adam Exp $ + Copyright (c) 2005-2007, Index Data. -%LICENSE% +This file is part of Metaproxy. + +Metaproxy is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Metaproxy; see the file LICENSE. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ #include "config.hpp" @@ -25,7 +40,7 @@ int main(int argc, char **argv) void *mod = dlopen(argv[1][0] ? argv[1] : 0, RTLD_NOW|RTLD_LOCAL); if (!mod) { - cerr << "dlopen failed for file " << argv[1] << + cerr << "dlopen failed for file '" << argv[1] << "'\n" << "dlerror=" << dlerror() << endl; exit(1); }