Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jul 2019 10:21:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239058] lex: input() returns EOF instead of 0 on end-of-file
Message-ID:  <bug-239058-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239058

            Bug ID: 239058
           Summary: lex: input() returns EOF instead of 0 on end-of-file
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: fuz@fuz.su

The flex version shipped with FreeBSD as /usr/bin/lex generates an input()
function that returns EOF on EOF.  This is contrary to POSIX which mandates
that 0 be returned on EOF.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239058-227>