Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 04/09/1999 03:24:43
Module Name:	src
Committed By:	bouyer
Date:		Fri Apr  9 10:24:43 UTC 1999

Modified Files:
	src/distrib/utils/sysinst: defs.h disks.c install.c label.c main.c
	    menus.mi.eng menus.mi.fr msg.mi.eng msg.mi.fr net.c run.c target.c
	    util.c
	src/distrib/utils/sysinst/arch/alpha: md.c
	src/distrib/utils/sysinst/arch/arm32: md.c
	src/distrib/utils/sysinst/arch/bebox: md.c msg.md.eng
	src/distrib/utils/sysinst/arch/i386: md.c menus.md.fr msg.md.eng
	    msg.md.fr
	src/distrib/utils/sysinst/arch/mac68k: md.c
	src/distrib/utils/sysinst/arch/macppc: md.c
	src/distrib/utils/sysinst/arch/pc532: md.c
	src/distrib/utils/sysinst/arch/pmax: md.c
	src/distrib/utils/sysinst/arch/sparc: md.c
	src/distrib/utils/sysinst/arch/vax: md.c
Log Message:
Some fixes for the do_install() function:
- Make all the functions called from do_install() return an error code,
so that we can abort install if something went wrong.
- Add a 'errstr' argument to run_prog(), which if not NULL is displayed
with msg_printf() and followed by process_menu(MENU_ok) if the command fail.
Used to warn the user that the current action is aborted.
- in a few places use msg_display() or msg_printf() rather than printf.
It seems that stdout/stderr are not always pointing to the active curses
window.
- garbage-collecd unused messages, add a few new one (error handling).
XXX only tested on i386. Other md parts should be tested as well.