summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
544d453)
The if-statement's condition is a conjunctive that tests `!writing' and
then, only if that's true, calls find_cache_aux() and tests `writing' in
determining the first argument; that must be false. Bug pre-dates git
history.
case CACHE_PUBLIC:
if (cache_private
&& !writing
case CACHE_PUBLIC:
if (cache_private
&& !writing
- && find_cache_aux (writing ? 2 : 0, cache_private, id,
+ && find_cache_aux (0, cache_private, id,
buffer, buflen) == OK) {
if (access (buffer, R_OK) != NOTOK) {
got_private:
buffer, buflen) == OK) {
if (access (buffer, R_OK) != NOTOK) {
got_private: