Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add a "2>/dev/null" to the subcommand that launches the webbrowser for "fossil ui" and similar, because Ubuntu 24 prints a lots of useless verbage on stderr when starting firefox. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
2cf91c0c885f539f567f244d32729503 |
User & Date: | drh 2025-01-11 00:34:41 |
Context
2025-01-11
| ||
13:07 | Change the previous check-in so that "2>/dev/null" is only added on unix, not on Windows or Mac. Suggested by forum post ae7ed5b615. ... (check-in: 36bd5423 user: drh tags: trunk) | |
00:34 | Add a "2>/dev/null" to the subcommand that launches the webbrowser for "fossil ui" and similar, because Ubuntu 24 prints a lots of useless verbage on stderr when starting firefox. ... (check-in: 2cf91c0c user: drh tags: trunk) | |
2025-01-06
| ||
20:52 | Fix a bug in "fossil bisect" introduced by [ebd239de02c4b9f2]. ... (check-in: 680acb28 user: drh tags: trunk) | |
Changes
Changes to src/main.c.
︙ | ︙ | |||
3433 3434 3435 3436 3437 3438 3439 | if( zIpAddr==0 ){ zBrowserArg = mprintf("%s://localhost:%%d/%s", zProtocol, zInitPage); }else if( strchr(zIpAddr,':') ){ zBrowserArg = mprintf("%s://[%s]:%%d/%s", zProtocol, zIpAddr, zInitPage); }else{ zBrowserArg = mprintf("%s://%s:%%d/%s", zProtocol, zIpAddr, zInitPage); } | | | 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 | if( zIpAddr==0 ){ zBrowserArg = mprintf("%s://localhost:%%d/%s", zProtocol, zInitPage); }else if( strchr(zIpAddr,':') ){ zBrowserArg = mprintf("%s://[%s]:%%d/%s", zProtocol, zIpAddr, zInitPage); }else{ zBrowserArg = mprintf("%s://%s:%%d/%s", zProtocol, zIpAddr, zInitPage); } zBrowserCmd = mprintf("%s %!$ 2>/dev/null &", zBrowser, zBrowserArg); fossil_free(zBrowserArg); } if( zRemote ){ /* If a USER@HOST:REPO argument is supplied, then use SSH to run ** "fossil ui --nobrowser" on the remote system and to set up a ** tunnel from the local machine to the remote. */ FILE *sshIn; |
︙ | ︙ |