# Patch snarfed from # http://http.debian.net/debian/pool/main/k/kobodeluxe/kobodeluxe_0.5.1-8.debian.tar.xz # # Disable reading of configs, graphics, and data from the current directory. # So it's safe to run kobodeluxe from anywhere w/o worry about an attacker # feeding it bad data. --- kobodeluxe-0.5.1.orig/kobo.cpp +++ kobodeluxe-0.5.1/kobo.cpp @@ -141,21 +141,21 @@ * Graphics data */ /* Current dir; from within the build tree */ - fmap->addpath("GFX", "./data/gfx"); + //fmap->addpath("GFX", "./data/gfx"); /* Real data dir */ fmap->addpath("GFX", "DATA>>gfx"); /* Current dir */ - fmap->addpath("GFX", "./gfx"); + //fmap->addpath("GFX", "./gfx"); /* * Sound data */ /* Current dir; from within the build tree */ - fmap->addpath("SFX", "./data/sfx"); + //fmap->addpath("SFX", "./data/sfx"); /* Real data dir */ fmap->addpath("SFX", "DATA>>sfx"); /* Current dir */ - fmap->addpath("SFX", "./sfx"); + //fmap->addpath("SFX", "./sfx"); /* * Score files (user and global) @@ -173,7 +173,7 @@ /* System local */ fmap->addpath("CONFIG", SYSCONF_DIR); /* In current dir (last resort) */ - fmap->addpath("CONFIG", "./"); + //fmap->addpath("CONFIG", "./"); } /cuirass'>logtreecommitdiff
path: root/build-aux/cuirass
AgeCommit message (Expand)Author
2022-05-26cuirass: Create just as many threads as needed....* build-aux/cuirass/evaluate.scm (command-line): Change second argument to 'n-par-for-each'. Ludovic Courtès
2022-05-26cuirass: Fork inferior processes before creating threads....Works around <https://issues.guix.gnu.org/55441#12>. Start from commit bd86bbd300474204878e927f6cd3f0defa1662a5, 'open-inferior' uses 'primitive-fork' instead of 'open-pipe*'. As a result, child process could potentially hang before calling 'execl' due to undefined behavior when forking a multi-threaded process. * build-aux/cuirass/evaluate.scm <top level>: Call 'open-inferior' before 'n-par-for-each'. Ludovic Courtès
2022-05-20cuirass: Close each inferior upon completion....* build-aux/cuirass/evaluate.scm <top level>: Add 'close-inferior' call. Ludovic Courtès