[Libufo-commits] ufo-0.5/src/util ufilearchive.cpp,1.10,1.11
Status: Beta
Brought to you by:
schmidtjf
|
From: Johannes S. <sch...@us...> - 2005-10-21 12:07:04
|
Update of /cvsroot/libufo/ufo-0.5/src/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19186/src/util Modified Files: ufilearchive.cpp Log Message: Fixed string to c string in isDirectory Index: ufilearchive.cpp =================================================================== RCS file: /cvsroot/libufo/ufo-0.5/src/util/ufilearchive.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ufilearchive.cpp 17 Oct 2005 15:34:48 -0000 1.10 --- ufilearchive.cpp 21 Oct 2005 12:06:55 -0000 1.11 *************** *** 145,149 **** #if defined(UFO_OS_UNIX) struct stat statbuf; ! if (stat(path, &statbuf) == -1) { // FIXME: process strerror(errno)? return false; --- 145,149 ---- #if defined(UFO_OS_UNIX) struct stat statbuf; ! if (stat(path.c_str(), &statbuf) == -1) { // FIXME: process strerror(errno)? return false; |