comparison system/file.cc @ 50:35ce1a30f3f9

* Added va_end where there is a va_start * Used NULL instead of 0 (so it works on 64b)
author thib
date Fri, 17 Apr 2009 18:38:06 +0000
parents 5f548e5957a8
children 15a18fbe6f21
comparison
equal deleted inserted replaced
49:6581f7eccd26 50:35ce1a30f3f9
147 sort(arc_atom.begin(), arc_atom.end()); 147 sort(arc_atom.begin(), arc_atom.end());
148 } 148 }
149 ARCFILE::~ARCFILE() { 149 ARCFILE::~ARCFILE() {
150 if (filenames_orig) delete[] filenames_orig; 150 if (filenames_orig) delete[] filenames_orig;
151 delete[] arcname; 151 delete[] arcname;
152 delete next;
152 } 153 }
153 154
154 ARCFILE::iterator ARCFILE::SearchName(const char* f, const char* ext) { 155 ARCFILE::iterator ARCFILE::SearchName(const char* f, const char* ext) {
155 char buf[1024]; char buf_ext[1024]; 156 char buf[1024]; char buf_ext[1024];
156 iterator it; 157 iterator it;