From: bearhoney <34187569+bearhoney@users.noreply.github.com> Date: Mon, 7 Feb 2022 10:41:41 +0000 (+0100) Subject: Update CODING_STYLE.md X-Git-Tag: v251-rc1~344 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0515a289a374d9c31ef825b6d06b94f105b5659;p=thirdparty%2Fsystemd.git Update CODING_STYLE.md Fixed typo. --- diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index cd4486973e2..a808e649b98 100644 --- a/docs/CODING_STYLE.md +++ b/docs/CODING_STYLE.md @@ -518,7 +518,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later - It's a good idea to use `O_NONBLOCK` when opening 'foreign' regular files, i.e. file system objects that are supposed to be regular files whose paths - where specified by the user and hence might actually refer to other types of + were specified by the user and hence might actually refer to other types of file system objects. This is a good idea so that we don't end up blocking on 'strange' file nodes, for example if the user pointed us to a FIFO or device node which may block when opening. Moreover even for actual regular files