commit c5e28b5fe9a0767995498b3cac24f9ac3c3bbb74
parent b19d708923b28cfc84a963b6eb59427b3c09907c
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 1 Jan 2016 11:17:03 +0100
ed: Don't show size of files in no diagnosistic mode
-s flag disables such warnings.
Diffstat:
| M | ed.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --dropbox a/ed.c b/ed.c
@@ -623,7 +623,8 @@ doread(char *fname)
}
inject(s);
}
- printf("%zu\n", cnt);
+ if (optdiag)
+ printf("%zu\n", cnt);
aux = fp;
fp = NULL;