summaryrefslogtreecommitdiff
path: root/devel/clint/files/patch-utility.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/clint/files/patch-utility.cc')
-rw-r--r--devel/clint/files/patch-utility.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/clint/files/patch-utility.cc b/devel/clint/files/patch-utility.cc
new file mode 100644
index 000000000000..8e511b506d8e
--- /dev/null
+++ b/devel/clint/files/patch-utility.cc
@@ -0,0 +1,18 @@
+--- src/utility.cc.orig Mon Apr 16 13:19:36 2001
++++ src/utility.cc Thu Nov 30 22:31:32 2006
+@@ -40,6 +40,7 @@
+ filelist.push_back(filename);
+ }
+ }
++ closedir(curdir);
+ } else {
+ // There is something wrong with the directory. Probably
+ // doesn't exist
+@@ -47,7 +48,6 @@
+ // directory
+ // throw std::invalid_argument("get_plugin_list: something is wrong with the directory " + directory);
+ }
+- closedir(curdir);
+ return;
+ }
+