Fossil SCM
Minor doc correction.
Commit
4295728159451e0dde96226d2108b4aaa040c263
Parent
726f998b5f65658…
1 file changed
+2
-1
+2
-1
| --- src/blob.c | ||
| +++ src/blob.c | ||
| @@ -700,11 +700,12 @@ | ||
| 700 | 700 | ** Initialize a blob to be the content of a file. If the filename |
| 701 | 701 | ** is blank or "-" then read from standard input. |
| 702 | 702 | ** |
| 703 | 703 | ** Any prior content of the blob is discarded, not freed. |
| 704 | 704 | ** |
| 705 | -** Return the number of bytes read. Return -1 for an error. | |
| 705 | +** Return the number of bytes read. Calls fossil_panic() error (i.e. | |
| 706 | +** it exit()s and does not return). | |
| 706 | 707 | */ |
| 707 | 708 | int blob_read_from_file(Blob *pBlob, const char *zFilename){ |
| 708 | 709 | int size, got; |
| 709 | 710 | FILE *in; |
| 710 | 711 | if( zFilename==0 || zFilename[0]==0 |
| 711 | 712 |
| --- src/blob.c | |
| +++ src/blob.c | |
| @@ -700,11 +700,12 @@ | |
| 700 | ** Initialize a blob to be the content of a file. If the filename |
| 701 | ** is blank or "-" then read from standard input. |
| 702 | ** |
| 703 | ** Any prior content of the blob is discarded, not freed. |
| 704 | ** |
| 705 | ** Return the number of bytes read. Return -1 for an error. |
| 706 | */ |
| 707 | int blob_read_from_file(Blob *pBlob, const char *zFilename){ |
| 708 | int size, got; |
| 709 | FILE *in; |
| 710 | if( zFilename==0 || zFilename[0]==0 |
| 711 |
| --- src/blob.c | |
| +++ src/blob.c | |
| @@ -700,11 +700,12 @@ | |
| 700 | ** Initialize a blob to be the content of a file. If the filename |
| 701 | ** is blank or "-" then read from standard input. |
| 702 | ** |
| 703 | ** Any prior content of the blob is discarded, not freed. |
| 704 | ** |
| 705 | ** Return the number of bytes read. Calls fossil_panic() error (i.e. |
| 706 | ** it exit()s and does not return). |
| 707 | */ |
| 708 | int blob_read_from_file(Blob *pBlob, const char *zFilename){ |
| 709 | int size, got; |
| 710 | FILE *in; |
| 711 | if( zFilename==0 || zFilename[0]==0 |
| 712 |