From: Lennart Poettering Date: Mon, 29 Feb 2016 19:29:53 +0000 (+0100) Subject: update CODING_STYLE a bit X-Git-Tag: v230~185^2~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f8a0d7b416f893b3a2a1eefbe6aa8da9ea02117;p=thirdparty%2Fsystemd.git update CODING_STYLE a bit --- diff --git a/CODING_STYLE b/CODING_STYLE index e5ba396368d..c2b2e56d5d6 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -213,6 +213,7 @@ b) socket() and socketpair() must get SOCK_CLOEXEC passed c) recvmsg() must get MSG_CMSG_CLOEXEC set d) F_DUPFD_CLOEXEC should be used instead of F_DUPFD, and so on + f) invocations of fopen() should take "e" - We never use the POSIX version of basename() (which glibc defines it in libgen.h), only the GNU version (which glibc defines in string.h).