mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-09 16:38:32 +01:00
fix typos in comments
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user