]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commit
Fix initialization if ENV_NAME_FDS was not set.
authorSimon Ruderich <simon@ruderich.org>
Sat, 1 Jun 2013 16:27:56 +0000 (18:27 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 1 Jun 2013 16:27:56 +0000 (18:27 +0200)
commit7d4d8e0784059412a7ab3dfdfe3ad011b894a6e4
tree463c5d281378ad4143c06939497c016949ed3edc
parent5e162a33ae8a80eebaf3792a962cb6ecc0950bda
Fix initialization if ENV_NAME_FDS was not set.

If ENV_NAME_FDS is not set then init_from_environment() was called for
each hooked function, instead of just once.
src/coloredstderr.c
src/trackfds.h