Date: Sat, 14 Dec 1996 11:53:57 -0800 (PST) From: Joerg Wunsch <joerg> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/config config.y mkheaders.c mkmakefile.c mkoptions.c mkswapconf.c Message-ID: <199612141953.LAA04213@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 96/12/14 11:53:56
Modified: usr.sbin/config config.y mkheaders.c mkmakefile.c
mkoptions.c mkswapconf.c
Log:
Part #2 of the config cleanup. More aggressive, replaced an NIH
version of strdup() by a macro, killed many calls to strdup(), thus
potentially wasting less malloc'ed space (their args were never be
free()ed desptie despite of being malloc'ed). Probably still a huge
memory leak at all... Also killed two totally useless variables.
I've tested it as i could, but wouldn't be surprised if unexpected
problems showed up. So watch out this space!
Revision Changes Path
1.15 +14 -34 src/usr.sbin/config/config.y
1.5 +4 -1 src/usr.sbin/config/mkheaders.c
1.21 +3 -0 src/usr.sbin/config/mkmakefile.c
1.5 +7 -3 src/usr.sbin/config/mkoptions.c
1.12 +3 -0 src/usr.sbin/config/mkswapconf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612141953.LAA04213>
