summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2013-01-27 19:50:24 +0000
committergabor <gabor@FreeBSD.org>2013-01-27 19:50:24 +0000
commitae62cf640b91dc6bb5a28f8ca721de2bbd69366b (patch)
tree8233fc98dbf6114bd1ca09a8412725c1e811ac7d
parent2134c401b2aee1d21f2fcb5dffeb399ad2d42028 (diff)
downloadFreeBSD-src-ae62cf640b91dc6bb5a28f8ca721de2bbd69366b.zip
FreeBSD-src-ae62cf640b91dc6bb5a28f8ca721de2bbd69366b.tar.gz
- Remove forgotten commented out debug code
Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
-rw-r--r--usr.bin/sort/sort.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/usr.bin/sort/sort.c b/usr.bin/sort/sort.c
index 4b7306b..7e0ab69 100644
--- a/usr.bin/sort/sort.c
+++ b/usr.bin/sort/sort.c
@@ -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))
OpenPOWER on IntegriCloud