FreeBSD Bugzilla – Attachment 214081 Details for
Bug 246156
sysutils/memfetch: fix BROKEN (size mismatch)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff to fix sysutils/memfetch
sysutils_memfetch.diff (text/plain), 1.53 KB, created by
Chris Hutchinson
on 2020-05-04 04:19:16 UTC
(
hide
)
Description:
svn diff to fix sysutils/memfetch
Filename:
MIME Type:
Creator:
Chris Hutchinson
Created:
2020-05-04 04:19:16 UTC
Size:
1.53 KB
patch
obsolete
>Index: memfetch/Makefile >=================================================================== >--- memfetch/Makefile (revision 533890) >+++ memfetch/Makefile (working copy) >@@ -10,10 +10,6 @@ > MAINTAINER= onatan@gmail.com > COMMENT= Utility to dump memory of a running process > >-BROKEN= unfetchable >-DEPRECATED= Broken for more than 6 months >-EXPIRATION_DATE= 2020-05-05 >- > LICENSE= GPLv2 > > USES= perl5 shebangfix tar:tgz >Index: memfetch/distinfo >=================================================================== >--- memfetch/distinfo (revision 533890) >+++ memfetch/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (memfetch.tgz) = 923fe5dc11e4bcd611853c42d637da11941ea83c7f53d5c16f741be116573140 >-SIZE (memfetch.tgz) = 12435 >+TIMESTAMP = 1588564241 >+SHA256 (memfetch.tgz) = bf5fd71fa645c19b2ad6cd9b578837dfb8cffcd2d2d6691b2cc43fd87c510e09 >+SIZE (memfetch.tgz) = 12438 >Index: memfetch/files/patch-memfetch.c >=================================================================== >--- memfetch/files/patch-memfetch.c (revision 533890) >+++ memfetch/files/patch-memfetch.c (working copy) >@@ -78,8 +78,8 @@ > st,len); > > if (avoid_mmap) writeptr=MAP_FAILED; else { >-- for (i=st;i<=en;i+=PAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,i,0); >-+ for (i=st;i<=en;i+=PAGE_SIZE) ptrace(PT_READ_D,tracepid,(caddr_t)i,0); >+- for (i=st;i<en;i+=PAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,i,0); >++ for (i=st;i<en;i+=PAGE_SIZE) ptrace(PT_READ_D,tracepid,(caddr_t)i,0); > writeptr=mmap(0,len,PROT_READ,MAP_PRIVATE,memfile,st); > } >
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
Flags:
portmaster
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 246156
: 214081 |
214082