The mode can be "r+" as well on PUT, but only "a" on APPE.

This commit is contained in:
yar 2002-08-29 09:53:51 +00:00
parent c4deb81f31
commit f8c5ceb68d

View File

@ -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: