Skip to content

Commit 52a8ad0

Browse files
committed
add missing usage of "/" in normalizePath
1 parent e328410 commit 52a8ad0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ChangeLog

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
2013-05-24 J.J. Allaire <[email protected]>
1+
2013-05-15 Kevin Ushey <[email protected]>
2+
3+
* src/attributes.cpp: Add a missing 'winslash = "/"'
4+
5+
2013-05-14 J.J. Allaire <[email protected]>
26

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

src/attributes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ namespace attributes {
894894
// normalize source file
895895
Rcpp::Environment baseEnv = Rcpp::Environment::base_env();
896896
Rcpp::Function normalizePath = baseEnv["normalizePath"];
897-
sourceFile = Rcpp::as<std::string>(normalizePath(sourceFile));
897+
sourceFile = Rcpp::as<std::string>(normalizePath(sourceFile, "/"));
898898

899899
// parse dependencies
900900
std::vector<FileInfo> dependencies;

0 commit comments

Comments
 (0)