[PATCH] fix for sigsegv in gcc 4.6

jojelino jojelino@gmail.com
Tue Jul 12 19:39:00 GMT 2011


i think it's about 5 month between preceeding one.
missing WINAPI(__stdcall) which should had been added for function 
pointer type is now cause of SIGSEGV. hence it is added.
this changes applies to winsup/cygwin/environ,autoload.cc 
winsup/utils/mkpasswd,mkgroup.c,loadlib.h,cygpath.cc
and in autoload.cc, ebp+4 maybe not frame pointer, but we can make sure 
it replaces return address by using __builtin_frame_address.
this change applies to winsup/cygwin/autoload.cc

patch,changelog modified are attached as you can see.
please review it.

Regards.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: winsup.diff
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110712/b6323d75/attachment.ksh>


More information about the Cygwin-patches mailing list