svn commit: r245998 - head/usr.bin/sort
Gabor Kovesdan
gabor at FreeBSD.org
Sun Jan 27 19:50:25 UTC 2013
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 at gmx.de>
Reviewed by: Oleg Moskalenko <oleg.moskalenko at 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))
More information about the svn-src-head
mailing list