From 369310502bfca4b202d72be9452c8cdb55bb6d5e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 3 Jun 2003 01:35:20 +0000 Subject: [PATCH] 2003-06-02 Roland McGrath * strace.c (main): Set -q when given -o and not -p, and not when not given -o, to match what the man page always said. Fixes Debian bug #47113, #153678. --- strace.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/strace.c b/strace.c index 41194b7f..368eb860 100644 --- a/strace.c +++ b/strace.c @@ -368,13 +368,12 @@ char *argv[]; #endif if (!outfname) { - qflag = 1; setvbuf(outf, buf, _IOLBF, BUFSIZ); } - else if (optind < argc) + else if (optind < argc) { interactive = 0; - else qflag = 1; + } for (c = 0; c < tcbtabsize; c++) { tcp = tcbtab[c]; -- 2.40.0