fix typos in comments

This commit is contained in:
Simon Ruderich
2014-06-22 18:24:49 +02:00
parent b52ae7942b
commit 733e149c1a
2 changed files with 5 additions and 3 deletions

View File

@@ -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

View File

@@ -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());