Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2020 06:10:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 247102] Sort of a typo: int is actually a size_t
Message-ID:  <bug-247102-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: software@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.

help

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