Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix althttpd.c so that it builds on non-linux machines. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
02b0d4d406f585bd685670b18a3147b0 |
User & Date: | drh 2019-04-28 00:46:35.058 |
Context
2019-04-29
| ||
13:51 | Update the file-format document to indicate that de-duplication of index columns in WITHOUT ROWID tables does not occur if the columns have different collating sequences. (check-in: 3047c99f8a user: drh tags: trunk) | |
2019-04-28
| ||
00:46 | Fix althttpd.c so that it builds on non-linux machines. (check-in: 02b0d4d406 user: drh tags: trunk) | |
2019-04-27
| ||
21:01 | Start a change log for version 3.29.0. (check-in: 4e1bc9c5f0 user: drh tags: trunk) | |
Changes
Changes to misc/althttpd.c.
︙ | ︙ | |||
1290 1291 1292 1293 1294 1295 1296 | if( useTimeout ) alarm(30 + pStat->st_size/1000); #ifdef linux { off_t offset = 0; nOut += sendfile(fileno(stdout), fileno(in), &offset, pStat->st_size); } #else | > > | | | > | 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 | if( useTimeout ) alarm(30 + pStat->st_size/1000); #ifdef linux { off_t offset = 0; nOut += sendfile(fileno(stdout), fileno(in), &offset, pStat->st_size); } #else { int c; while( (c = getc(in))!=EOF ){ putc(c,stdout); nOut++; } } #endif fclose(in); return 0; } /* |
︙ | ︙ |