summaryrefslogtreecommitdiffstats
path: root/libc/bionic/logd_write.c
Commit message (Collapse)AuthorAgeFilesLines
* libc: remove cutils dependenciesDavid 'Digit' Turner2010-06-111-2/+7
| | | | | | | | We simply copy the stuff we need from cutils headers. A future patch will change cutils to include the private <bionic_atomic_inline.h> Change-Id: Ib6fd9a03bc9e337ce867bd606dc94c2b4438480a
* merge from open-source masterThe Android Open Source Project2010-05-031-0/+2
|\ | | | | | | Change-Id: If02d33af51017dbd85e91c79ac2e848eda6cf253
| * Fix log channel initialization at bionic/logd_write.c.Alexey Tarasov2009-12-031-0/+2
| | | | | | | | | | | | | | | | | | | | 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
* | Fix libc logging implementation.Andy McFadden2009-11-301-1/+2
|/ | | | | | | | The file descriptor wasn't getting set, so the writev() call was silently failing. There's a parallel implementation over in system/core/liblog, but it's still using the old approach and didn't have this problem.
* Changed logging functions in bionic/logd_write.c.Alexey Tarasov2009-08-251-32/+50
| | | | | | | | | | Main differences from original code: 1. now log channel for LOG_ID_MAIN may exist even if LOG_ID_RADIO facility failed. 2. __write_to_log_null() now acts as always successful function. 3. it's more simplier to add new logging channels now ammended commit fixes my typo on line 130
* Prevent a crash in the memory leak checker (which happened in chk_free())David 'Digit' Turner2009-07-101-4/+4
| | | | | | Simplify the code a little, removing un-necessary mutex locks/unlocks. Provide slightly better diagnostic message in case of corruption. Use snprintf/strlcat instead of sprintf/strcat
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+166
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-166/+0
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-1/+1
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-211-0/+166