Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2013 15:23:54 GMT
From:      dpl@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r254568 - soc2013/dpl/head/contrib/xz/src/xz
Message-ID:  <201307101523.r6AFNscj004163@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dpl
Date: Wed Jul 10 15:23:54 2013
New Revision: 254568
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=254568

Log:
  A silly error got corrected.
  

Modified:
  soc2013/dpl/head/contrib/xz/src/xz/main.c

Modified: soc2013/dpl/head/contrib/xz/src/xz/main.c
==============================================================================
--- soc2013/dpl/head/contrib/xz/src/xz/main.c	Wed Jul 10 15:22:43 2013	(r254567)
+++ soc2013/dpl/head/contrib/xz/src/xz/main.c	Wed Jul 10 15:23:54 2013	(r254568)
@@ -210,10 +210,6 @@
 	void (*run)(const char *filename) = opt_mode == MODE_LIST
 			 ? &list_file : &coder_run;
 
-#if defined(CAPSICUM) //
-	cap_init();
-#endif
-
 	// Process the files given on the command line. Note that if no names
 	// were given, args_parse() gave us a fake "-" filename.
 	for (size_t i = 0; i < args.arg_count && !user_abort; ++i) {
@@ -246,11 +242,11 @@
 			// handling the special case of stdin.
 			args.arg_names[i] = (char *)stdin_filename;
 		}
-
-		// Do the actual compression or decompression.
-		(args.arg_names[i]);
 	}
 
+	// Do the actual compression or decompression.
+	run(args.arg_names);
+
 	// If --files or --files0 was used, process the filenames from the
 	// given file or stdin. Note that here we don't consider "-" to
 	// indicate stdin like we do with the command line arguments.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307101523.r6AFNscj004163>