Fossil

Check-in [6092935ff2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Change a #ifdef so that builds on MSVC will work on repos larger than 2GB.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6092935ff28e81c2fa3ddb3a6dd4f7da84baeab0
User & Date: drh 2011-10-05 02:03:04.276
Context
2011-10-05
08:00
Added (--args -) to read from stdin. Theoretically now also strips windows newlines, but i do not have a broken editor to test that with ;). check-in: 080d27a6b2 user: stephan tags: trunk
02:03
Change a #ifdef so that builds on MSVC will work on repos larger than 2GB. check-in: 6092935ff2 user: drh tags: trunk
2011-10-04
23:07
Merge the --args FILENAME patch into trunk. check-in: c0274f9962 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/file.c.
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

/*
** 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
/*
** On Windows S_ISLNK always returns FALSE.
*/
#if defined(_WIN32)
# define S_ISLNK(x) (0)







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

/*
** 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__) || defined(_MSC_VER))
# define stat _stati64
#endif
/*
** On Windows S_ISLNK always returns FALSE.
*/
#if defined(_WIN32)
# define S_ISLNK(x) (0)