[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ppfStat fix



Ok, the *Stat* () memory leak should be fixed now. Here are the changes:

* (PFile) changed ppfDirEntry::Name to const char *
* (PFile) eliminated unneccessary string copying for ppfDirEntry::Name
* (PFile) added missing #include "System.h" to Win32.cpp
* (PFile) fixed some small bugs in ReadDirPlain & related functions
* (PFile) fixed the memory leak in the Stat functions


	Christian

PS: StrDup never throws bad_alloc. It returns 0 instead (compatibility with
common strdup implementations)
-- 

Drive A: not responding...Formatting C: instead