[Bug 277037] Typographical errors and grammar clarification in fclose(3) with a patch

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 13 Feb 2024 19:20:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277037

            Bug ID: 277037
           Summary: Typographical errors and grammar clarification in
                    fclose(3) with a patch
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: jfa63@duck.com
                CC: doc@FreeBSD.org

I noticed some typos and potentially ambiguous grammar in flcose(3) and have a
patch to offer.

diff -u a/fclose.3 b/fclose.3 
--- a/fclose.3  2024-02-13 18:08:37.324978000 +0000
+++ b/fclose.3  2024-02-13 18:47:48.201409000 +0000
@@ -73,7 +73,7 @@
 the file descriptor will be written to it.
 If the
 .Fa fdp
-argument will be different then NULL the file descriptor will be returned in
it,
+argument is other than NULL, the file descriptor will be returned in it.
 If the stream does not have an associated file descriptor,
 .Fa fdp
 will be set to -1.

The sentence in question ended in a comma rather than a period. Also 'than' is
needed to indicate a comparison whereas 'then' indicates a continuation. I hope
my change in grammar accurately coveys the correct meaning of the sentence. If
not, I think it's because of the ambiguity.

-- 
You are receiving this mail because:
You are on the CC list for the bug.