Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 11 lines 352 B view raw
1--- a/yasr/config.c.orig 2011-11-28 03:56:58.764995828 +0100 2+++ a/yasr/config.c 2011-11-28 03:57:00.048967703 +0100 3@@ -60,7 +60,7 @@ 4 int args, arg[16], *argp; 5 int i, key, ln = 0, mode = 0; 6 char *home, *ptr, *s; 7- char confname[MAXPATHLEN]; 8+ char confname[strlen(PACKAGE_DATA_DIR) + 10 + 1]; 9 10 if ((home = getenv("HOME")) != NULL) 11 {