ref: cf4ab9cac6996d9ad65ab0a6987ba328a9c93a76
parent: 4138b6d9bacdea8445147de98f32e2df6b49778b
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Feb 16 09:40:57 EST 2018
[ar] Dummy implementation of -m verbose In this implementation the verbose printing is done when the file is found in the archive. This implementation is pretty simple, but it can create problems if there is some error, because the file wasn't actually moved yet.
--- a/ar/main.c
+++ b/ar/main.c
@@ -221,6 +221,8 @@
copy(&op->hdr, op->size, op->src, op->dst);
return;
} else {
+ if (vflag)
+ printf("m - %s\n", op->fname);
copy(&op->hdr, op->size, op->src, op->tmp);
rmlist(l);
}