Date: Thu, 1 Nov 2007 13:07:28 +0000 (UTC) From: Ken Smith <kensmith@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall config.c dmenu.c Message-ID: <200711011307.lA1D7SNF054474@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kensmith 2007-11-01 13:07:28 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
usr.sbin/sysinstall config.c dmenu.c
Log:
MFC v1.243 of config.c and v1.48 of dmenu.c - fixes needed because
sysinstall had made bad assumptions about the behavior of getenv(3)
and the new getenv(3) doesn't behave the same as the old one did
if you call it with getenv("amd_enable=YES").
It was noted during review that the use of strdup(3) here is wrong
and should be checked for NULL. It's worth noting that's what I meant
when I said I conformed to sysinstall's style despite urges to do otherwise
in the original commit. sysinstall is in desperate need of some major
rototilling (or being thrown out...).
Approved by: re (rwatson)
Revision Changes Path
1.242.2.1 +6 -1 src/usr.sbin/sysinstall/config.c
1.47.2.1 +8 -4 src/usr.sbin/sysinstall/dmenu.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711011307.lA1D7SNF054474>
