Fossil SCM
In the Windows server document, provide a command to get the temporary path location as used by Fossil.
Commit
1f184d0e82da4c56b5e5f475346dd4f07994895e3cb83fc74e344fddb9497672
Parent
6b43913e6711eec…
2 files changed
+1
+4
-3
+1
| --- src/file.c | ||
| +++ src/file.c | ||
| @@ -59,10 +59,11 @@ | ||
| 59 | 59 | ** RepoFILE Like SymFILE if allow-symlinks is true, or like |
| 60 | 60 | ** ExtFILE if allow-symlinks is false. In other words, |
| 61 | 61 | ** symbolic links are only recognized as something different |
| 62 | 62 | ** from files or directories if allow-symlinks is true. |
| 63 | 63 | */ |
| 64 | +#include <stdlib.h> | |
| 64 | 65 | #define ExtFILE 0 /* Always follow symlinks */ |
| 65 | 66 | #define RepoFILE 1 /* Follow symlinks if and only if allow-symlinks is OFF */ |
| 66 | 67 | #define SymFILE 2 /* Never follow symlinks */ |
| 67 | 68 | |
| 68 | 69 | #include <dirent.h> |
| 69 | 70 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -59,10 +59,11 @@ | |
| 59 | ** RepoFILE Like SymFILE if allow-symlinks is true, or like |
| 60 | ** ExtFILE if allow-symlinks is false. In other words, |
| 61 | ** symbolic links are only recognized as something different |
| 62 | ** from files or directories if allow-symlinks is true. |
| 63 | */ |
| 64 | #define ExtFILE 0 /* Always follow symlinks */ |
| 65 | #define RepoFILE 1 /* Follow symlinks if and only if allow-symlinks is OFF */ |
| 66 | #define SymFILE 2 /* Never follow symlinks */ |
| 67 | |
| 68 | #include <dirent.h> |
| 69 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -59,10 +59,11 @@ | |
| 59 | ** RepoFILE Like SymFILE if allow-symlinks is true, or like |
| 60 | ** ExtFILE if allow-symlinks is false. In other words, |
| 61 | ** symbolic links are only recognized as something different |
| 62 | ** from files or directories if allow-symlinks is true. |
| 63 | */ |
| 64 | #include <stdlib.h> |
| 65 | #define ExtFILE 0 /* Always follow symlinks */ |
| 66 | #define RepoFILE 1 /* Follow symlinks if and only if allow-symlinks is OFF */ |
| 67 | #define SymFILE 2 /* Never follow symlinks */ |
| 68 | |
| 69 | #include <dirent.h> |
| 70 |
+4
-3
| --- www/server/windows/service.md | ||
| +++ www/server/windows/service.md | ||
| @@ -52,13 +52,14 @@ | ||
| 52 | 52 | |
| 53 | 53 | When the Fossil server will be used at times that files may be locked |
| 54 | 54 | during virus scanning, it is prudent to arrange that its directory used |
| 55 | 55 | for temporary files is exempted from such scanning. Ordinarily, this |
| 56 | 56 | will be a subdirectory named "fossil" in the temporary directory given |
| 57 | -by the Windows GetTempDir(...) API. Excluding this subdirectory will | |
| 58 | -avoid certain rare failures where the fossil.exe process is unable to | |
| 59 | -use the directory normally during a scan. | |
| 57 | +by the Windows GetTempPath(...) API - you can find its value, for example, | |
| 58 | +by executing `[System.IO.Path]::GetTempPath()` in a Powershell console. | |
| 59 | +Excluding this subdirectory will avoid certain rare failures where the | |
| 60 | +fossil.exe process is unable to use the directory normally during a scan. | |
| 60 | 61 | |
| 61 | 62 | ### <a id='PowerShell'></a>Advanced service installation using PowerShell |
| 62 | 63 | |
| 63 | 64 | As great as `fossil winsrv` is, it does not have one to one reflection of all of |
| 64 | 65 | the `fossil server` [options](/help?cmd=server). When you need to use some of |
| 65 | 66 |
| --- www/server/windows/service.md | |
| +++ www/server/windows/service.md | |
| @@ -52,13 +52,14 @@ | |
| 52 | |
| 53 | When the Fossil server will be used at times that files may be locked |
| 54 | during virus scanning, it is prudent to arrange that its directory used |
| 55 | for temporary files is exempted from such scanning. Ordinarily, this |
| 56 | will be a subdirectory named "fossil" in the temporary directory given |
| 57 | by the Windows GetTempDir(...) API. Excluding this subdirectory will |
| 58 | avoid certain rare failures where the fossil.exe process is unable to |
| 59 | use the directory normally during a scan. |
| 60 | |
| 61 | ### <a id='PowerShell'></a>Advanced service installation using PowerShell |
| 62 | |
| 63 | As great as `fossil winsrv` is, it does not have one to one reflection of all of |
| 64 | the `fossil server` [options](/help?cmd=server). When you need to use some of |
| 65 |
| --- www/server/windows/service.md | |
| +++ www/server/windows/service.md | |
| @@ -52,13 +52,14 @@ | |
| 52 | |
| 53 | When the Fossil server will be used at times that files may be locked |
| 54 | during virus scanning, it is prudent to arrange that its directory used |
| 55 | for temporary files is exempted from such scanning. Ordinarily, this |
| 56 | will be a subdirectory named "fossil" in the temporary directory given |
| 57 | by the Windows GetTempPath(...) API - you can find its value, for example, |
| 58 | by executing `[System.IO.Path]::GetTempPath()` in a Powershell console. |
| 59 | Excluding this subdirectory will avoid certain rare failures where the |
| 60 | fossil.exe process is unable to use the directory normally during a scan. |
| 61 | |
| 62 | ### <a id='PowerShell'></a>Advanced service installation using PowerShell |
| 63 | |
| 64 | As great as `fossil winsrv` is, it does not have one to one reflection of all of |
| 65 | the `fossil server` [options](/help?cmd=server). When you need to use some of |
| 66 |