Fossil SCM
Fix the /uv page so that works on Solaris.
Commit
0cd96edc206519eec9d830a5d17eaf8a3bc444f8
Parent
35d43fd98f1bb68…
1 file changed
+2
-1
+2
-1
| --- src/doc.c | ||
| +++ src/doc.c | ||
| @@ -727,11 +727,12 @@ | ||
| 727 | 727 | |
| 728 | 728 | /* Jump here when unable to locate the document */ |
| 729 | 729 | doc_not_found: |
| 730 | 730 | db_end_transaction(0); |
| 731 | 731 | if( isUV && P("name")==0 ){ |
| 732 | - return uvstat_page(); | |
| 732 | + uvstat_page(); | |
| 733 | + return; | |
| 733 | 734 | } |
| 734 | 735 | cgi_set_status(404, "Not Found"); |
| 735 | 736 | style_header("Not Found"); |
| 736 | 737 | @ <p>Document %h(zOrigName) not found |
| 737 | 738 | if( fossil_strcmp(zCheckin,"ckout")!=0 ){ |
| 738 | 739 |
| --- src/doc.c | |
| +++ src/doc.c | |
| @@ -727,11 +727,12 @@ | |
| 727 | |
| 728 | /* Jump here when unable to locate the document */ |
| 729 | doc_not_found: |
| 730 | db_end_transaction(0); |
| 731 | if( isUV && P("name")==0 ){ |
| 732 | return uvstat_page(); |
| 733 | } |
| 734 | cgi_set_status(404, "Not Found"); |
| 735 | style_header("Not Found"); |
| 736 | @ <p>Document %h(zOrigName) not found |
| 737 | if( fossil_strcmp(zCheckin,"ckout")!=0 ){ |
| 738 |
| --- src/doc.c | |
| +++ src/doc.c | |
| @@ -727,11 +727,12 @@ | |
| 727 | |
| 728 | /* Jump here when unable to locate the document */ |
| 729 | doc_not_found: |
| 730 | db_end_transaction(0); |
| 731 | if( isUV && P("name")==0 ){ |
| 732 | uvstat_page(); |
| 733 | return; |
| 734 | } |
| 735 | cgi_set_status(404, "Not Found"); |
| 736 | style_header("Not Found"); |
| 737 | @ <p>Document %h(zOrigName) not found |
| 738 | if( fossil_strcmp(zCheckin,"ckout")!=0 ){ |
| 739 |