From: Simon Ruderich Date: Sun, 22 Jun 2014 16:24:49 +0000 (+0200) Subject: fix typos in comments X-Git-Tag: 0.2~1 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=733e149c1a48f5fcb5c90579c67af57f9df982ef;p=coloredstderr%2Fcoloredstderr.git fix typos in comments --- diff --git a/src/coloredstderr.c b/src/coloredstderr.c index eaeebd3..064383e 100644 --- a/src/coloredstderr.c +++ b/src/coloredstderr.c @@ -326,7 +326,7 @@ HOOK_FILE2(int, __overflow, f, _IO_FILE *, f, int, ch) /* Same for FreeBSD's libc. However it's more aggressive: The inline writing * and __swbuf() are also used for normal output (e.g. putc()). Writing to * stderr is still fine; it always calls __swbuf() as stderr is always - * unbufferd. */ + * unbuffered. */ #ifdef HAVE___SWBUF HOOK_FILE2(int, __swbuf, f, int, c, FILE *, f) #endif diff --git a/src/trackfds.h b/src/trackfds.h index c755086..19ed1af 100644 --- a/src/trackfds.h +++ b/src/trackfds.h @@ -99,12 +99,14 @@ static int init_tracked_fds_list(size_t count) { return 1; } -/* Load tracked file descriptors from the environment. The environment is used +/* + * Load tracked file descriptors from the environment. The environment is used * to pass the information to child processes. * * ENV_NAME_FDS and ENV_NAME_PRIVATE_FDS have the following format: Each * descriptor as string followed by a comma; there's a trailing comma. - * Example: "2,4,". */ + * Example: "2,4,". + */ static void init_from_environment(void) { #ifdef DEBUG debug("init_from_environment()\t\t[%d]\n", getpid());