diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-10-13 17:16:35 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-10-13 17:16:35 +0200 |
| commit | 19e1ff660db8a6653d67884d10bc830babc1560d (patch) | |
| tree | ead4b484e82ac7a2b352ea397e36cee1888703a0 /src/allocators/scalloc | |
| parent | 1c4986fbcfe3a8a012dfade02a4892dc775c7af5 (diff) | |
| download | allocbench-19e1ff660db8a6653d67884d10bc830babc1560d.tar.gz allocbench-19e1ff660db8a6653d67884d10bc830babc1560d.zip | |
improve patch handling in allocator.py
* patches are only applied if they aren't applied already
* patch no uses -p0 so git diff patches must be adjusted
Diffstat (limited to 'src/allocators/scalloc')
| -rw-r--r-- | src/allocators/scalloc/scalloc_fix_log.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/allocators/scalloc/scalloc_fix_log.patch b/src/allocators/scalloc/scalloc_fix_log.patch index eaae806..9d4a7d8 100644 --- a/src/allocators/scalloc/scalloc_fix_log.patch +++ b/src/allocators/scalloc/scalloc_fix_log.patch @@ -1,7 +1,7 @@ -diff --git a/src/log.h b/src/log.h +diff --git src/log.h src/log.h index 3edc36d..e1d181c 100644 ---- a/src/log.h -+++ b/src/log.h +--- src/log.h ++++ src/log.h @@ -46,13 +46,13 @@ inline void LogPrintf( snprintf(line_buffer, sizeof(line_buffer), "%d", line); |
