Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jech/polipo
base: master
...
head fork: ghazel/polipo
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 5 additions and 1 deletion.
  1. +5 −1 diskcache.c
View
6 diskcache.c
@@ -1445,8 +1445,12 @@ destroyDiskEntry(ObjectPtr object, int d)
entry = object->disk_entry;
if(entry == NULL || entry == &negativeEntry)
return 0;
- if(diskCacheWriteoutOnClose > 0)
+ if(diskCacheWriteoutOnClose > 0) {
reallyWriteoutToDisk(object, -1, diskCacheWriteoutOnClose);
+ entry = object->disk_entry;
+ if(entry == NULL || entry == &negativeEntry)
+ return 0;
+ }
}
again:
rc = close(entry->fd);

No commit comments for this range

Something went wrong with that request. Please try again.