Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add missing defined() when testing for _WIN32. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
556479b245d4082829ef5a5ae4995ce0 |
| User & Date: | danield 2021-03-13 22:55:02.305 |
Context
|
2021-03-15
| ||
| 07:27 | Added link to technotes list on the /wikihelp page, per request in forum post [forum:7a4609bad3]. check-in: c00e5d60a0 user: stephan tags: trunk | |
|
2021-03-13
| ||
| 22:55 | Add missing defined() when testing for _WIN32. check-in: 556479b245 user: danield tags: trunk | |
| 17:11 | Mention the ./configure --print-minimum-sqlite-version feature in the change log. Improved comments on the two places in the code that check the minimum SQLite version, so that they refer to one another, to remind developers to change both places if they change either. check-in: 7018d7c158 user: drh tags: trunk | |
Changes
Changes to src/blob.c.
| ︙ | ︙ | |||
996 997 998 999 1000 1001 1002 |
fflush(stdout);
_setmode(_fileno(stdout), _O_TEXT);
#endif
}else{
file_mkfolder(zFilename, ExtFILE, 1, 0);
out = fossil_fopen(zFilename, "wb");
if( out==0 ){
| | | 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 |
fflush(stdout);
_setmode(_fileno(stdout), _O_TEXT);
#endif
}else{
file_mkfolder(zFilename, ExtFILE, 1, 0);
out = fossil_fopen(zFilename, "wb");
if( out==0 ){
#if defined(_WIN32)
const char *zReserved = file_is_win_reserved(zFilename);
if( zReserved ){
fossil_fatal("cannot open \"%s\" because \"%s\" is "
"a reserved name on Windows", zFilename, zReserved);
}
#endif
fossil_fatal_recursive("unable to open file \"%s\" for writing",
|
| ︙ | ︙ |
Changes to src/file.c.
| ︙ | ︙ | |||
2057 2058 2059 2060 2061 2062 2063 |
if(zFilename[0]=='-' && zFilename[1]==0){
return stdout;
}else{
FILE * p;
file_mkfolder(zFilename, ExtFILE, 1, 0);
p = fossil_fopen(zFilename, "wb");
if( p==0 ){
| | | 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 |
if(zFilename[0]=='-' && zFilename[1]==0){
return stdout;
}else{
FILE * p;
file_mkfolder(zFilename, ExtFILE, 1, 0);
p = fossil_fopen(zFilename, "wb");
if( p==0 ){
#if defined(_WIN32)
const char *zReserved = file_is_win_reserved(zFilename);
if( zReserved ){
fossil_fatal("cannot open \"%s\" because \"%s\" is "
"a reserved name on Windows", zFilename,
zReserved);
}
#endif
|
| ︙ | ︙ |