This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] profile support
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 23 Aug 2011 01:40:03 -0400
- Subject: Re: [PATCH] profile support
- References: <CADEiHqLZAuJkDJKh4pJ4AOJ1JwUwV06RSkq3GdNihSKhiUswGw@mail.gmail.com> <20110820084946.GA30978@calimero.vinschen.de> <4E533502.4060207@gmail.com>
- Reply-to: cygwin-patches at cygwin dot com
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