[PATCH] profile support

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Tue Aug 23 05:40:00 GMT 2011


On Tue, Aug 23, 2011 at 02:05:06PM +0900, jojelino wrote:
>Index: winsup/cygwin/Makefile.in
>===================================================================
>RCS file: /cvs/src/src/winsup/cygwin/Makefile.in,v
>retrieving revision 1.248
>diff -u -p -r1.248 Makefile.in
>--- winsup/cygwin/Makefile.in	2 May 2011 19:14:39 -0000	1.248
>+++ winsup/cygwin/Makefile.in	22 Aug 2011 20:27:57 -0000
>@@ -233,7 +233,7 @@ EXTRALIBS:=libautomode.a libbinmode.a li
> INSTOBJS:=automode.o binmode.o textmode.o textreadmode.o
> TARGET_LIBS:=$(LIB_NAME) $(CYGWIN_START) $(GMON_START) $(LIBGMON_A) $(SUBLIBS) $(INSTOBJS) $(EXTRALIBS)
> 
>-ifneq "${filter -O%,$(CFLAGS)}" ""
>+ifneq "" ""
>
>-    void *rv = malloc(size);
>+    void *rv = LocalAlloc(0x40,size);

There are a few things in your patch which make no sense.  The above are
two of them.  I am not going to look further.  The patch certainly can't
go in as is.

cgf



More information about the Cygwin-patches mailing list