[cfe-commits] r66680 - /cfe/trunk/utils/scan-build
kremenek at apple.com
Wed Mar 11 11:20:33 PDT 2009
Date: Wed Mar 11 13:20:33 2009
New Revision: 66680
'-o' option now supports relative paths.
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Wed Mar 11 13:20:33 2009
@@ -1038,7 +1038,10 @@
DieDiag("'-o' option requires a target directory name.\n");
- $HtmlDir = shift @ARGV;
+ # Construct an absolute path. Uses the current working directory
+ # as a base if the original path was not absolute.
+ $HtmlDir = abs_path(shift @ARGV);
More information about the cfe-commits