File set-file-mode.diff of Package sharutils

--- src/shar.c
+++ src/shar.c
@@ -1687,7 +1687,7 @@ static void
 set_file_mode (mode)
      int mode;
 {
-  if (mode == 'B' && uuencoded_file_mode)
+  if (mode == 'B' && uuencoded_file_mode > 0)
     /* Selecting uuencode mode should not contradict compression.  */
     return;