freebsd-ports/devel/clint/files/patch-plugins-python-python_plugin.cc
Martin Wilke 9e988e2e8e - Fix build with gcc 4.2
PR:		117789
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav)
2007-11-05 10:04:20 +00:00

15 lines
377 B
C++

--- plugins/python/python_plugin.cc.orig Mon Apr 16 13:23:28 2001
+++ plugins/python/python_plugin.cc Thu Nov 30 22:35:49 2006
@@ -51,11 +51,11 @@
rules.push_back( rule );
}
}
+ closedir(curdir);
} else {
// There is something wrong with the directory. Probably doesn't
// exist
}
- closedir(curdir);
return;
}