From: <dan...@us...> - 2006-12-30 10:21:44
|
Revision: 849 http://svn.sourceforge.net/cegcc/?rev=849&view=rev Author: dannybackx Date: 2006-12-30 02:21:39 -0800 (Sat, 30 Dec 2006) Log Message: ----------- Replace call of TerminateProcess by ExitProcess, this is the right thing to do according to MSDN ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/html/wcesdkrexitprocess.asp ). Modified Paths: -------------- trunk/cegcc/src/newlib/ChangeLog.cegcc trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c Modified: trunk/cegcc/src/newlib/ChangeLog.cegcc =================================================================== --- trunk/cegcc/src/newlib/ChangeLog.cegcc 2006-12-29 16:33:35 UTC (rev 848) +++ trunk/cegcc/src/newlib/ChangeLog.cegcc 2006-12-30 10:21:39 UTC (rev 849) @@ -1,3 +1,8 @@ +2006-12-29 Danny Backx <dan...@us...> + + * newlib/libc/sys/wince/startup.c : Call ExitProcess instead of + TerminateProcess. + 2006-10-10 Pedro Alves <ped...@po...> * configure.in : Add target-libgloss to $noconfigdirs. Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c 2006-12-29 16:33:35 UTC (rev 848) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c 2006-12-30 10:21:39 UTC (rev 849) @@ -532,7 +532,7 @@ WCETRACE(WCE_IO, "_startup: going to terminate with exitcode: %d", exitcode); WCETRACECLOSE(); - TerminateProcess(GetCurrentProcess(), exitcode); + ExitProcess(exitcode); return exitcode; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |