[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 01/87: Do not include the terminating zero in /proc/slabinfo
From: |
Samuel Thibault |
Subject: |
[hurd] 01/87: Do not include the terminating zero in /proc/slabinfo |
Date: |
Sun, 09 Nov 2014 11:04:58 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 65ebcc40e55dfb3ee776383891f8a6b15b176d27
Author: Justus Winter <address@hidden>
Date: Wed May 28 14:37:58 2014 +0200
Do not include the terminating zero in /proc/slabinfo
* rootdir.c (rootdir_gc_slabinfo): Do not zero-terminate the generated
content.
---
rootdir.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/rootdir.c b/rootdir.c
index 076885c..0b13119 100644
--- a/rootdir.c
+++ b/rootdir.c
@@ -529,7 +529,6 @@ rootdir_gc_slabinfo (void *hook, char **contents, ssize_t
*contents_len)
mem_total, mem_total_reclaimable);
fclose (m);
- *contents_len += 1; /* For the terminating 0. */
out:
vm_deallocate (mach_task_self (),
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 13/87: Fix buffer allocation on io_read, (continued)
- [hurd] 13/87: Fix buffer allocation on io_read, Samuel Thibault, 2014/11/09
- [hurd] 77/87: pfinet: fix path in comment, Samuel Thibault, 2014/11/09
- [hurd] 76/87: libports: lock-less reference counting for port_info objects, Samuel Thibault, 2014/11/09
- [hurd] 81/87: Fix unlocking translator list, Samuel Thibault, 2014/11/09
- [hurd] 63/87: Update NEWS file, Samuel Thibault, 2014/11/09
- [hurd] 09/87: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd, Samuel Thibault, 2014/11/09
- [hurd] 85/87: mach-defpager: use protected payloads for object lookups, Samuel Thibault, 2014/11/09
- [hurd] 87/87: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2014/11/09
- [hurd] 12/87: build: Remove checks for 'getgrouplist' and 'uselocale'., Samuel Thibault, 2014/11/09
- [hurd] 10/87: libstore: provide function declaration until available upstream, Samuel Thibault, 2014/11/09
- [hurd] 01/87: Do not include the terminating zero in /proc/slabinfo,
Samuel Thibault <=
- [hurd] 06/87: libdiskfs: remove the statistics code from the name cache, Samuel Thibault, 2014/11/09
- [hurd] 84/87: Fix optional definitions in static binaries, Samuel Thibault, 2014/11/09
- [hurd] 03/87: libnetfs: add netfs_make_node_alloc to allocate fat nodes, Samuel Thibault, 2014/11/09
- [hurd] 72/87: libports: use a global hash table for the lookups, Samuel Thibault, 2014/11/09
- [hurd] 08/87: Disable linking when cross-compiling, Samuel Thibault, 2014/11/09
- [hurd] 04/87: trans/fakeroot: use fat nodes to simplify the node cache, Samuel Thibault, 2014/11/09
- [hurd] 11/87: Merge branch 'master' of git://git.sv.gnu.org/hurd/hurd, Samuel Thibault, 2014/11/09
- [hurd] 07/87: libdiskfs: use a hash table for the name cache, Samuel Thibault, 2014/11/09
- [hurd] 05/87: trans/fakeroot: use netfs_node_netnode instead of np->nn, Samuel Thibault, 2014/11/09
- [hurd] 86/87: libpager: use a fixed number of threads, Samuel Thibault, 2014/11/09