]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: cleanup up error handling in update_catalog()
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 11 Apr 2014 12:44:55 +0000 (08:44 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 12 Apr 2014 14:20:55 +0000 (10:20 -0400)
commite3b9d9c8027a7c4c55cf1614e0fe9423fad69e8f
tree96b0e8921231091506b5aff208cc510da4bf4a1b
parent6e00a80641aaba814204c65365c2fd5a90768394
journal: cleanup up error handling in update_catalog()

- Negative/positive errno mixup caused duplicates not to be detected properly.
  Now we get a warning about some duplicate entries in our own catalogs...
- Errors in update_catalog would be ignored, but they should not be.
src/journal/catalog.c
src/journal/test-catalog.c