Code

History

Commits on master to cache.c35+
  1. cache: truncate lock file before fillingJason A. Donenfeld committed 7 months ago829eb07
  2. cache: tolerate short writes in print_slotHristo Venev committed 4 years ago852cb3b
  3. git: update to v2.30.0Christian Hesse committed 5 years agocef27b6
  4. cache: close race window when unlocking slotsJohn Keeping committed 8 years agob31e998
  5. global: spelling fixesVille Skyttä committed 9 years ago67d0f87
  6. cache: flush stdio before restoring FDsJohn Keeping committed 9 years ago3b485cc
  7. cache: don't check for match with no keyJohn Keeping committed 10 years ago33bc949
  8. cache: use size_t for string lengthsJohn Keeping committed 10 years ago3fbfced
  9. cache: fix resource leak: close file handle before returnChristian Hesse committed 11 years ago76dc7a3
  10. cache.c: fix header orderJohn Keeping committed 11 years ago43620cf
  11. cache: don't use an integer as a NULL pointerJohn Keeping committed 11 years ago80d5207
  12. cache: use F_SETLK to avoid stale lock filesJohn Keeping committed 11 years agodb9a70b
  13. Skip cache slot when time-to-live is zeroLukas Fleischer committed 12 years ago6ceba45
  14. cache: use sendfile() instead of a pair of read() + write()Sebastian Andrzej Siewior committed 12 years agod3581b5
  15. Switch to exclusively using global ctxLukas Fleischer committed 12 years agof60ffa1
  16. cache: don't leave cache_slot fields uninitializedJohn Keeping committed 12 years ago382ecf1
  17. Update copyright informationLukas Fleischer committed 12 years agof7f26f8
  18. cache.c: cache ls_cache output properlyJohn Keeping committed 13 years agof32a2da
  19. cache.c: fix cache_lsJohn Keeping committed 13 years agof75900b
  20. use struct strbuf instead of static buffersJohn Keeping committed 13 years agofb3655d
  21. Mark several functions/variables staticLukas Fleischer committed 13 years agobafab42
  22. White space around control verbs.Jason A. Donenfeld committed 13 years agobdae1d8
  23. Fix several whitespace errorsLukas Fleischer committed 13 years ago53bc747
  24. Fix some warnings to allow -WerrorRamsay Jones committed 18 years agobdd4a56
  25. cache.c: use %zd for off_t argumentLars Hjemli committed 18 years ago2cecf83
  26. cache.c: fix error checking in print_slot()Lars Hjemli committed 18 years agodd7c172
  27. cache.c: do not ignore errors from print_slot()Lars Hjemli committed 18 years agoaf2e756
  28. cache.c: use xread()/xwrite() from libgitLars Hjemli committed 18 years agocdc6b2f
  29. cache.c: make all io-related functions return errno on errorLars Hjemli committed 18 years agod402811
  30. cache.c: read(2) returns -1 on error, not 0Lars Hjemli committed 18 years ago6102bcf
  31. Add page 'ls_cache'Lars Hjemli committed 18 years ago9000bbf
  32. Redesign the caching layerLars Hjemli committed 18 years ago939d32f
  33. Add cache.hLars Hjemli committed 18 years agoee4056b
  34. Move cgit_repo into cgit_contextLars Hjemli committed 18 years agod1f3bbe
  35. Add all config variables into struct cgit_contextLars Hjemli committed 18 years agob228d4f