mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
The check for r_flag was accidentally removed in the previous commit.
Submitted by: SANETO Takanori <sanewo@ba2.so-net.ne.jp> MFC after: 3 days
This commit is contained in:
parent
f2b9afaef9
commit
44336f2f9c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134350
@ -418,7 +418,7 @@ fetch(char *URL, const char *path)
|
||||
sb.st_size = -1;
|
||||
if (!o_stdout) {
|
||||
r = stat(path, &sb);
|
||||
if (r == 0 && S_ISREG(sb.st_mode)) {
|
||||
if (r == 0 && r_flag && S_ISREG(sb.st_mode)) {
|
||||
url->offset = sb.st_size;
|
||||
} else {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user