summaryrefslogtreecommitdiff
path: root/src/nss-myhostname/netlink.c
AgeCommit message (Collapse)Author
2013-11-18Remove duplicate includesKarel Zak
2013-10-13Never call qsort on potentially NULL arraysZbigniew Jędrzejewski-Szmek
This extends 62678ded 'efi: never call qsort on potentially NULL arrays' to all other places where qsort is used and it is not obvious that the count is non-zero.
2013-04-02nss-myhostname: do not use _cleanup_Zbigniew Jędrzejewski-Szmek
mss-myhostname wasn't working because of underlinking. Instead of fixing the underlinking, just remove the use of _cleanup_ macros. It is impolite to use our utility functions in modules designed to be loaded by others. So cleanup macros which (at some point) call assert which calls log_assert_failed, should not be used. Revert this part of commit d73c3269c.
2013-03-31nss-myhostname: use _cleanup_ and split function into twoZbigniew Jędrzejewski-Szmek
The triply nested loop is just too much. Let's split out the middle loop's body, so the whole thing is easier to read. Also modernize the style a bit, using structure initialization to avoid memset and such.
2013-01-07nss-myhostname: remove duplicate LICENCETom Gundersen
Also update the licence in the source files.
2013-01-03nss-myhostname: move to subdirectoryTom Gundersen
In order to merge into the systemd repos.