FreeBSD Bugzilla – Attachment 185725 Details for
Bug 221751
[PATCH] devel/libgtop example depends on obsolete sbrk()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
libgtop-sbrk.diff (text/plain), 1.16 KB, created by
Brooks Davis
on 2017-08-24 18:47:13 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Brooks Davis
Created:
2017-08-24 18:47:13 UTC
Size:
1.16 KB
patch
obsolete
>Index: files/patch-examples_mountlist.c >=================================================================== >--- files/patch-examples_mountlist.c (nonexistent) >+++ files/patch-examples_mountlist.c (working copy) >@@ -0,0 +1,31 @@ >+ >+$FreeBSD$ >+ >+--- examples/mountlist.c.orig >++++ examples/mountlist.c >+@@ -71,16 +71,12 @@ >+ >+ printf ("Host = '%s' - %u\n\n", buffer, port); >+ >+- printf ("sbrk (0) = %p\n\n", sbrk (0)); >+- >+ for (c = 0; c < PROFILE_COUNT; c++) { >+ mount_entries = glibtop_get_mountlist (&mount_list, 1); >+ >+ g_free (mount_entries); >+ } >+ >+- printf ("sbrk (0) = %p\n\n", sbrk (0)); >+- >+ mount_entries = glibtop_get_mountlist (&mount_list, 1); >+ >+ if (mount_entries == NULL) >+@@ -108,8 +104,6 @@ >+ >+ g_free (mount_entries); >+ >+- printf ("\nsbrk (0) = %p\n\n", sbrk (0)); >+- >+ glibtop_close (); >+ >+ exit (0); > >Property changes on: files/patch-examples_mountlist.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 221751
: 185725