summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-29 20:29:53 +0100
committerLennart Poettering <lennart@poettering.net>2016-04-12 13:43:31 +0200
commit7f8a0d7b416f893b3a2a1eefbe6aa8da9ea02117 (patch)
tree1f7b115e500031ebbe8bdf0f6f9bd790752e1512 /CODING_STYLE
parent5b5ad18dd9c22957092a651300a2e48bc34959d5 (diff)
update CODING_STYLE a bit
Diffstat (limited to 'CODING_STYLE')
-rw-r--r--CODING_STYLE1
1 files changed, 1 insertions, 0 deletions
diff --git a/CODING_STYLE b/CODING_STYLE
index e5ba396368..c2b2e56d5d 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).