libgo patch committed: Change RLIM_INFINITY from 0xffffffffffffffff to -1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

libgo patch committed: Change RLIM_INFINITY from 0xffffffffffffffff to -1

Ian Lance Taylor-4
This libgo patch changees RLIM_INFINITY from 0xffffffffffffffff to -1
on GNU/Linux.  0xffffffffffffffff is arguably the correct value, but
in the gc toolchain's syscall package the value is -1.  So we are
compatible.  New programs should be using the golang.org/x/sys/unix
package anyhow.  This fixes https://golang.org/issue/28665.
Bootstrapped and ran Go tests on x86_64-pc-linux-gnu.  Committed to
trunk and to 7 and 8 branches.

Ian

patch.txt (2K) Download Attachment