Differences From Artifact [d3ad1bea31]:
- File src/file.c — part of check-in [6a7d2ad8f1] at 2018-06-26 11:54:29 on branch trunk — Fix compiler warnings on windows. Fix the file_directory_size() function so that it works on windows. (user: drh size: 47000)
To Artifact [08d8e6310e]:
- File src/file.c — part of check-in [3f5ab71744] at 2018-07-15 19:56:20 on branch trunk — Clarify the difference between fossil_fatal() and fossil_panic(). The fossil_panic() interface puts a message on the error log when generating webpages. Otherwise the two routines are identical. Convert some fossil_fatal() calls into fossil_panic() where appropriate. The goal here is to limit messages on the error log to things that require attention from the system administrator, or represent bugs. (user: drh size: 47000) [more...]
| ︙ | |||
894 895 896 897 898 899 900 | 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 | - + - + |
*/
void file_getcwd(char *zBuf, int nBuf){
#ifdef _WIN32
win32_getcwd(zBuf, nBuf);
#else
if( getcwd(zBuf, nBuf-1)==0 ){
if( errno==ERANGE ){
|
| ︙ |