Systemd/src/locale
Zbigniew Jędrzejewski-Szmek f5e5c28f42 tree-wide: check if errno is greater then zero
gcc is confused by the common idiom of
  return errno ? -errno : -ESOMETHING
and thinks a positive value may be returned. Replace this condition
with errno > 0 to help gcc and avoid many spurious warnings. I filed
a gcc rfe a long time ago, but it hard to say if it will ever be
implemented [1].

Both conventions were used in the codebase, this change makes things
more consistent. This is a follow up to bcb161b023.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61846
2016-01-13 15:09:55 -05:00
..
.gitignore login: move seat udev rules to login subdir 2012-01-22 18:32:13 +01:00
kbd-model-map kbd-model-map: add more mappings for Slovak, Lithuanian, and Khmer 2015-01-22 01:14:54 -05:00
language-fallback-map language fallback: it_CH (Italian, Swiss) -> it_IT (Italian, Italy) 2015-02-09 07:39:24 +01:00
localectl.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
localed.c tree-wide: check if errno is greater then zero 2016-01-13 15:09:55 -05:00
Makefile build-sys: add stub makefiles to subdirs 2012-01-05 16:29:21 +01:00
org.freedesktop.locale1.conf relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
org.freedesktop.locale1.policy.in polkit: add "imply" rules to a number of polkit actions 2012-12-31 21:24:26 +01:00
org.freedesktop.locale1.service relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00