Description: Fix support for compressed old-style .six files
 This fix a regression in GAP 4.7.4 whereby compressed old-style .six
 files where ignored silently

Author: Bill Allombert <ballombe@debian.org>
Last-Update: 2014-02-28
Index: pari-2.7.0/config/get_cc
Index: gap-4r8p6/lib/helpbase.gi
===================================================================
--- gap-4r8p6.orig/lib/helpbase.gi
+++ gap-4r8p6/lib/helpbase.gi
@@ -660,7 +660,8 @@ InstallGlobalFunction(HELP_BOOK_INFO, fu
     NormalizeWhitespace(handler);
   else
     handler := "default";
-    RewindStream(stream);
+    CloseStream(stream);
+    stream := InputTextFile(six);
   fi;
   # give up if handler functions are not (yet) loaded
   if not IsBound(HELP_BOOK_HANDLER.(handler)) then
