about summary refs log tree commit diff
path: root/cache.c (follow)
Commit message (Expand)AuthorAge
* cache: close race window when unlocking slotsJohn Keeping2018-06-27
* global: spelling fixesVille Skyttä2017-10-15
* cache: flush stdio before restoring FDsJohn Keeping2017-10-03
* cache: don't check for match with no keyJohn Keeping2016-01-17
* cache: use size_t for string lengthsJohn Keeping2016-01-17
* cache: fix resource leak: close file handle before returnChristian Hesse2015-10-10
* cache.c: fix header orderJohn Keeping2015-08-13
* cache: don't use an integer as a NULL pointerJohn Keeping2015-03-09
* cache: use F_SETLK to avoid stale lock filesJohn Keeping2015-03-03
* Skip cache slot when time-to-live is zeroLukas Fleischer2014-02-21
* cache: use sendfile() instead of a pair of read() + write()Sebastian Andrzej Siewior2014-01-19
* Switch to exclusively using global ctxLukas Fleischer2014-01-17
* cache: don't leave cache_slot fields uninitializedJohn Keeping2014-01-12
* Update copyright informationLukas Fleischer2014-01-08
* cache.c: cache ls_cache output properlyJohn Keeping2013-05-22
* cache.c: fix cache_lsJohn Keeping2013-05-18
* use struct strbuf instead of static buffersJohn Keeping2013-04-08
* Mark several functions/variables staticLukas Fleischer2013-03-04
* White space around control verbs.Jason A. Donenfeld2013-03-04
* Fix several whitespace errorsLukas Fleischer2013-03-04
* Fix some warnings to allow -WerrorRamsay Jones2008-11-06
* cache.c: use %zd for off_t argumentLars Hjemli2008-09-01
* cache.c: fix error checking in print_slot()Lars Hjemli2008-05-20
* cache.c: do not ignore errors from print_slot()Lars Hjemli2008-05-18
* cache.c: use xread()/xwrite() from libgitLars Hjemli2008-05-18
* cache.c: make all io-related functions return errno on errorLars Hjemli2008-05-18
* cache.c: read(2) returns -1 on error, not 0Lars Hjemli2008-05-18
* Add page 'ls_cache'Lars Hjemli2008-04-28
* Redesign the caching layerLars Hjemli2008-04-28
* Add cache.hLars Hjemli2008-03-27
* Move cgit_repo into cgit_contextLars Hjemli2008-02-16
* Add all config variables into struct cgit_contextLars Hjemli2008-02-16
* Introduce struct cgit_contextLars Hjemli2008-02-16
* cache_safe_filename() needs more buffersLars Hjemli2007-05-18
* Enable url=value querystring parameterLars Hjemli2007-05-18
* Remove troublesome chars from cachefile namesLars Hjemli2007-01-12
* Move cache_prepare() to cgitLars Hjemli2007-01-12
* Allow relative paths for cgit_cache_rootLars Hjemli2006-12-16
* cache_lock: do xstrdup/free on lockfileLars Hjemli2006-12-12
* Don't truncate valid cachefilesLars Hjemli2006-12-11
* Avoid infinite loops in caching layerLars Hjemli2006-12-11
* Fix cache algorithm loopholeLars Hjemli2006-12-11
* Add license file and copyright noticesLars Hjemli2006-12-10
* Add caching infrastructureLars Hjemli2006-12-10
ser.c?id=dad1cb18b60ecce925f4ed234553a43fa6c81447&follow=1'>parser: Allow newlines within parameter substitutionHerbert Xu On Fri, Mar 16, 2018 at 11:27:22AM +0800, Herbert Xu wrote: > On Thu, Mar 15, 2018 at 10:49:15PM +0100, Harald van Dijk wrote: > > > > Okay, it can be trivially modified to something that does work in other > > shells (even if it were actually executed), but gets rejected at parse time > > by dash: > > > > if false; then > > : ${$+ > > } > > fi > > That's just a bug in dash's parser with ${} in general, because > it bombs out without the if clause too: > > : ${$+ > } This patch fixes the parsing of newlines with parameter substitution. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-04-02expand: Fix bugs with words connected to the right of $@Herbert Xu On Sun, Mar 04, 2018 at 12:44:59PM +0100, Harald van Dijk wrote: > > command: set -- a ""; space=" "; printf "<%s>" "$@"$space > bash: <a><> > dash 0.5.8: <a>< > > dash 0.5.9.1: <a>< > > dash patched: <a><> This is actually composed of two bugs. First of all our tracking of quotemark is wrong so anything after "$@" becomes quoted. Once we fix that then the problem is that the first space character after "$@" is not recognised as an IFS. This patch fixes both. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-25Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"Herbert Xu This reverts commit 7bb413255368e94395237d789f522891093c5774. The commit breaks printf with more than argument. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-22parser: Fix backquote support in here-document EOF markHerbert Xu