• Thomas Haller's avatar
    dns: rework write_to_netconfig() · 41f608dd
    Thomas Haller authored
    The compiler warns when we ignore the return value from write().
    And assigning it to an unused variable, causes another warning.
    Make some use of it, at least to handle EINTR. All other errors
    are still ignored.
    
    While at it, rework the write code to first write to a buffer
    in memory.
    41f608dd
nm-dns-manager.c 59.6 KB