This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] profile support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]