X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FDRIVER.CC;h=40fe981bf5006dc151f9b625f8a1eab7f03aacc2;hb=33217982822ae2ebc4316eefcd0e81336958630f;hp=7a654bb087dbad1e31819ab8ec7e11683906688a;hpb=36cc3af3e5074215817ddee16defde754e2ad67f;p=lugaru.git diff --git a/Source/DRIVER.CC b/Source/DRIVER.CC index 7a654bb..40fe981 100644 --- a/Source/DRIVER.CC +++ b/Source/DRIVER.CC @@ -1,3 +1,24 @@ +/* +Copyright (C) 2003, 2010 - Wolfire Games + +This file is part of Lugaru. + +Lugaru 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 +of the License, or (at your option) any later version. + +This program 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 this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + // DRIVER.CC - test driver for the C++/object oriented translation and // modification of MD5. @@ -144,7 +165,7 @@ static void MD5_testSuite () static void MD5_file (char *filename){ - ifstream file(filename); + ifstream file(ConvertFileName(filename)); if (!file) cerr << filename <<" can't be opened" << endl;