diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CODING_STYLE | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/CODING_STYLE b/docs/CODING_STYLE index 26928d2e2d..ca6e1cb693 100644 --- a/docs/CODING_STYLE +++ b/docs/CODING_STYLE @@ -458,3 +458,7 @@ - When referring to a file system path that is a directory, please always suffix it with "/", to indicate that it is a directory, not a regular file (or other file system object). + +- Don't use fgets(), it's too hard to properly handle errors such as overly + long lines. Use read_line() instead, which is our own function that handles + this much nicer. |