]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added documentation 1152/head
authorArvin Schnell <aschnell@suse.de>
Mon, 22 Jun 2026 14:14:32 +0000 (16:14 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 22 Jun 2026 14:14:32 +0000 (16:14 +0200)
client/proxy/commands.cc
dbus/DBusPipe.h

index 3279d3373d6c8c28bc055e4e3da5e975a832e36d..f561faaa8468c13b94c59048e3ad03db0f7168d0 100644 (file)
@@ -594,7 +594,6 @@ command_get_xfiles_by_pipe(DBus::Connection& conn, const string& config_name, un
     if (fclose(fin) != 0)
        SN_THROW(IOErrorException("reading pipe failed, fclose failed: " + stringerror(errno)));
 
-
     return files;
 }
 
index 63bacf6aeb848041b6de2a0612bfff20e227cc77..6dd4fe379064eab7021dc609b3e126aa0ecab053 100644 (file)
@@ -44,6 +44,9 @@ namespace DBus
        int get_fd() const { return _fd; }
        void set_fd(int fd) { _fd = fd; }
 
+       /*
+        * Also transfers ownership of fd to FILE iff the call is successful.
+        */
        FILE* fdopen(const char* mode);
 
     private: