From: Charles W. <cwi...@us...> - 2010-09-10 01:44:32
|
Update of /cvsroot/mingw/mingw-get In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv24697 Modified Files: ChangeLog README configure.ac Log Message: Fix "mingw-get deletes itself" bug in last rites handling. Index: README =================================================================== RCS file: /cvsroot/mingw/mingw-get/README,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** README 30 Aug 2010 20:42:26 -0000 1.3 --- README 10 Sep 2010 01:44:24 -0000 1.4 *************** *** 1,3 **** ! Release Notes for mingw-get-0.1-mingw32-alpha-3 $Id$ --- 1,3 ---- ! Release Notes for mingw-get-0.1-mingw32-alpha-4 $Id$ *************** *** 6,9 **** --- 6,40 ---- -------- + This is the fourth alpha release of mingw-get; this is primarily a bug + fix release, with few user visible changes. The installation procedure + remains the same as for previous releases; to upgrade from a previous + release, simply unpack the -bin package over the top of the existing + installation. For further information, and usage advice, see: + + http://mingw.org/wiki/Getting_Started + + + User Visible Changes for mingw-get-0.1-mingw32-alpha-4 + ------------------------------------------------------ + + - This release of mingw-get fixes a bug in the earlier self-upgrade + functionality, where any runtime error "deleted" mingw-get. (mingw-get + and its support file(s) were actually only renamed, but recovery was + difficult). Now, "ordinary" errors such as bad command line arguments, + failed downloads, missing manifests, etc, will not cause this behavior. + However, a catastrophic operating system error may prevent the new + auto-recovery code from executing, leaving mingw-get in its "deleted" + (e.g. renamed) state. If this occurs, simply do the following: + + cd /mingw + mv bin/mingw-get.exe~ bin/mingw-get.exe + mv libexec/mingw-get/mingw-get-0.dll~ libexec/mingw-get/mingw-get-0.dll + + + =============================================== + + Preamble + -------- + This is the third alpha release of mingw-get; this is primarily a bug fix release, with few user visible changes. The installation procedure Index: configure.ac =================================================================== RCS file: /cvsroot/mingw/mingw-get/configure.ac,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** configure.ac 10 Jun 2010 21:32:48 -0000 1.8 --- configure.ac 10 Sep 2010 01:44:24 -0000 1.9 *************** *** 23,27 **** # arising from the use of this software. # ! AC_INIT([mingw-get],[0.1-alpha-3],[http://mingw.org/reporting_bugs]) AC_SUBST([COPYRIGHT_HOLDER],["MinGW Project"]) --- 23,27 ---- # arising from the use of this software. # ! AC_INIT([mingw-get],[0.1-alpha-4],[http://mingw.org/reporting_bugs]) AC_SUBST([COPYRIGHT_HOLDER],["MinGW Project"]) Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/mingw-get/ChangeLog,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** ChangeLog 30 Aug 2010 20:42:26 -0000 1.61 --- ChangeLog 10 Sep 2010 01:44:24 -0000 1.62 *************** *** 1,2 **** --- 1,23 ---- + 2010-09-10 Charles Wilson <mi...@cw...> + + Fix "mingw-get deletes itself" bug in last rites handling. + + * README: Add new release notes. + + * configure.ac: Bump version to 0.1-alpha-4. + + * src/dmh.h: If __cplusplus, include <exception> and + declare dmh_exception class. + + * src/dmh.cpp (class dmh_exception): Implement. + (abort_if_fatal): If DMH_FATAL, throw dmh_exception rather + than calling exit(). + + * src/climain.cpp (climain): Wrap entry function body in try/ + catch block. If dmh_exception is caught, return EXIT_FAILURE. + + * src/clistub.c (main): Capture return value of climain(). If + non-zero, perform last rites and return EXIT_FAILURE. + 2010-08-30 Keith Marshall <kei...@us...> |