Fossil SCM

Minor doc correction.

stephan 2012-07-16 14:36 th1-query-api
Commit 4295728159451e0dde96226d2108b4aaa040c263
1 file changed +2 -1
+2 -1
--- src/blob.c
+++ src/blob.c
@@ -700,11 +700,12 @@
700700
** Initialize a blob to be the content of a file. If the filename
701701
** is blank or "-" then read from standard input.
702702
**
703703
** Any prior content of the blob is discarded, not freed.
704704
**
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).
706707
*/
707708
int blob_read_from_file(Blob *pBlob, const char *zFilename){
708709
int size, got;
709710
FILE *in;
710711
if( zFilename==0 || zFilename[0]==0
711712
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button