diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-05-16 11:47:46 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-05-16 11:47:46 +0000 |
commit | 16185b823ace0574c13c214d2dbf3b2870d2c443 (patch) | |
tree | ad4bc78c2672e660c67bf48d392df7569092418a /usr.sbin/sysinstall/config.c | |
parent | fe85fe95dbeadb34358976e6b9d35c6cbca2541b (diff) | |
download | src-16185b823ace0574c13c214d2dbf3b2870d2c443.tar.gz src-16185b823ace0574c13c214d2dbf3b2870d2c443.zip |
Fix some long-standing malloc bugs in the package handling code (freeing garbage
in one place, leaking memory in another).
Add a facility to invoke subsystems directly by naming them on
sysinstall's command-line when running post-install. A replacement
for pkg_manage might, for example, be `/stand/sysinstall configPackages'
Fix bogon where upgrade shell was entered with tty modes spammed.
Fix bug with release name checking in ftp_strat. Turned a bunch of
bogus exit()s into proper calls to systemShutdown().
Notes
Notes:
svn path=/head/; revision=15788
Diffstat (limited to 'usr.sbin/sysinstall/config.c')
-rw-r--r-- | usr.sbin/sysinstall/config.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index d462636f66ec..fd9a2748c3c7 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.29 1996/04/28 22:54:15 jkh Exp $ + * $Id: config.c,v 1.30 1996/04/29 18:06:06 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -476,7 +476,7 @@ configPackages(dialogMenuItem *self) break; } } - tmp = &plist; + tmp = plist.kids; while (tmp) { PkgNodePtr tmp2 = tmp->next; @@ -484,7 +484,6 @@ configPackages(dialogMenuItem *self) tmp = tmp2; } index_init(NULL, &plist); - mediaDevice->shutdown(mediaDevice); return DITEM_SUCCESS; } |