Skip to content

Commit

Permalink
add missing usage of "/" in normalizePath
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Apr 15, 2016
1 parent e328410 commit 52a8ad0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
2013-05-24 J.J. Allaire <jj@rstudio.org>
2013-05-15 Kevin Ushey <kevinushey@gmail.com>

* src/attributes.cpp: Add a missing 'winslash = "/"'

2013-05-14 J.J. Allaire <jj@rstudio.org>

* src/attributes.cpp: Correct handling of dependent file paths on Windows (use winslash = "/")

Expand Down
2 changes: 1 addition & 1 deletion src/attributes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ namespace attributes {
// normalize source file
Rcpp::Environment baseEnv = Rcpp::Environment::base_env();
Rcpp::Function normalizePath = baseEnv["normalizePath"];
sourceFile = Rcpp::as<std::string>(normalizePath(sourceFile));
sourceFile = Rcpp::as<std::string>(normalizePath(sourceFile, "/"));

// parse dependencies
std::vector<FileInfo> dependencies;
Expand Down

0 comments on commit 52a8ad0

Please sign in to comment.