mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-12 15:31:03 +00:00
d93879e3179329e1997ffdf98ee775c71ca2e60e
Upgrade to release 1.2.20: - Added zlog_fsync(), to flush the logs to disk on demand. - Added zlog_is_init(), so a library can tell whether the program around it has already set zlog up. - Added zlog_category_has_rules(), so a caller can tell a category the configuration covers from one it has never heard of. - Added zlog_fini_try(), which gives up instead of waiting for the configuration lock. zlog_fini() from a signal handler that interrupted a thread inside zlog waits forever. - A rotating rule keeps its file open between messages: two syscalls a line instead of four, and about 1.8x faster. - An oversized message is formatted once instead of twice: "%.200m" of a 4MB message is about twice as fast, for identical output. - A message longer than buffer max is truncated instead of being dropped. - Every %E(NAME) in a format or a file path is replaced, not just the first one. Two of them used to fail zlog_init(). - The rotate lock file falls back to /tmp/zlog.lock when the configuration file is not writable, instead of failing every rotation silently. It is created 0644 rather than 0777, and a symbolic link in its place is refused. - The pthread return values in the writer thread are checked in release builds too, not only where asserts are compiled in. - hzlog prints the buffer length in front of the dump. - Include guards no longer use identifiers reserved to the implementation; the public one is ZLOG_ZLOG_H. - __DATE__ and __TIME__ are gone, so the build is reproducible. - Fixed the install and test targets in the top level Makefile. - zlog.spec is gone: CPack generates its own, and the distributions that package zlog use their own. - Dead code removed from conf.c, level_list.c and thread.c, and the debug messages removed from CMakeLists.txt. - The release procedure is written down in doc/developer.md and no longer names a version, the rotate lock file section of the users guide says what the code does, and CLAUDE.md is corrected and translated to English. - Typos fixed throughout the tree. - Tests added for zlog_init(NULL), the rotation lock file, buffer max truncation, %E() replacement, and the return values test_press_write2 used to ignore Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Collection of layers for the OE-core universe
Main layer maintainer: Khem Raj raj.khem@gmail.com
This repository is a collection of layers to supplement OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories
Languages
BitBake
85.2%
Shell
5.6%
NASL
3.4%
C
2.6%
Roff
1.8%
Other
1.2%