[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wget-dev] wget2 | -c with an exisiting but empty file doesn't work (#41

From: Tim Rühsen
Subject: [Wget-dev] wget2 | -c with an exisiting but empty file doesn't work (#413)
Date: Mon, 05 Nov 2018 15:31:05 +0000

New Issue was created.

Issue 413: https://gitlab.com/gnuwget/wget2/issues/413
Author:    Tim Rühsen

In this case wget2 produces a unique file (e.g. filename.1). This is not 
backward compatible with wget1.x.


In `src/wget.c` we have get_file_size(). It should return -1 on error and all 
calls have to check for the return value resp. the checks have to be modified 
from `> 0` to `>= 0`.

In this process we should also review/modify get_file_mtime(), which could also 
return an error.

Reply to this email directly or view it on GitLab: 
You're receiving this email because of your account on gitlab.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]