Files
weston/src
David Herrmann fcb6bf43a4 logind: change to -1+errno
Set errno and return -1 in public API calls like all other weston code
does. Most systemd+dbus calls return negative error-codes instead of -1
and setting errno. Thus, we need to explicitly set errno before returning.

Also note that we must set errno _after_ the cleanup path. Calling
functions like close() in the cleanup path might overwrite errno (which is
not what we want). So protect errno until the final return -1;
2013-11-21 16:28:08 -08:00
..
2013-11-19 11:49:28 -08:00
2013-11-19 11:49:25 -08:00
2013-08-08 13:46:13 -07:00
2013-08-08 13:46:13 -07:00
2013-08-08 13:46:13 -07:00
2013-10-21 16:07:10 -07:00
2013-10-21 16:07:10 -07:00
2013-11-12 16:20:34 -08:00
2013-11-12 16:20:34 -08:00
2013-10-21 16:23:58 -07:00
2012-05-10 14:11:44 -04:00
2013-11-21 16:28:08 -08:00
2013-10-21 16:23:58 -07:00
2013-05-22 17:05:45 -04:00