[patch] remove sbrk from mkhybrid

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch] remove sbrk from mkhybrid

Daniel Dickman
Below patch removes use of sbrk from mkhybrid.

sbrk is only used here when mkhybrid is run in verbose mode to print a
diagnostic (see src/mkisofs.c).

ok?


Index: src/config.h
===================================================================
RCS file: /cvs/src/gnu/usr.sbin/mkhybrid/src/config.h,v
retrieving revision 1.1
diff -u -p -u -r1.1 config.h
--- src/config.h 10 Oct 2000 20:40:12 -0000 1.1
+++ src/config.h 10 Nov 2018 18:33:54 -0000
@@ -20,7 +20,7 @@
 #define HAVE_MEMMOVE 1
 
 /* Define if you have the sbrk function.  */
-#define HAVE_SBRK 1
+/* #undef HAVE_SBRK */
 
 /* Define if you have the <dirent.h> header file.  */
 #define HAVE_DIRENT_H 1

Reply | Threaded
Open this post in threaded view
|

Re: [patch] remove sbrk from mkhybrid

Theo Buehler-3
On Sat, Nov 10, 2018 at 01:38:13PM -0500, Daniel Dickman wrote:
> Below patch removes use of sbrk from mkhybrid.
>
> sbrk is only used here when mkhybrid is run in verbose mode to print a
> diagnostic (see src/mkisofs.c).
>
> ok?

ok