mu/lib
Ævar Arnfjörð Bjarmason f7245d2372 mu-store: Silence confusing code that's throwing a clang warning
Doing:

    !access(...) == 0

Is equivalent to:

    (!access(...)) == 0

Not:

    !(access(...) == 0)

And throws this warning under clang:

    mu-store.cc:77:6: warning: logical not is only applied to the left hand
    side of this comparison [-Wlogical-not-parentheses]
            if (!access(xpath, F_OK) == 0) {
                ^                    ~~
    mu-store.cc:77:6: note: add parentheses after the '!' to evaluate the
    comparison first
            if (!access(xpath, F_OK) == 0) {
                ^
                 (                       )
    mu-store.cc:77:6: note: add parentheses around left hand side expression
    to silence this warning
            if (!access(xpath, F_OK) == 0) {
                ^
                (                   )

It ends up doing what the author intended anyway since access() returns
-1 on error, and !-1 == 0, but just do the more obvious check and check
that we don't get 0 here with !=.
2015-12-15 12:40:40 +01:00
..
tests mu: decode mailing-list headers 2015-12-15 07:21:26 +02:00
Makefile.am * cleanup: drop gmime-2.4 support 2013-07-21 14:44:44 +03:00
doxyfile.in * lib: doxygen support (WIP, just starting...) 2012-10-27 14:42:21 +03:00
mu-bookmarks.c * update copyright years 2013-03-30 11:32:07 +02:00
mu-bookmarks.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-contacts.c * mu-contacts, mu-msg-file: better deal with contacts with control chars 2013-06-24 22:42:18 +03:00
mu-contacts.h * mu: add the backend for freq information for contacts 2013-06-16 23:02:19 +03:00
mu-container.c mu: Make mu_container_splice_grandchildren() do only one thing 2014-08-15 10:11:21 +02:00
mu-container.h mu: Make mu_container_splice_grandchildren() do only one thing 2014-08-15 10:11:21 +02:00
mu-date.c date-parsing: don't lowercase date range strings 2015-03-22 10:24:14 +02:00
mu-date.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-flags.c * mu: unbreak unit test after flag changes (fixes #247) 2013-07-07 10:46:35 +03:00
mu-flags.h minor whitespace fixes 2015-09-22 09:09:39 +01:00
mu-index.c minor whitespace fixes 2015-09-22 09:09:39 +01:00
mu-index.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-log.c mu: don't use __FUNCTION__, use __func__ 2015-04-22 21:06:31 +03:00
mu-log.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-maildir.c Fix typo near get_new_basename 2015-11-18 15:55:34 +02:00
mu-maildir.h * cosmetics 2013-06-24 22:44:36 +03:00
mu-msg-crypto.c fix for #587 2015-02-20 14:50:11 +01:00
mu-msg-doc.cc * update copyright years 2013-03-30 11:32:07 +02:00
mu-msg-doc.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-msg-fields.c minor whitespace fixes 2015-09-22 09:09:39 +01:00
mu-msg-fields.h minor whitespace fixes 2015-09-22 09:09:39 +01:00
mu-msg-file.c mu: don't use __FUNCTION__, use __func__ 2015-04-22 21:06:31 +03:00
mu-msg-file.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-msg-iter.cc Fix call to c_str() that sometimes dumps core on OpenBSD i386-current 2015-07-02 15:14:29 -05:00
mu-msg-iter.h Fix a core dump under OpenBSD 2015-03-06 00:12:34 +02:00
mu-msg-part.c mu: use '.msgpart' as extension 2015-10-24 11:45:50 +03:00
mu-msg-part.h Fix #280 2015-02-16 01:19:32 +02:00
mu-msg-prio.c * update copyright years 2013-03-30 11:32:07 +02:00
mu-msg-prio.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-msg-priv.h Fix #280 2015-02-16 01:19:32 +02:00
mu-msg-sexp.c mu: add in-reply-to/references to non-body sexp 2015-07-05 20:46:11 +03:00
mu-msg.c mu: decode mailing-list headers 2015-12-15 07:21:26 +02:00
mu-msg.h * cleanup: drop gmime-2.4 support 2013-07-21 14:44:44 +03:00
mu-query.cc Fix a core dump under OpenBSD 2015-03-06 00:12:34 +02:00
mu-query.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-runtime.c * fix a few compiler warnings 2013-05-13 22:30:27 +03:00
mu-runtime.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-script.c * update copyright years 2013-03-30 11:32:07 +02:00
mu-script.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-store-priv.hh mu: optimize indexing (get_uid_term) 2015-11-17 10:55:56 +02:00
mu-store-read.cc mu: optimize indexing (get_uid_term) 2015-11-17 10:55:56 +02:00
mu-store-write.cc Misleading comment removed 2015-09-22 09:09:39 +01:00
mu-store.cc mu-store: Silence confusing code that's throwing a clang warning 2015-12-15 12:40:40 +01:00
mu-store.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-str.c minor whitespace fixes 2015-09-22 09:09:39 +01:00
mu-str.h * handle message-ids a bit specially, update unit tests 2013-10-13 20:05:29 +03:00
mu-threader.c cosmetic 2015-10-07 10:34:55 +03:00
mu-threader.h * update copyright years 2013-03-30 11:32:07 +02:00
mu-util.c mu: optimize indexing (get_uid_term) 2015-11-17 10:55:56 +02:00
mu-util.h mu: optimize indexing (get_uid_term) 2015-11-17 10:55:56 +02:00