NetworkManager/src/settings
Thomas Haller 1bad35061f shared: let nm_utils_file_set_contents() return a errno error code
nm_utils_file_set_contents() is a re-implementation of g_file_set_contents(),
as such it returned merely a boolean success value.

It's sometimes interesting to get the native error code. Let the function
deviate from glib's original g_file_set_contents() and return the error code
(as negative value) instead.

This requires all callers to change. Also, it's potentially a dangerous
change, as this is easy to miss.

Note that nm_utils_file_get_contents() also returns an errno, and
already deviates from g_file_get_contents() in the same way. This patch
resolves at least the inconsistency with nm_utils_file_get_contents().
2019-08-08 10:53:03 +02:00
..
plugins shared: let nm_utils_file_set_contents() return a errno error code 2019-08-08 10:53:03 +02:00
nm-agent-manager.c secret-agent: rework secret-agent to better handle service shutdown 2019-08-08 10:10:34 +02:00
nm-agent-manager.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-secret-agent.c secret-agent: rework secret-agent to better handle service shutdown 2019-08-08 10:10:34 +02:00
nm-secret-agent.h secret-agent: rework secret-agent to better handle service shutdown 2019-08-08 10:10:34 +02:00
nm-settings-connection.c settings: no longer honor read-only flag to prevent modifying connection profiles 2019-07-25 23:27:49 +02:00
nm-settings-connection.h settings: track profiles on disk that are shadowed by in-memory connections 2019-07-25 23:27:49 +02:00
nm-settings-plugin.c settings: add nm_settings_plugin_cmp_by_priority() function 2019-07-17 12:51:26 +02:00
nm-settings-plugin.h settings: add nm_settings_plugin_cmp_by_priority() function 2019-07-17 12:51:26 +02:00
nm-settings-storage.c settings: add nm_settings_plugin_cmp_by_priority() function 2019-07-17 12:51:26 +02:00
nm-settings-storage.h settings: rework tracking settings connections and settings plugins 2019-07-16 19:09:08 +02:00
nm-settings-utils.c settings: rework tracking settings connections and settings plugins 2019-07-16 19:09:08 +02:00
nm-settings-utils.h settings: rework tracking settings connections and settings plugins 2019-07-16 19:09:08 +02:00
nm-settings.c settings: fix memory leak 2019-08-05 10:11:08 +02:00
nm-settings.h core,libnm: add AddConnection2() D-Bus API to block autoconnect from the start 2019-07-25 15:26:49 +02:00