From: Bertram Scharpf Date: 2020-06-02T06:47:37+02:00 Subject: [ruby-core:98621] Re: Function getlogin_r()'s protoype] FYI, Bertram ----- Forwarded message from Thomas Dickey ----- Date: Mon, 1 Jun 2020 14:31:47 -0400 (EDT) From: Thomas Dickey To: Bertram Scharpf Subject: Re: Function getlogin_r()'s protoype ----- Original Message ----- | From: "Bertram Scharpf" | To: "freebsd-questions" | Sent: Monday, June 1, 2020 1:21:03 PM | Subject: Function getlogin_r()'s protoype | 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? agreeing - https://pubs.opengroup.org/onlinepubs/9699919799/functions/getlogin_r.html ----- End forwarded message ----- -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de Unsubscribe: