| Message ID | 20261027154501.1209697-1-leon.anavi@konsulko.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-oe,1/2] zlog: Upgrade 1.2.19 -> 1.2.20 | expand |
diff --git a/meta-oe/recipes-extended/zlog/zlog_1.2.19.bb b/meta-oe/recipes-extended/zlog/zlog_1.2.20.bb similarity index 85% rename from meta-oe/recipes-extended/zlog/zlog_1.2.19.bb rename to meta-oe/recipes-extended/zlog/zlog_1.2.20.bb index e3355bb2db..8be5db16c4 100644 --- a/meta-oe/recipes-extended/zlog/zlog_1.2.19.bb +++ b/meta-oe/recipes-extended/zlog/zlog_1.2.20.bb @@ -4,7 +4,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https;tag=${PV}" -SRCREV = "728602097c5f07f860f7ca32baecb229d89a2637" +SRCREV = "92b4ad0f60856ae92198d080327bd2c4ed10cd7d" inherit cmake
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> --- .../recipes-extended/zlog/{zlog_1.2.19.bb => zlog_1.2.20.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-extended/zlog/{zlog_1.2.19.bb => zlog_1.2.20.bb} (85%)