Fossil SCM
Oops, missed one thing in the previous check-in.
Commit
b3fc0a133c50cf710b56a9556e00187d0058edd6
Parent
6c90761bcd7e29c…
1 file changed
+1
-1
+1
-1
| --- src/file.c | ||
| +++ src/file.c | ||
| @@ -94,11 +94,11 @@ | ||
| 94 | 94 | int forceWd /* non-zero to force look at symlink itself. */ |
| 95 | 95 | ){ |
| 96 | 96 | int rc; |
| 97 | 97 | void *zMbcs = fossil_utf8_to_path(zFilename, 0); |
| 98 | 98 | #if !defined(_WIN32) |
| 99 | - if( isWd && db_allow_symlinks(0) ){ | |
| 99 | + if( isWd && (forceWd || db_allow_symlinks(0)) ){ | |
| 100 | 100 | rc = lstat(zMbcs, buf); |
| 101 | 101 | }else{ |
| 102 | 102 | rc = stat(zMbcs, buf); |
| 103 | 103 | } |
| 104 | 104 | #else |
| 105 | 105 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -94,11 +94,11 @@ | |
| 94 | int forceWd /* non-zero to force look at symlink itself. */ |
| 95 | ){ |
| 96 | int rc; |
| 97 | void *zMbcs = fossil_utf8_to_path(zFilename, 0); |
| 98 | #if !defined(_WIN32) |
| 99 | if( isWd && db_allow_symlinks(0) ){ |
| 100 | rc = lstat(zMbcs, buf); |
| 101 | }else{ |
| 102 | rc = stat(zMbcs, buf); |
| 103 | } |
| 104 | #else |
| 105 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -94,11 +94,11 @@ | |
| 94 | int forceWd /* non-zero to force look at symlink itself. */ |
| 95 | ){ |
| 96 | int rc; |
| 97 | void *zMbcs = fossil_utf8_to_path(zFilename, 0); |
| 98 | #if !defined(_WIN32) |
| 99 | if( isWd && (forceWd || db_allow_symlinks(0)) ){ |
| 100 | rc = lstat(zMbcs, buf); |
| 101 | }else{ |
| 102 | rc = stat(zMbcs, buf); |
| 103 | } |
| 104 | #else |
| 105 |