Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/sort full -T support



details:   https://anonhg.NetBSD.org/src/rev/2dc93deb01e1
branches:  trunk
changeset: 503984:2dc93deb01e1
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Feb 19 15:53:07 2001 +0000

description:
full -T support

diffstat:

 usr.bin/sort/sort.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 51eb6a5feb0a -r 2dc93deb01e1 usr.bin/sort/sort.c
--- a/usr.bin/sort/sort.c       Mon Feb 19 15:48:59 2001 +0000
+++ b/usr.bin/sort/sort.c       Mon Feb 19 15:53:07 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sort.c,v 1.22 2001/02/19 15:45:45 jdolecek Exp $       */
+/*     $NetBSD: sort.c,v 1.23 2001/02/19 15:53:07 jdolecek Exp $       */
 
 /*-
  * Copyright (c) 1993
@@ -51,7 +51,7 @@
 #endif /* not lint */
 
 #ifndef lint
-__RCSID("$NetBSD: sort.c,v 1.22 2001/02/19 15:45:45 jdolecek Exp $");
+__RCSID("$NetBSD: sort.c,v 1.23 2001/02/19 15:53:07 jdolecek Exp $");
 __SCCSID("@(#)sort.c   8.1 (Berkeley) 6/6/93");
 #endif /* not lint */
 
@@ -172,7 +172,8 @@
                        d_mask[REC_D] = REC_D_F;
                        break;
                case 'T':
-                       /* -T tmpdir, noop (not supported) */
+                       /* -T tmpdir */
+                       tmpdir = optarg;
                        break;
                case 'u':
                        UNIQUE = 1;



Home | Main Index | Thread Index | Old Index