OSDN Git Service

Fix log channel initialization at bionic/logd_write.c.
authorAlexey Tarasov <tarasov@dodologics.com>
Thu, 3 Dec 2009 01:26:22 +0000 (11:26 +1000)
committerAlexey Tarasov <tarasov@dodologics.com>
Thu, 3 Dec 2009 01:37:22 +0000 (11:37 +1000)
commitc22da7ed32f8b537b8e4653fd777056e8315ebdf
tree9505f7cf6c5329d3f6c80f928b7b84dd5e3c2db2
parent95604529ec25fe7923ba88312c590f38aa5e3d9e
Fix log channel initialization at bionic/logd_write.c.

log_channel_t contains fd member, which is file descriptor for
exact logging channel. change cc05d1271680d6a7804bc89d3b1fe14c40b32396
lacks initialization of this member in __write_to_log_init(), thus
logging code is not working, although not crashable.

Additional details may be found in comments here:
http://review.source.android.com/5617
libc/bionic/logd_write.c