Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Changes to fossil_stat() so that the build works for mingw. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | symlinks |
| Files: | files | file ages | folders |
| SHA1: |
a7e747e58f7a02b2b4faefc2e6c7aee8 |
| User & Date: | drh 2011-08-27 18:25:37.237 |
Context
|
2011-08-27
| ||
| 20:37 | Indicate whether a file artifact is a symlink or an executable in the web interface. check-in: a7bf0e9ba4 user: dmitry tags: symlinks | |
| 18:25 | Changes to fossil_stat() so that the build works for mingw. check-in: a7e747e58f user: drh tags: symlinks | |
| 18:12 | Fix a C89 error specific to the symlinks branch and also pull in the C89 fix and the versionable settings fix from trunk. check-in: 4778edd3f2 user: drh tags: symlinks | |
Changes
Changes to src/file.c.
| ︙ | ︙ | |||
28 29 30 31 32 33 34 | /* ** The file status information from the most recent stat() call. ** ** Use _stati64 rather than stat on windows, in order to handle files ** larger than 2GB. */ #if defined(_WIN32) && defined(__MSVCRT__) | < < < > | | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
/*
** The file status information from the most recent stat() call.
**
** Use _stati64 rather than stat on windows, in order to handle files
** larger than 2GB.
*/
#if defined(_WIN32) && defined(__MSVCRT__)
# define stat _stati64
#endif
static int fileStatValid = 0;
static struct stat fileStat;
static int fossil_stat(const char *zFilename, struct stat *buf){
#if !defined(_WIN32)
if( g.allowSymlinks ){
return lstat(zFilename, buf);
}else{
return stat(zFilename, buf);
}
#else
|
| ︙ | ︙ |