FreeBSD Bugzilla – Attachment 202919 Details for
Bug 234631
devel/valgrind: Fixes for FreeBSD 12.x support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pipe() -> pipe2(,0)
patch-coregrind_m__libcfile.c (text/plain), 603 bytes, created by
Ivan Rozhuk
on 2019-03-16 18:30:22 UTC
(
hide
)
Description:
pipe() -> pipe2(,0)
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2019-03-16 18:30:22 UTC
Size:
603 bytes
patch
obsolete
>--- coregrind/m_libcfile.c.orig 2016-01-13 22:20:20.000000000 +0300 >+++ coregrind/m_libcfile.c 2019-03-16 21:25:07.219471000 +0300 >@@ -255,11 +255,7 @@ > SysRes res = VG_(do_syscall1)(__NR_pipe, (UWord)fd); > return sr_isError(res) ? -1 : 0; > # elif defined(VGO_freebsd) >- SysRes res = VG_(do_syscall0)(__NR_pipe); >- if (!sr_isError(res)) { >- fd[0] = sr_Res(res); >- fd[1] = sr_ResHI(res); >- } >+ SysRes res = VG_(do_syscall2)(__NR_pipe2, (UWord)fd, 0); > return sr_isError(res) ? -1 : 0; > # elif defined(VGO_darwin) > /* __NR_pipe is UX64, so produces a double-word result */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234631
:
200787
|
202919
|
202943