Copied from Debian. From: Santiago Vila Subject: zipinfo.c: Do not crash when hostver byte is >= 100 --- a/zipinfo.c +++ b/zipinfo.c @@ -2114,7 +2114,7 @@ else attribs[9] = (xattr & UNX_ISVTX)? 'T' : '-'; /* T==undefined */ - sprintf(&attribs[12], "%u.%u", hostver/10, hostver%10); + sprintf(&attribs[11], "%2u.%u", hostver/10, hostver%10); break; } /* end switch (hostnum: external attributes format) */ ix/'>guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/nix/nix-daemon
AgeCommit message (Expand)Author
2021-04-03daemon: Remove dead code....Reported by Noisytoot on #guix. * nix/nix-daemon/shared.hh (showManPage): Remove. * nix/nix-daemon/nix-daemon.cc (printHelp, programId): Remove. Ludovic Courtès
2021-03-17daemon: Correctly handle '--discover' with no value....Previously, we'd get: $ guix-daemon --discover error: basic_string::_M_construct null not valid * nix/nix-daemon/guix-daemon.cc (parse_opt): Change second argument to 'settings.set' to properly handle case where ARG is NULL. Ludovic Courtès
2020-11-29Use substitute servers on the local network....* guix/scripts/discover.scm: New file. * Makefile.am (MODULES): Add it. * nix/nix-daemon/guix-daemon.cc (options): Add "discover" option, (parse-opt): parse it, (main): start "guix discover" process when the option is set. * guix/scripts/substitute.scm (%local-substitute-urls): New variable, (substitute-urls): add it. * gnu/services/base.scm (<guix-configuration>): Add "discover?" field, (guix-shepherd-service): honor it. * doc/guix.texi (Invoking guix-daemon): Document "discover" option, (Base Services): ditto. Mathieu Othacehe