diff options
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rw-r--r-- | xdelta3/xdelta3-main.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index 010b8cb..5df29e2 100644 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h | |||
@@ -2854,7 +2854,7 @@ main_set_source (xd3_stream *stream, xd3_cmd cmd, | |||
2854 | } | 2854 | } |
2855 | else | 2855 | else |
2856 | { | 2856 | { |
2857 | strcpy(sizebuf, " not seekable"); | 2857 | sizebuf[0] = 0; |
2858 | } | 2858 | } |
2859 | 2859 | ||
2860 | XPR(NT "source %s winsize %s blksize %u%s\n", | 2860 | XPR(NT "source %s winsize %s blksize %u%s\n", |
@@ -3063,6 +3063,12 @@ main_getblk_func (xd3_stream *stream, | |||
3063 | { | 3063 | { |
3064 | /* Could assert !IS_ENCODE(), this shouldn't happen | 3064 | /* Could assert !IS_ENCODE(), this shouldn't happen |
3065 | * because of do_not_lru during encode. */ | 3065 | * because of do_not_lru during encode. */ |
3066 | if (option_verbose) | ||
3067 | { | ||
3068 | XPR(NT "copy lags source position by %"Q"u bytes\n", | ||
3069 | sfile->source_position - pos); | ||
3070 | } | ||
3071 | |||
3066 | stream->msg = "non-seekable source: copy is too far back (try raising -B)"; | 3072 | stream->msg = "non-seekable source: copy is too far back (try raising -B)"; |
3067 | return XD3_TOOFARBACK; | 3073 | return XD3_TOOFARBACK; |
3068 | } | 3074 | } |