Displaying 1 result from an estimated 1 matches for "444c447".
Did you mean:
444c444
2005 Jul 28
1
[LLVMdev] [patch] gccld not properly constructing paths when checking for bytecode
.../Path.inc,v
retrieving revision 1.43
diff -r1.43 Path.inc
436c436,439
< DIR* direntries = ::opendir(path.c_str());
---
> std::string dirPath = path;
> if (dirPath[dirPath.size() - 1] != '/')
> dirPath += '/';
> DIR* direntries = ::opendir(dirPath.c_str());
444c447
< Path aPath(path + (const char*)de->d_name);
---
> Path aPath(dirPath + (const char*)de->d_name);
--
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>