dteske b1da57a21d 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
..
2013-03-17 06:54:04 +00:00
2013-07-10 07:40:30 +00:00
2014-07-29 19:49:27 +00:00
2014-07-07 00:27:09 +00:00
2014-07-17 06:57:26 +00:00
2012-10-07 19:53:04 +00:00
2014-07-29 19:49:27 +00:00
2014-09-28 11:32:46 +00:00
2014-09-13 18:40:12 +00:00
2014-07-07 00:27:09 +00:00
2014-09-19 23:38:44 +00:00
2013-04-11 18:46:41 +00:00
2012-05-17 11:50:12 +00:00
2014-07-18 06:48:02 +00:00
2014-08-06 22:17:26 +00:00
2014-07-29 19:49:27 +00:00
2013-09-07 20:25:22 +00:00
2014-09-01 16:12:29 +00:00
2014-09-08 09:16:07 +00:00