Dear Sir,
Thank you for investigating the TAR program.
I found a potentially incorrect nesting in rmt/rmt.c, in tar-1.16.
It is not fixed even in tar-1.16.1.
If the macro MTIOCGET is not defined, the nesting relationship
of brackets ( { and } ) would be broken.
The following is the suggestible patch:
diff -ur tar-1.16.1.orig/rmt/rmt.c tar-1.16.1/rmt/rmt.c
--- tar-1.16.1.orig/rmt/rmt.c 2006-12-12 07:51:50.000000000 +0900
+++ tar-1.16.1/rmt/rmt.c 2006-12-12 07:52:40.000000000 +0900
@@ -585,8 +585,8 @@
respond (sizeof operation);
full_write (STDOUT_FILENO, (char *) &operation, sizeof operation);
}
-#endif
}
+#endif
}
int
Thank you for your consideration.
Best wishes,
Yutaka Furubayashi
--------
[EMAIL PROTECTED]