mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
385b66774b
PR: 168044 Submitted by: Ports Fury
12 lines
474 B
C++
12 lines
474 B
C++
--- src/directory.cc.orig 2008-11-16 06:59:26.000000000 +0900
|
|
+++ src/directory.cc 2012-05-10 17:27:13.000000000 +0900
|
|
@@ -153,7 +153,7 @@
|
|
for (dir = childs.begin(); dir != childs.end(); dir++) {
|
|
printf("%s:%s:%d\n",(*dir)->get_current().c_str(),
|
|
path.c_str(),path.size());
|
|
- if (!(*dir)->get_current().compare(0,path.size(),path))
|
|
+ if (!(*dir)->get_current().compare(path))
|
|
return (*dir);
|
|
}
|
|
return this;
|