Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 19:50:25 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245998 - head/usr.bin/sort
Message-ID:  <201301271950.r0RJoPcp062835@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gabor
Date: Sun Jan 27 19:50:24 2013
New Revision: 245998
URL: http://svnweb.freebsd.org/changeset/base/245998

Log:
  - Remove forgotten commented out debug code
  
  Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
  Reviewed by:	Oleg Moskalenko <oleg.moskalenko@citrix.com>

Modified:
  head/usr.bin/sort/sort.c

Modified: head/usr.bin/sort/sort.c
==============================================================================
--- head/usr.bin/sort/sort.c	Sun Jan 27 19:49:10 2013	(r245997)
+++ head/usr.bin/sort/sort.c	Sun Jan 27 19:50:24 2013	(r245998)
@@ -986,21 +986,6 @@ main(int argc, char **argv)
 	set_tmpdir();
 	set_sort_opts();
 
-#if 0
-	{
-		static int counter = 0;
-		char fn[128];
-		sprintf(fn, "/var/tmp/debug.sort.%d", counter++);
-		FILE* f = fopen(fn, "w");
-		fprintf(f, ">>sort>>");
-		for (int i = 0; i < argc; i++) {
-			fprintf(f, "<%s>", argv[i]);
-		}
-		fprintf(f, "<<sort<<\n");
-		fclose(f);
-	}
-#endif
-
 	fix_obsolete_keys(&argc, argv);
 
 	while (((c = getopt_long(argc, argv, OPTIONS, long_options, NULL))



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