Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix compiler warning on Cygwin |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
c05cc27300e351a49dda8410573e8d19 |
| User & Date: | jan.nijtmans 2013-10-04 09:10:57.455 |
Context
|
2013-10-04
| ||
| 09:59 | Cygwin64 has a 64-bit "long" while Win64 has a 32-bit "long". Correct for that. ... (check-in: 4ff370c832 user: jan.nijtmans tags: trunk) | |
| 09:30 | Better error-message in case of "manifest file is malformed" ... (Closed-Leaf check-in: 1eb438d61a user: jan.nijtmans tags: pending-review) | |
| 09:10 | Fix compiler warning on Cygwin ... (check-in: c05cc27300 user: jan.nijtmans tags: trunk) | |
| 02:50 | Consolidate all the Cygwin-specific preprocessor directives into one file and include it where necessary. ... (check-in: 816e893d3b user: mistachkin tags: trunk) | |
Changes
Changes to src/cgi.c.
| ︙ | ︙ | |||
1439 1440 1441 1442 1443 1444 1445 |
if( zBrowser ){
zBrowser = mprintf(zBrowser, iPort);
#if defined(__CYGWIN__)
/* On Cygwin, we can do better than "echo" */
if( memcmp(zBrowser, "echo ", 5)==0 ){
wchar_t *wUrl = fossil_utf8_to_unicode(zBrowser+5);
wUrl[wcslen(wUrl)-2] = 0; /* Strip terminating " &" */
| | | 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
if( zBrowser ){
zBrowser = mprintf(zBrowser, iPort);
#if defined(__CYGWIN__)
/* On Cygwin, we can do better than "echo" */
if( memcmp(zBrowser, "echo ", 5)==0 ){
wchar_t *wUrl = fossil_utf8_to_unicode(zBrowser+5);
wUrl[wcslen(wUrl)-2] = 0; /* Strip terminating " &" */
if( (size_t)ShellExecuteW(0, L"open", wUrl, 0, 0, 1)<33 ){
fossil_warning("cannot start browser\n");
}
}else
#endif
if( system(zBrowser)<0 ){
fossil_warning("cannot start browser: %s\n", zBrowser);
}
|
| ︙ | ︙ |