bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] incorrect nesting in rmt.c


From: Yutaka Furubayashi
Subject: [Bug-tar] incorrect nesting in rmt.c
Date: Tue, 12 Dec 2006 08:05:55 +0900

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

--------
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]