From d0515a289a374d9c31ef825b6d06b94f105b5659 Mon Sep 17 00:00:00 2001 From: bearhoney <34187569+bearhoney@users.noreply.github.com> Date: Mon, 7 Feb 2022 11:41:41 +0100 Subject: [PATCH] Update CODING_STYLE.md Fixed typo. --- docs/CODING_STYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3