File sharutils-set_file_mode.diff of Package sharutils
Index: src/shar.c
===================================================================
--- src/shar.c.orig 2011-01-15 02:38:38.000000000 +0100
+++ src/shar.c 2011-07-26 11:50:09.533843512 +0200
@@ -1844,7 +1844,7 @@ shar (const char * lname, const char * r
static void
set_file_mode (int mode)
{
- if (mode == 'B' && uuencoded_file_mode)
+ if (mode == 'B' && uuencoded_file_mode > 0)
/* Selecting uuencode mode should not contradict compression. */
return;