This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgo patch committed: Add system calls


On Fri, Oct 18, 2013 at 5:40 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> Hello!
>
>> This patch to libgo adds some system calls to the syscall package.
>> Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
>> Committed to mainline and 4.8 branch, since these calls were in Go
>> 1.1.2.
>
> Uros.
>
> Index: runtime/go-nosys.c
> ===================================================================
> --- runtime/go-nosys.c  (revision 203810)
> +++ runtime/go-nosys.c  (working copy)
> @@ -47,7 +47,7 @@ accept4 (int sockfd __attribute__ ((unused)),
>  int
>  dup3 (int oldfd __attribute__ ((unused)),
>        int newfd __attribute__ ((unused)),
> -      int flags __attribtue__ ((unused)))
> +      int flags __attribute__ ((unused)))
>  {
>    errno = ENOSYS;
>    return -1;



Wow, who writes this stuff?

Committed to mainline and 4.8 branch.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]