1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.sbin/bsdinstall
Devin Teske bd1df63614 Optimize program flow for execution speed. Also fix some more style(9) nits
while here:
+ Fix an issue when extracting small archives where dialog_mixedgauge was
  not rendering; leaving the user wondering if anything happened.
+ Add #ifdef's to assuage compilation against older libarchive
  NB: Minimize diff between branches; make merging easier.
+ Add missing calls to end_dialog(3)
+ Change string processing from strtok(3) to strcspn(3) (O(1) optimization)
+ Use EXIT_SUCCESS and EXIT_FAILURE instead of 0/1
+ Optimize getenv(3) use, using stored results instead of calling repeatedly
  NB: Fixes copy/paste error wherein we display getenv(BSDINSTALL_DISTDIR) in
      an error msgbox when chdir(2) to getenv(BSDINSTALL_CHROOT) fails
      (wrong variable displayed in msgbox).
+ Use strtol(3) instead of [deprecated] atoi(3)
+ Add additional error checking (e.g., check return of archive_read_new(3))
+ Assign DECONST strings to static variables
+ Fix typo in distextract.c error message (s/Could could/Could not/)
+ Add comments and make a minor whitespace adjustment

Reviewed by:	nwhitehorn, julian
2014-10-01 18:59:57 +00:00
..
distextract Optimize program flow for execution speed. Also fix some more style(9) nits 2014-10-01 18:59:57 +00:00
distfetch Optimize program flow for execution speed. Also fix some more style(9) nits 2014-10-01 18:59:57 +00:00
partedit Add ZFS support to the bsdinstall partition editor and sade. 2014-09-13 18:24:54 +00:00
scripts Change the /var dataset in the default ZFS layout to have the 2014-09-28 21:44:23 +00:00
bsdinstall Forgot to utilize feature added in SVN r257782 to prevent truncating 2013-12-09 03:38:18 +00:00
bsdinstall.8 More man pages that need to know about vt in addition to syscons. 2014-08-26 10:55:08 +00:00
Makefile Long-overdue man page for bsdinstall. 2011-06-11 21:44:07 +00:00