The mode can be "r+" as well on PUT, but only "a" on APPE.
This commit is contained in:
parent
c4deb81f31
commit
f8c5ceb68d
@ -1697,7 +1697,7 @@ store(char *name, char *mode, int unique)
|
||||
data = -1;
|
||||
pdata = -1;
|
||||
done:
|
||||
LOGBYTES(*mode == 'w' ? "put" : "append", name, byte_count);
|
||||
LOGBYTES(*mode == 'a' ? "append" : "put", name, byte_count);
|
||||
(*closefunc)(fout);
|
||||
return;
|
||||
err:
|
||||
|
Loading…
Reference in New Issue
Block a user