From 1126a18822701632e5914e441386c7fa5d2cf474 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 31 Dec 2019 10:35:00 +0100 Subject: fix number to decimal string conversion --- strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strings.c b/strings.c index 7c87e29..4164467 100644 --- a/strings.c +++ b/strings.c @@ -6,7 +6,7 @@ void uint32_to_dec(uint32_t number, char buf[10]) { for (int i = 0; i < 10; i++) { - buf[10 - 1 - i] = number % 10; + buf[10 - 1 - i] = '0' + (number % 10); number /= 10; } } -- cgit v1.2.3 ain'>index : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/store.scm
AgeCommit message (Expand)Author
2019-02-06daemon: Emit a 'build-succeeded' event in check mode....Ludovic Courtès
2019-01-21store: Rename '&nix-error' to '&store-error'....Ludovic Courtès
2019-01-09maint: Remove 'cond-expand' forms for Guile 2.0....Ludovic Courtès
2018-10-15daemon: Support multiplexed build output....Ludovic Courtès
2018-09-05tests: Adjust 'add-file-tree-to-store' test for lack of /bin/sh....Ludovic Courtès
2018-09-04Switch to Guile-Gcrypt....Ludovic Courtès
2018-07-19store: Add 'add-file-tree-to-store'....Ludovic Courtès
2018-06-14store: Remove 'register-path'....Ludovic Courtès
2017-11-21tests: Disable test for freed disk space that fails on Btrfs....Marius Bakke
2017-05-07tests: Corrupt archive import test is robust against different store prefixes....Ludovic Courtès
2017-04-21store: 'GUIX_DAEMON_SOCKET' can now be a URI....Ludovic Courtès
2017-03-22tests: Fix 'cond-expand' clause for 2.2/2.0....Ludovic Courtès
2017-03-15store: Adjust UTF-8 test to Guile 2.2....Ludovic Courtès
2017-01-30store: Add 'add-data-to-store'....Ludovic Courtès
2017-01-15daemon: Client settings no longer override daemon settings....Ludovic Courtès