kmod/shared
Lucas De Marchi a6ede6c7ad util: fix warning of equal values on logical OR
shared/util.c: In function ‘read_str_safe’:
shared/util.c:211:24: warning: logical ‘or’ of equal expressions [-Wlogical-op]
    if (errno == EAGAIN || errno == EWOULDBLOCK ||
                        ^~
shared/util.c: In function ‘write_str_safe’:
shared/util.c:237:24: warning: logical ‘or’ of equal expressions [-Wlogical-op]
    if (errno == EAGAIN || errno == EWOULDBLOCK ||
                        ^~

This is because EAGAIN and EWOULDBLOCK have the same value. Prefer
EAGAIN, but add a static assert to catch if it's not the same in another
architecture.
2016-08-10 12:45:36 -03:00
..
.gitignore Move generic util functions to shared directory 2014-10-03 00:33:25 -03:00
array.c Fix includes after change to build-sys 2015-01-02 12:41:01 -02:00
array.h Move array implementation to shared directory 2014-10-03 00:33:25 -03:00
hash.c Remove FSF mailing address 2014-12-25 23:41:34 -02:00
hash.h Move hash implementation to shared directory 2014-10-03 00:40:11 -03:00
macro.h shared: avoid checking for __STDC_VERSION__ 2015-02-26 13:15:14 -03:00
missing.h Move missing.h to shared directory 2014-10-03 00:31:10 -03:00
strbuf.c Remove FSF mailing address 2014-12-25 23:41:34 -02:00
strbuf.h shared: rename prefixes of strbuf functions 2014-10-11 13:25:51 -03:00
util.c util: fix warning of equal values on logical OR 2016-08-10 12:45:36 -03:00
util.h util: use UINT64_MAX 2015-03-23 23:47:23 -03:00