From 9d0b53f86371a459615e9872a5b835b917a568ae Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 4 Feb 2013 12:55:51 +0100 Subject: docs/comments: make some corrections/updates Many fixes for typos but also some adjustments for the recent refactoring (particularly updating HACKING). --- shm/dconf-shm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shm') diff --git a/shm/dconf-shm.c b/shm/dconf-shm.c index d291305..57890c6 100644 --- a/shm/dconf-shm.c +++ b/shm/dconf-shm.c @@ -71,7 +71,7 @@ dconf_shm_open (const gchar *name) goto out; } - /* fruncate(fd, 1) is not sufficient because it does not actually + /* ftruncate(fd, 1) is not sufficient because it does not actually * ensure that the space is available (which could give a SIGBUS * later). * @@ -128,7 +128,7 @@ dconf_shm_flag (const gchar *name) { guint8 *shm; - /* It would ahve been easier for us to do write(fd, "\1", 1); + /* It would have been easier for us to do write(fd, "\1", 1); * but this causes problems on kernels (ie: OpenBSD) that * don't sync up their filesystem cache with mmap()ed regions. * -- cgit v1.2.1