Date: Mon, 1 Jun 2020 19:21:03 +0200 From: Bertram Scharpf <lists@bertram-scharpf.de> To: freebsd-questions@freebsd.org Subject: Funtion getlogin_r()'s protoype Message-ID: <20200601172103.d4ellm6wparwm3fb@becker.bs.l>
next in thread | raw e-mail | index | archive | help
Hi, I tried to build the newest Ruby. The compilation breaks because a function is declared differently in Linux and in FreeBSD. The Ruby crew doesn't seem to have noticed this yet. int getlogin_r(char *, size_t); /* Linux */ int getlogin_r(char *, int); /* FreeBSD */ The longer I think about it I get convinced this is a problem of FreeBSD rather than of Ruby. What do you think? What solution do you propose? Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200601172103.d4ellm6wparwm3fb>