aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ChangeLog5
-rw-r--r--tools/gpgsplit.c7
2 files changed, 12 insertions, 0 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index 6b07fea17..fe06d829d 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-31 Stefan Bellon <[email protected]>
+
+ * gpgsplit.c (write_part) [__riscos__]: Use riscos_load_module()
+ to load ZLib module.
+
2002-10-23 Werner Koch <[email protected]>
* gpgsplit.c: New options --secret-to-public and --no-split.
diff --git a/tools/gpgsplit.c b/tools/gpgsplit.c
index 0fec860f7..4e61b3efd 100644
--- a/tools/gpgsplit.c
+++ b/tools/gpgsplit.c
@@ -35,6 +35,7 @@
#endif
#include <zlib.h>
#ifdef __riscos__
+# include "zlib-riscos.h"
# include <unixlib/local.h>
#endif /* __riscos__ */
@@ -376,6 +377,12 @@ write_part ( const char *fname, FILE *fpin, unsigned long pktlen,
unsigned char *p;
const char *outname = create_filename (pkttype);
+#ifdef __riscos__
+ static int initialized = 0;
+
+ if (!initialized)
+ initialized = riscos_load_module("ZLib", zlib_path, 1);
+#endif
if (opt_no_split)
fpout = stdout;
else