[Bug 247102] Sort of a typo: int is actually a size_t

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 9 06:10:15 UTC 2020


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

            Bug ID: 247102
           Summary: Sort of a typo: int is actually a size_t
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: software at bertram-scharpf.de

Created attachment 215384
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215384&action=edit
Just a small patch

The function getlogin_r() is declared with a second parameter of type int. This
surely was meant to be a size_t.

See also:
contrib/llvm-project/llvm/include/llvm/Analysis/TargetLibraryInfo.def:889:///
int getlogin_r(char *name, size_t namesize)

Ruby 2.8 compilation was careried out on Linux, but breaks on FreeBSD because
of this.

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


More information about the freebsd-bugs mailing list