[Bug 239058] lex: input() returns EOF instead of 0 on end-of-file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 9 10:21:34 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239058

            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 at FreeBSD.org
          Reporter: fuz at 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.

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


More information about the freebsd-bugs mailing list